[Bug 475157] Re: grub2 / os-prober doesn't see my Windows partition

Rolf Leggewie 475157 at bugs.launchpad.net
Thu Sep 29 10:38:20 UTC 2011


Thank you for reporting back.  Closing as unreproducible.

** Changed in: grub2 (Ubuntu)
       Status: Incomplete => Invalid

-- 
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/475157

Title:
  grub2 / os-prober doesn't see my Windows partition

Status in “grub2” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: grub2

  
  After installing Kubuntu 9.10, I noticed 2 problems with grub2 / os-prober:

  1) it apparently doesn't detect my Windows partition, and doesn't allow me to boot from it. I had to add it manually in the 40_custom section.
  2) during boot, right after 'Loading GRUB' gets displayed, the message 'Error: no such disk' is briefly displayed.

  parted -l (running this command takes forever BTW):

  Model: ATA WDC WD5001ABYS-0 (scsi)
  Disk /dev/sda: 500GB
  Sector size (logical/physical): 512B/512B
  Partition Table: msdos

  Number  Start   End    Size    Type      File system  Flags
   1      32.3kB  210GB  210GB   primary   ntfs         boot
   2      210GB   419GB  210GB   primary   ntfs
   3      419GB   500GB  80.7GB  extended
   5      419GB   500GB  80.7GB  logical                lvm

  
  Model: Linux device-mapper (crypt) (dm)
  Disk /dev/mapper/cryptswap1: 5679MB
  Sector size (logical/physical): 512B/512B
  Partition Table: loop

  Number  Start  End     Size    File system     Flags
   1      0.00B  5679MB  5679MB  linux-swap(v1)

  
  Error: /dev/mapper/VG0-SWAP: unrecognised disk label

  Model: Linux device-mapper (linear) (dm)
  Disk /dev/mapper/VG0-Data: 75.0GB
  Sector size (logical/physical): 512B/512B
  Partition Table: loop

  Number  Start  End     Size    File system  Flags
   1      0.00B  75.0GB  75.0GB  ext4

  
  grub.cfg:

  #                                       
  # DO NOT EDIT THIS FILE                 
  #                                       
  # It is automatically generated by /usr/sbin/grub-mkconfig using templates
  # from /etc/grub.d and settings from /etc/default/grub                    
  #                                                                         

  ### BEGIN /etc/grub.d/00_header ###
  if [ -s /boot/grub/grubenv ]; then 
    have_grubenv=true                
    load_env                         
  fi                                 
  set default="4"                    
  if [ ${prev_saved_entry} ]; then   
    saved_entry=${prev_saved_entry}  
    save_env saved_entry             
    prev_saved_entry=                
    save_env prev_saved_entry        
  fi
  insmod lvm
  insmod ext2
  set root=(VG0-Data)
  search --no-floppy --fs-uuid --set 46395fea-76bf-482d-a146-be189608d5b6
  if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=640x480
    insmod gfxterm
    insmod vbe
    if terminal_output gfxterm ; then true ; else
      # For backward compatibility with versions of terminal.mod that don't
      # understand terminal_output
      terminal gfxterm
    fi
  fi
  if [ ${recordfail} = 1 ]; then
    set timeout=-1
  else
    set timeout=5
  fi
  ### END /etc/grub.d/00_header ###

  ### BEGIN /etc/grub.d/05_debian_theme ###
  set menu_color_normal=white/black
  set menu_color_highlight=black/white
  ### END /etc/grub.d/05_debian_theme ###

  ### BEGIN /etc/grub.d/10_linux ###
  menuentry "Ubuntu, Linux 2.6.31-14-generic" {
          recordfail=1
          if [ -n ${have_grubenv} ]; then save_env recordfail; fi
          set quiet=1
          insmod lvm
          insmod ext2
          set root=(VG0-Data)
          search --no-floppy --fs-uuid --set 46395fea-76bf-482d-a146-be189608d5b6
          linux   /boot/vmlinuz-2.6.31-14-generic root=/dev/mapper/VG0-Data ro   quiet splash
          initrd  /boot/initrd.img-2.6.31-14-generic
  }
  menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
          recordfail=1
          if [ -n ${have_grubenv} ]; then save_env recordfail; fi
          insmod lvm
          insmod ext2
          set root=(VG0-Data)
          search --no-floppy --fs-uuid --set 46395fea-76bf-482d-a146-be189608d5b6
          linux   /boot/vmlinuz-2.6.31-14-generic root=/dev/mapper/VG0-Data ro single
          initrd  /boot/initrd.img-2.6.31-14-generic
  }
  ### END /etc/grub.d/10_linux ###

  ### BEGIN /etc/grub.d/20_memtest86+ ###
  menuentry "Memory test (memtest86+)" {
          linux16 /boot/memtest86+.bin
  }
  menuentry "Memory test (memtest86+, serial console 115200)" {
          linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  }
  ### END /etc/grub.d/20_memtest86+ ###

  ### BEGIN /etc/grub.d/40_custom ###
  # This file provides an easy way to add custom menu entries.  Simply type the
  # menu entries you want to add after this comment.  Be careful not to change
  # the 'exec tail' line above.
  menuentry "Microsoft Windows XP" {
          set root=(hd0,1)
          chainloader +1
  }
  ### END /etc/grub.d/40_custom ###

  Please let me know if I can assist in solving this.

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




More information about the foundations-bugs mailing list