Wrong changes in grub menu.lst after system update (dual boot configuration)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
I am using Ubuntu 7.10 with a dual boot setup which is corrupted after some system updates, latest on February 18, where I introduced the last 8 to 10 updates.
Presently I am using a “levorno T60” but I have used the same configuration on other computers with the same problem. As external boot and manual correction of menu.lst is needed after such update, the configuration is only useful for more advanced users.
The configuration use two separate HD
1. Original HD with Windows complete unchanged by the Ubuntu installation. Boot on this disk starts Windows normally.
2. Extra HD in device bay with Ubuntu. Boot on this disk starts grub for dual boot, Windows or Linux may be started.
The main benefit of the configuration is dual boot with a complete unchanged Windows disk.
The correct working menu.lst contain:
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,2)
kernel /boot/vmlinuz-
initrd /boot/initrd.
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-
initrd /boot/initrd.
title Ubuntu 7.10, memtest86+
root (hd0,2)
kernel /boot/memtest86
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
savedefault
chainloader +1
Is after the update changed to:
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd1,2)
kernel /boot/vmlinuz-
initrd /boot/initrd.
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd1,2)
kernel /boot/vmlinuz-
initrd /boot/initrd.
title Ubuntu 7.10, memtest86+
root (hd1,2)
kernel /boot/memtest86
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
savedefault
chainloader +1
The changed HD1 must manual be changed back to HD0 before boot of linux on the HD again is possible.
I hope this input may inspire some change to further improvement of the Ubuntu system. Anyhow thank you for a good and stable system.
Kind regards
Erik Rosenlund
Hi Erik
I have a similar problem with a triple-boot scenario. I'll mark it as a duplicate and hopefully we'll get better support for dual (and more) boot installation scenarios.
Mike