| 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 |