deh
February 21st, 2011, 02:18 AM
Two days ago I repartitioned my laptop HD and added the latest Ubuntu (2.6.35-25-generic) to the existing Vista and existing Ubuntu (2.6.32-28-generic via upgrades from 9.14(?)). Prior to this install it was using Grub with menu.lst from the old/upgrade Ubuntu. After the install the boot menu labels the partition with Vista as the Windows Recovery partition and the recovery partition item is no longer present.
At first I wondered how I could get Vista to boot. I found that SuperGrub cd would boot it OK. Then, it dawned on me that the boot menu item was not the recovery partition, but instead the Vista OS partition mislabelled . Vista loads just fine from it. The recovery partition is no longer listed as it was with Grub/menu.lst. SuperGrub will not boot the recovery partition, showing an error "missing BOOTMGR".
'os-prober' produces--
root@Toshiba:/home/deh# os-prober
/dev/sda2:Windows Recovery Environment (loader):Windows:chain
/dev/sda7:Ubuntu 10.04.2 LTS (10.04):Ubuntu:linux
This is how the partitions are used--
sda1 - Windows recovery
sda2 - Vista
sda5 - NTFS Linux/Windows sharing
sda7 - Ubuntu 9.14->10.10
sda9 - Ubuntu 10.10 clean
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf62af509
Device Boot Start End Blocks Id System
/dev/sda1 1 192 1536000 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 192 11947 94420928 7 HPFS/NTFS
/dev/sda3 11948 30401 148231693 5 Extended
/dev/sda5 19823 22251 19502891+ 7 HPFS/NTFS
/dev/sda6 29966 30401 3502138+ 82 Linux swap / Solaris
/dev/sda7 11948 19495 60629247 83 Linux
/dev/sda8 19496 19822 2626596 82 Linux swap / Solaris
/dev/sda9 22251 29645 59396096 83 Linux
/dev/sda10 29645 29965 2572288 82 Linux swap / Solaris
I edited boot/grub/grub.cfg so the boot menu item is labelled correctly, but suspect that it will revert back when there is an upgrade. Hopefully, I will never have to use the Windows recovery, but it would be nice to know that it would work if needed.
At first I wondered how I could get Vista to boot. I found that SuperGrub cd would boot it OK. Then, it dawned on me that the boot menu item was not the recovery partition, but instead the Vista OS partition mislabelled . Vista loads just fine from it. The recovery partition is no longer listed as it was with Grub/menu.lst. SuperGrub will not boot the recovery partition, showing an error "missing BOOTMGR".
'os-prober' produces--
root@Toshiba:/home/deh# os-prober
/dev/sda2:Windows Recovery Environment (loader):Windows:chain
/dev/sda7:Ubuntu 10.04.2 LTS (10.04):Ubuntu:linux
This is how the partitions are used--
sda1 - Windows recovery
sda2 - Vista
sda5 - NTFS Linux/Windows sharing
sda7 - Ubuntu 9.14->10.10
sda9 - Ubuntu 10.10 clean
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf62af509
Device Boot Start End Blocks Id System
/dev/sda1 1 192 1536000 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 192 11947 94420928 7 HPFS/NTFS
/dev/sda3 11948 30401 148231693 5 Extended
/dev/sda5 19823 22251 19502891+ 7 HPFS/NTFS
/dev/sda6 29966 30401 3502138+ 82 Linux swap / Solaris
/dev/sda7 11948 19495 60629247 83 Linux
/dev/sda8 19496 19822 2626596 82 Linux swap / Solaris
/dev/sda9 22251 29645 59396096 83 Linux
/dev/sda10 29645 29965 2572288 82 Linux swap / Solaris
I edited boot/grub/grub.cfg so the boot menu item is labelled correctly, but suspect that it will revert back when there is an upgrade. Hopefully, I will never have to use the Windows recovery, but it would be nice to know that it would work if needed.