[feisty] wrong menu.lst makes booting imposible

Bug #78901 reported by Henrique Ferreiro
12
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
Fix Released
Undecided
Colin Watson

Bug Description

I have just upgraded to feisty using update-manager. As of linux-image-2.6.20-4, all ide disks were renamed from hda* to sda* but the automatically generated menu.lst part continues to use root=/dev/hda2, so I cannot boot without changing it manually at system start up.

Related branches

Revision history for this message
Roberto Sarrionandia (rbs-tito) wrote :

Is this with the custom partition manager or did you go with defaults?

Revision history for this message
Henrique Ferreiro (henrique-ferreiro) wrote :

I used update-manager. I had edgy installed first.

Revision history for this message
Henrique Ferreiro (henrique-ferreiro) wrote :

I investingated a bit and it seems that update-manager takes the kernel parameters from fstab (where I have the correct UUIDs) unless kopt options are present in grub configuration's file. And my menu.lst had these two lines:

# kopt=root=UUID=...
# kopt_2_6=root=/dev/hda2

So the last line was used as the kernel root parameter.
I deleted that line and update-grub worked as expected using UUID.

Anyway something must be done to prevent this.

Revision history for this message
Colin Watson (cjwatson) wrote :

grub (0.97-20ubuntu2) feisty; urgency=low

  * Fix broken comma-separation for memtest86 boot items.
  * Migrate existing kopt_2_6 options to UUID (LP: #78901).

 -- Colin Watson <email address hidden> Sun, 14 Jan 2007 01:29:08 +0000

Changed in grub:
assignee: nobody → kamion
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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