bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #37098] os-prober won't find second partition where the uefi is.Wro


From: Dana Wellen
Subject: [bug #37098] os-prober won't find second partition where the uefi is.Wrong chainloader options
Date: Tue, 14 Aug 2012 23:01:52 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.75 Safari/537.1

URL:
  <http://savannah.gnu.org/bugs/?37098>

                 Summary: os-prober won't find second partition where the uefi
is.Wrong chainloader options
                 Project: GNU GRUB
            Submitted by: dwellen
            Submitted on: Tue 14 Aug 2012 11:01:51 PM GMT
                Category: Booting
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Dana Wellen
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: 1.98
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

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


Number  Start   End    Size   File system  Name                  Flags
 1      32.3kB  500GB  500GB  ntfs         Microsoft basic data
 2      500GB   500GB  209MB  fat32                              boot

The stanza created automatically by the 30_os-prober in /etc/grub.d creates
this which points to the first partition (ntfs) 
and appears to be a mbr boot config.


### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os
$menuentry_id_option 'osprober-chain-746C89606C891E4C' {
        insmod part_gpt
        insmod ntfs
        set root='hd0,gpt1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1
--hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  746C89606C891E4C
        else
          search --no-floppy --fs-uuid --set=root 746C89606C891E4C
        fi
        chainloader +1
}
### END /etc/grub.d/30_os-prober ###

The uuids are for the ntfs partition not the gpt partition and the
chainloader
command is should be:

chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi


grub2-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bootmgr.efi 
3185-A28F

grub2-probe --target=fs_uuid /windows/C/
746C89606C891E4C

As seen the uuid being used is the one for the ntfs but should be the uuid
for
the efi partition. And
what I think is casuing the problem is that it isn't on the first partition.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37098>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]