Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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'm maybe in the wrong forum, sorry for that.
I'm trying to build a really small linux, an embedded linux. I'm using an usb-stick to boot from.
The bootsequence goes well until init tries to mount /dev/sda1 on /. Then it tells me that there's no such device.
from the boot-sequence:
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly
mount: Mounting /dev/sda1 on / failed: No such device.
But there's is a device file in /dev for sda and sda1
If your system is on an usb-device, I think, you'll need to load some usb modules in an initrd before booting.
I found that:
Execute:
mkinitrd --with-usb --preload=ehci-hcd --preload=usb-storage --preload=scsi_mod --preload=sd_mod ./usbinitrd-`uname -r` `uname -r`
Remeber to edit your lilo.conf or grub.conf to use the newly created initrd.
No I don't think so, since kernel 2.6.11 or something you can make it wait for finding your usbhardware with the rootdelay=# (# seconds). I rebuild my devices files and it fixed my problem. Thanks anyway!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.