grub fails to launch windows, UUID not found, workaround bricks system

Bug #896391 reported by keepitsimpleengr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

New, clean install of x86 11.10 Desktop from CD with network upgrade.

After install, grub will not launch Windows, although Windows launches with BIOS boot disk selection.

Verified UUID correct...
root@...:~# blkid
/dev/sda1: TYPE="swap"
/dev/sda2: LABEL="SATA2_01__D" UUID="23181E9787F9E1A6" TYPE="ntfs"
/dev/sda3: LABEL="DRIVE_W" UUID="D71A-96E7" TYPE="vfat"
/dev/sdc1: LABEL="SATA_01_Csys_10k" UUID="6258C1DF8F242D86" TYPE="ntfs"
/dev/sdd1: LABEL="SATA_01_D_10k" UUID="6947F57DE005AA85" TYPE="ntfs"
/dev/sdd5: LABEL="SATA2_01_E" UUID="4BC2AEB11E651F37" TYPE="ntfs"
/dev/sdd6: LABEL="SATA2_01_D_BU_101222" UUID="2D2D0850B3A6BE7B" TYPE="ntfs"
/dev/sdb1: LABEL="SATA2_02_L" UUID="EF0625F841CA9127" TYPE="ntfs"
/dev/sde3: UUID="c713bb8e-f6d3-4269-935e-c9c86804f0a8" TYPE="ext4"
/dev/sde5: LABEL="IDE_01_G" UUID="1989E973D755FDC1" TYPE="ntfs"
/dev/sde6: UUID="15efbdad-ec18-43a9-bd80-6053c13624a7" TYPE="swap"
/dev/sde7: UUID="5c7f6d42-ad53-4a4a-befc-48e2d1594c31" TYPE="ext4"
/dev/sde8: UUID="bfc3f076-462c-4c16-8bd2-509b51ba0e01" TYPE="swap"
/dev/sdf1: LABEL="IDE_02_H" UUID="34709ADA709AA262" TYPE="ntfs"

from /boot/grub/grub.cfg
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sdc1)" --class windows --$
        savedefault
        insmod part_msdos
        insmod ntfs
        set root='(hd2,msdos1)'
        search --no-floppy --fs-uuid --set=root 6258C1DF8F242D86
        drivemap -s (hd0) ${root}
        chainloader +1
}
### END /etc/grub.d/30_os-prober ###

tried the workaround @ http://sourceforge.net/apps/mediawiki/bootinfoscript/index.php?title=Boot_Problems:search

Commenting out three lines in /usr/lib/grub/grub-mkconfig_lib (Step 4)

This bricked grub2, booting 11.10 gets "error: no such partition"
and booting Windows gets: "error: invalid signature"

Undoing the changes (using chroot and the LiveCD) and rerunnin update-grub restored the original grub boot process.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: grub-pc 1.99-12ubuntu5
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
Uname: Linux 3.0.0-13-generic i686
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Fri Nov 25 11:48:42 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
keepitsimpleengr (keepitsimpleengineer) wrote :
Revision history for this message
keepitsimpleengr (keepitsimpleengineer) wrote :

Changes in grub.cfg after workaround edit on /usr/lib/grub/grub-mkconfig_lib and running update-grub

Revision history for this message
keepitsimpleengr (keepitsimpleengineer) wrote :
Revision history for this message
keepitsimpleengr (keepitsimpleengineer) wrote :
Revision history for this message
keepitsimpleengr (keepitsimpleengineer) wrote :

This bug can be closed.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in grub2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub2 (Ubuntu) because there has been no activity for 60 days.]

Changed in grub2 (Ubuntu):
status: Incomplete → Expired
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.