Hello,
My situation is as follows: the computer has two hard drives, hdb and
sda. It's running off hdb right now, but ultimately the goal is to use
only sda.
On hdb9 there is a working breezy install, with a custom-compiled kernel
which was needed in order to talk to sda. sda5 contains an ext3
filesystem containing everything from hdb9, copied using
Code:
find . -xdev
-print | cpio -padm /mnt
I try to boot from sda5 with GRUB using:
Code:
root (hd0,4)
kernel /boot/vmlinuz-2.6.14-rc4 root=/dev/sda5 ro quiet splash
initrd /boot/initrd.img-2.6.14-rc4
boot
This works up until the point where init tries to start, whereupon it
gives the error:
Code:
pivot_root: no such file or directory
/sbin/init: 428: cannot open /dev/console
pivot_root is apparently like a souped-up chroot, used in the ubuntu
boot process for remounting the root filesystem.
My googling returned two possible causes:
* The /initrd directory that's used by pivot_root does not exist.
But it's right there staring at me on /dev/sda5
* The initrd image does not contain the correct modules to mount
this filesystem. My initrd contains sata_sis (sata driver for
this controller), libata, scsi_mod, sr_mod - that should be
everything I need, surely? Anyway, shouldn't the kernel have
panicked and said it couldn't mount the root filesystem in this
case?
I am stumped. Appreciations suggested.