Comment 21 for bug 730225

Revision history for this message
aimwin (aim-mail) wrote :

Disaster,

It actually destroy Grub,
reboot went into grub rescue command,
 grub>

I fresh install Ubuntu 11.04 to sda4.
Successful installation and boot with all grub options correctly listed.

The root partition is in sda4,
I test the same command,
---------------------------------------------------
tbuntu@tbuntu:~$ sudo mount /dev/sda4 /mnt
[sudo] password for tbuntu:
tbuntu@tbuntu:~$ sudo grub-install --boot-directory=/mnt/boot /dev/sda
/usr/sbin/grub-setup: warn: Sector 50 is already in use by FlexNet; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
Installation finished. No error reported.
tbuntu@tbuntu:~$ grub-install -v
grub-install (GRUB) 1.99~rc1-13ubuntu3
---------------------------------------------------
grub is destroyed,
and it will go to grub rescue again
==============================

How ever I used exact same command form live usb hardisk,
It produce the same error

tbuntu@tbuntu:~$ sudo mount /dev/sda4 /mnt
[sudo] password for tbuntu:
tbuntu@tbuntu:~$ sudo grub-install --boot-directory=/mnt/boot /dev/sda
/usr/sbin/grub-setup: warn: Sector 50 is already in use by FlexNet; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
Installation finished. No error reported.
------------------------------------

But this time successful grub re installation.

It may be because I am in the root partition and I should not
mount /dev/sda4 or sda11 when using as root in that partition.

How ever grub should not produce the same reports for the unsuccessful installation.

Thank you.