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

Bug#778617: grub-install often breaks in UEFI mode



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/17/2015 5:51 PM, Steve McIntyre wrote:
> On Tue, Feb 17, 2015 at 09:32:56AM -0500, Phillip Susi wrote:
>> Package: grub-installer Version: 1.110
>> 
>> I'm forwarding this patch from Ubuntu:
>> 
>> https://launchpad.net/bugs/1303790
>> 
>> On EFI, the boot disk argument given to grub-install is a dummy
>> and is often the wrong disk or a non existent disk.  Grub is
>> still installed to the correct place since it goes through the
>> filesystem to /boot/EFI, but the function make_active_partition
>> tries to look at the partition table on the dummy disk and throws
>> an error.  Hence, I wrote the attached patch to disable the
>> function on EFI.
> 
> Hi Phillip,
> 
> The logic looks ok, I guess, but I'd check more explicitly for 
> grub-efi-* instead of !grub-pc. There's several other
> architectures that may use grub, and I'm not sure if/how they may
> need special handling for active partitions...

Sounds good to me if you want to switch it when you apply the patch.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJU5KcwAAoJENRVrw2cjl5R48YH/isp8MR/2Ps4F0v7fzpxpgkb
Oe2e/s+ziB14mhKQ1dNHb8KcIeFfg60cCTSNw8kmb05Zk+v+GsaAHpKX0Dk62i5T
gy+9HXPlyUqZTzCe24mQnSAgSbrgm8B9OD0VRgr6fEzAbW2/+co9wI4l1NQHKifK
fPls70SKQBZyqZDpr4F0uBEBDfB16kOTJr8P+a9MEhdzkwxA0CyuQObwaIC5V0xd
DpQqmiE+g5v9zpJgBZDVV/c1t+mBAzSTnORg+/1J8qXf48yHOtA2Or0nJb/VxvBM
U6B32fsy7g+4hnZVq1U3Q+JlrNIB4BdyyEoatg68i2TnjS5b/aDXCVPBR0TpsoY=
=igUq
-----END PGP SIGNATURE-----


Reply to: