LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-30-2006, 08:11 AM   #1
pijon
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
Failed to mount root filesystem during boot


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

My fstab:
/dev/sda1 / ext3 defaults 1 1
 
Old 08-30-2006, 10:20 AM   #2
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
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.
 
Old 08-31-2006, 05:17 AM   #3
pijon
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Original Poster
Rep: Reputation: 0
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!
 
Old 08-31-2006, 10:35 AM   #4
vbisis
Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 250

Rep: Reputation: 34
Hey, that sounds great, I guess it is a lot ieasier then what I postet before.

Now I know, what I'm gonna try tonight
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Filesystem root ( / ) mounts read only at boot, can't re mount RW TheMusicGuy Debian 10 07-25-2006 07:14 PM
HELP..can't mount root filesystem WindowsDependant Linux - Software 11 02-20-2006 09:20 PM
Unable to mount my root filesystem !!! Manhatten101 Linux - Enterprise 2 09-06-2005 03:12 PM
Kernel Panic: won't mount root filesystem Neorio Linux - Software 4 02-05-2004 07:32 PM
root filesystem failed silentguy Linux - General 1 07-08-2003 12:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration