bugGNU GRUB - Bugs: bug #43945, Can't Find Disk

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #43945: Can't Find Disk

Submitted by:  LiuHang <jobcrazy>
Submitted on:  Tue 06 Jan 2015 03:22:46 PM UTC  
 
Category: Disk & PartitionSeverity: Major
Priority: 5 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Git masterReproducibility: Every Time
Planned Release: None

Wed 07 Jan 2015 04:15:06 PM UTC, comment #2:

It's not a bug. Native drivers (pata etc) are incompatible with platform firmware drivers. Loafing them will disable platform firmware drivers. This is now enforced.

Andrei Borzenkov <arvidjaar>
Project Member
Wed 07 Jan 2015 04:03:06 AM UTC, comment #1:

insmod will be the same result,for example:

insmod ehci.

I've tested the grub-mkimage of official ubuntu(x84-64-efi),it has the same bug

LiuHang <jobcrazy>
Tue 06 Jan 2015 03:22:46 PM UTC, original submission:

I install Win7 in vmware,and the firmware is efi

I download the code of grub2 from git,compile and then mkimage like this:

/usr/local/grub2b2/bin/grub-mkimage -O x86_64-efi -o ORMLdr.efi -m memdisk newc normal font fat ntfs iso9660 loopback part_gpt cpio font memdisk search linux boot chain ata pata scsi gfxterm efi_gop efi_uga usb ehci ohci at_keyboard usb_keyboard

but it can't boot.(It works with the code of grub 2.00)

I type ls,there is only (memdisk) and nothing else.

I've try to insmod every module,but it dosen't work.

And then I found that if the module pata(or ehci/uhci/ohci) is buildin with grub-mkimage,this will happen.

At last, I exclude modules like this,and it works:

/usr/local/grub2b2/bin/grub-mkimage -O x86_64-efi -o ORMLdr.efi -m memdisk newc normal font fat ntfs iso9660 loopback part_gpt cpio font memdisk search linux boot chain gfxterm efi_gop efi_uga

The code infomation is here:
SHA1 ID:bac5d1a64ab4191058a8fd4c05f6b3b339e249e7
Author: Andrei Borzenkov <arvidjaar@gmail.com> 2014-12-10 02:41:49
Committer: Andrei Borzenkov <arvidjaar@gmail.com> 2014-12-10 02:56:39
Parent: 17328db3b33d67f2e5365fcb123d41aacc7ab16b (grub-core/kern/arm/misc.S: fix unaligned grub_uint64_t local variable)
Child: 0000000000000000000000000000000000000000 (Local uncommitted changes, not checked in to index)
Branches: master, remotes/origin/master
Follows: grub-2.02-beta2
Precedes:
Fix serial --rtscts option processing

LiuHang <jobcrazy>

 

Attached Files
file #32772:  GPT.jpg added by jobcrazy (45KiB - image/jpeg)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arvidjaar (Posted a comment)
  • -unavailable- added by jobcrazy (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Jan 2015 04:15:06 PM UTCarvidjaarStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Tue 06 Jan 2015 03:22:46 PM UTCjobcrazyAttached File-=>Added GPT.jpg, #32772

    Back to the top


    Powered by Savane 3.1-cleanup1