Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I am attempting to put ubuntu gutsy on my soekris net4521 on a new 4GB compact flash drive. Its not going so well. I have been working from the instructions here:
everything seems to go pretty well, I have to make a few tweaks here and there to account for fiesty to gutsy differences, but all in all seems OK.
The first perplexing issue is that after debootstrap is done there are no sda, or hda devices. I MAKEDEV sda, and continue anyway. Then grub install guesses /dev/hda, but I think that this is not correct for gutsy, it seems to use sda on all the machines that I have, even for ide devices.
I finish all of the steps, and pop the cf in the soekris and get a
"Grub hard disk error"
and that is it. no further information. I have noticed that cfdisk sees a different disk geometry than the soekris, I have tried both using cfdisk's defaults and setting the geometry to what the soekris thinks it is, to no avail.
Any clues as to what might be the problem?? What is the correct geometry to use for the partitions?? Should I be using sda or hda for gutsy??
firstly you need to know what you have....and what the bios can currrently see.
so the question of hda hdb or sda sdc etc is dependent on what you have go it?
So describe your current hw please including jumpers where ide
eg I have ide jumper master optical drive =hda
1 sata hard drive = sda
so if I insert any usb (cf media if I had one) its going to be sdb if no other usb stuff is in. Hint remove all usb printer camera and memory sticks to keep it simple.
After you connect your media...have a peek at /var/log/messages and see what your host thinks it is. Then translate the guide to whatever you like.
firstly you need to know what you have....and what the bios can currrently see.
so the question of hda hdb or sda sdc etc is dependent on what you have go it?
because I am installing for a soekris net4521, on my laptop, so I can't see what the target bios sees. On my laptop I can find the cf drive easy with dmesg. The install of ubuntu is fine(the fact that deboostrap doesn't install any hd* or sd* is unnerving). The main problem is that the boot fails when I transfer the card from the laptop to the soekris. I have those grub errors but I am not sure how to figure the problem because the error is not very informative.
Quote:
So describe your current hw please including jumpers where ide
Besides the net4521, which has very little in the way of jumpers, I have a 4G cf card. the soekris Bios thinks my cf has 971 c, 128 h, 63 s, while fdisk thinks it has 1018 c, 124 h, 62 s. Although I don't know if that is a problem or not. The other issue I am not sure of is weather the soekris needs to have Fat16/32 formatting. At this point I don't think it does, but I am not 100% sure.
yes well I have read it...the device that grub detects is critical to grub installing and grub jumping to its booting files.
since you have had no luck so far installing....would you consider using a partition tool to redo the table and reformat....live cds such as knoppix could be a goer.
2) so when you connect this box....is there nothing in your /var/log/messages or syslog as to a new device being connected?
3) in my signature there is some mention of usb and flash devices. But when I had a peek at your device on the net...it looks like it connects to a laptop thru a serial port or a com port.....is that not correct?
can you describe the number of pins on the laptop side if its not a serial or com port?
or how is it connecting?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.