Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page could not find filesystem '/dev/root'
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 07-05-2008   #1 (permalink)
jhhadc
Just Joined!
 
Join Date: Jul 2008
Posts: 2
could not find filesystem '/dev/root'

Many have posted problems involving this boot message. I have tried and checked everything (steep learning curve here) with absolutely no success.
The relevant part of the boot output is:

Red Hat nash version 6.0.52 starting.
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
.. and so on and it halts.

Relevant lines in fstab:
/dev/sda5 / ext3 defaults 1 1
/dev/sda1 /boot ext3 defaults 1 2
/dev/sda6 swap swap defaults 0 0

Relevant lines in grub.conf:
title Fedora (2.6.25.6-55.fc9.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.25.6-55.fc9.x86_64 ro root=/dev/hda5 rhgb quiet 8250.nr_uarts=16
initrd /initrd-2.6.25.6-55.fc9.x86_64.img

The reason I am having this problem is I need an F9 that does NOT use LVM. Manually partitioned a drive, recreated the contents of root and /boot, and have done the following:
Edited fstab so it now uses /dev/sda1 (5,6,7) instead of LABEL or UUID or LV.
Made the same changes in grub.conf.
Issued the /sbin/grub --batch script to make it bootable
Hid /sbin/lvm but learned I apparently didn't need to do that.
Brought it up with the F9 rescue mode, did chroot and mkinitrd --omit-lvm-modules img v (actually I have 6 initrd's at this point trying different things)
Created /dev/sda1-8 with same major-minor numbers I found in the F9 systems.
The weird thing is, when I bring it up with F9 rescue it can find the partitions and mount them as /mnt/sysimage automatically and apparently even uses /dev/sda6 for swap!.
And when I make that drive a slave to the original F9 install, automount finds and mounts everything on /media/disk[-1,-2].
I tried unpacking the initrd and editing its init to be less quiet but I guess I repacked it wrong because the kernel panicked instantly.
Except for the LVM stuff we've been cranking out hard drives this way for years, so I THINK I got all the other basic stuff right.
I guess nash is doing something, and I know nothing about that stuff. Must be something critical here that I missed or did wrong or don't know yet (of which there is LOTS).
Can anyone out there offer a clue or suggest a good place to ask? I'd be hugely grateful. Thanks. Jim
jhhadc is offline   Reply With Quote
Old 07-06-2008   #2 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,101
Hi and Welcome !

Post the output of fdisk -l command here. Post complete output.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 07-06-2008   #3 (permalink)
msivadass
Just Joined!
 
Join Date: Jun 2008
Posts: 12
Hi


In Ur /etc/fstab entry for / partion /dev/sda5

But in ur Grub.conf root=/dev/hda5 is there.

R u Using two hdd in ur System?? Pls check it out..
msivadass is offline   Reply With Quote
Old 07-07-2008   #4 (permalink)
jhhadc
Just Joined!
 
Join Date: Jul 2008
Posts: 2
Thanks both. A weekend away from the KB seems to have solved it - too many versions of initrd and too much history, I had somehow managed to revert to calling it hda but was too fried to see it.
Now it pops right up. Embarrassing, and I apolotize for clogging the forum.
Thanks again
jhhadc is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 08:12 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0