Grub and ubuntu
tony.arnold at manchester.ac.uk
Sun Mar 16 12:10:01 UTC 2008
Karl Larsen wrote:
> I just discovered a bad situation. Go back a few weeks when I used
> dd to copy my ubuntu from /dev/hda2 to /dev/hda8 and I changed the root
> calls in menu.lst so grub will boot the copied version on /dev/hda8. It
> seemed to work.
> But noticed when I used df that it said it was using /dev/hda2. I
> wondered why df was wrong.
> I learned yesterday that the grub call below was booting /dev/hda2
> instead of /dev/hda8 as it is expected to.
> title Ubuntu 7.10, kernel 2.6.22-14-generic
> root (hd0,7)
> kernel /boot/vmlinuz-2.6.22-14-generic
> 0-6dc976daf9ca ro quiet splash
> initrd /boot/initrd.img-2.6.22-14-generic
> For some reason this was booting /dev/hda2 which is a mystery to me.
Did you fix up /etc/fstab to mount / from hda8 as well?
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold
More information about the ubuntu-users