Public bug reported:

Binary package hint: grub

I needed to move /boot from /dev/sda2 to my / partition on /dev/sda5 before the 
update manager would allow me to 
upgrade from Feisty to Gutsy.

 * I copied /dev/sda2:/boot to /dev/sda5:/boot
 * I unmounted /dev/sda2
 * In /boot/grub/menu.lst I replaced '(hd0,1)' with '(hd0,4)' throughout.
 * I ran grub as root and entered

  > root (hd0,4)
  > setup (hd0)

But when I rebooted the BIOS did not start the grub loader correctly.  All that 
appeared on the screen was a small smiley 
face in the bottom right corner.

I managed to recover the PC by doing the following

 * insert Knoppix live CD (version 3.4 - burnt 2004-05-17)
 * In Knoppix I ran grub
 * I entered exactly the same two commands as above
 * rebooted

This time the BIOS successfully started the grub bootloader and grub 
successfully booted the kernel from the new
partition.  I repeated this twice.  Each time, running the commands from 
Ubuntu's grub trashed the bootloader, and 
running the commands from the Live CD's grub recovered the bootloader.  This 
lead me to suspect that the
problem was either with Ubuntu's version of grub, or with the fact that the 
partition specified (as root) was being 
used differently when Ubuntu was running.

Regards,
Alex

** Affects: grub (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Ubuntu grub's "setup" command trashed bootloader.  Same command on live CD's 
grub recovered bootloader
https://bugs.launchpad.net/bugs/163834
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to