grub-devel
[Top][All Lists]
Advanced

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

[PATCH] Skip Apple ghosts


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: [PATCH] Skip Apple ghosts
Date: Tue, 24 Dec 2013 14:26:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

Hello, all. It was discovered that on macs sometimes firmware defines
ghost disks with vendor suffix. E.g.
/ACPI(a0341d0,0)/PCI(2,1f)/UnknownMessaging(12)/EndEntire
is a normal disks with partitions presented with HD(...) but then
/ACPI(a0341d0,0)/PCI(2,1f)/UnknownMessaging(12)/MediaVendor(Apple)[0:
]/EndEntire
is a ghost disk. It has as suffix a vendor path with empty vendor data.
This is a problem because when chainloading on such disks GRUB can't
find handle of partition as none is defined. I propose to dkip ghosts
completely. This should be safe as the skip happens only for empty Apple
vendor suffix and if the parent is already a known disk.
Did anyone see anything similar?

Attachment: appledisk.diff
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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