Grub Installs To Wrong Root Path

Bug #243803 reported by nullack
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Intrepid by nullack

Bug Description

Binary package hint: grub-installer

Using Intrepid Alpha 1 alternate x64, the menu.lst is created with the value of:

root (hd1,2)

It required manual intervention on boot and them a fix using:

gksudo gedit /boot/grub/menu.lst

root (hd0,2)

A minor issue for an experienced user to resolve, but certainly a significant problem for new users. As well, it is a annoyance down the track as I have found that as kernel updates are applied, apt will prompt to overwrite my fixed menu.lst with its own and I have to change it all back again afterwards. Yes, this issue has existed for me in the past with Hardy.

Revision history for this message
nullack (nullack) wrote :
Revision history for this message
Magnes (magnesus2) wrote :

I have the same problem with Hardy and Gutsy after every kernel update since I changed the hard drive on which Ubuntu is installed from slave to master.

Revision history for this message
nullack (nullack) wrote :
Revision history for this message
nullack (nullack) wrote :

Sorry, I made an error in both archives. The first lzma is corrupted and the second tar I have attached is for a system where the install worked. Sorry for the confusion.

I no longer have a four HDD system so I am not able to produce logs showing the error. However, the bug certainly does occur. Unfortunately I do not have any hardware with which to replicate it and produce logs now.

Revision history for this message
sojourner (itsmealso2) wrote :

I installed intrepid A2 to a partition on one drive of my multi drive multi boot system . I used the alternate amd64 install cd . the installer was told NOT to install grub . I already had a working grub on HD0 and intended to add the necessary boot stanza to boot intrepid . the menu.list that the installer wrote into /boot/grub would have failed had I allowed grub to be installed by the installer , as written it pointed to root (hd0,0) with the correct uuid for the drive where intrepid actualy was (hd4,0) . I am attaching my installer logs .

Revision history for this message
Daniel Moerner (dmoerner) wrote :

This is confirmed. Grub NEVER works when using the boot.img.gz from the netboot directory with a flash drive--it always installs grub on the flash drive. To fix this requires:

1) edit groot in /boot/grub/menu.lst
2) reinstall grub on the right partition.
3) edit /etc/initramfs-tools/conf.d/resume to fix correct swap (otherwise usplash is broken).

Changed in grub-installer:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.