[Bug 896391] [NEW] grub fails to launch windows, UUID not found, workaround bricks system

keepitsimpleengr 896391 at bugs.launchpad.net
Fri Nov 25 20:00:03 UTC 2011


Public bug reported:

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 at ...:~# 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)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/896391

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

Status in “grub2” package in Ubuntu:
  New

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 at ...:~# 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/896391/+subscriptions




More information about the foundations-bugs mailing list