You are not logged in.
I'm trying to move my root partition from sda3 to sda4. I've copied all the files (cp -a to preserve permissions) from 3 to 4, modified grub so the kernel line is now:
kernel /vmlinuz26 root=/dev/sda4 ro
I've modified fstab so sda4 is mounted as /
But when I boot I get
kinit opening console no such file or directory
If I change the kernel line back to sda3 it boots fine and uses sda4 as the root partition. /dev contains all the files it is supposed to.
Just in case it helped I tried re-installing the kernel so mkinitcpio was ran and I reran the grub setup. Still nothing.
I'm sure this should be fairly simple, what could I have missed or done wrong?
Offline
dninja,
I supose you are modifying the /boot/grub/menu.lst on your sda4 partition, not the sda3 one.
There you will also need a root (hd0,3) line (grub counts from zero, its a pain).
Then you will have to tell grub that the root device is sda4.
# grub
grub> root (hd0,3)
grub> setup (hd0) # if you are putting the boot in the MBR
Mektub
Follow me on twitter: https://twitter.com/johnbina
Offline
I have /boot as a separate partition, sda1, so I did
grub> root (hd0,0)
grub> setup (hd0)
which did the setup successfully. I did initially try root hd0,3 but then it complains about not being able to find stage1.
Offline