Re: [PATCH] efi: strip off final NULL from File Path in grub_efi_get_filename

2017-02-24 Thread Andrei Borzenkov
25.02.2017 02:21, Vladimir 'phcoder' Serbinenko пишет: > On Fri, Feb 24, 2017, 09:47 Andrei Borzenkov wrote: > >> UEFI 2.6 9.3.6.4 File Path Media Device Path says that Path Name is >> "A NULL-terminated Path string including directory and file names". >> >> Strip final NULL

Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8

2017-02-24 Thread Andrei Borzenkov
25.02.2017 02:22, Vladimir 'phcoder' Serbinenko пишет: > On Sun, Feb 12, 2017, 11:52 Vladimir 'phcoder' Serbinenko > wrote: > >> >> >> On Sun, 12 Feb 2017, 08:06 Andrei Borzenkov wrote: >> >> 12.02.2017 00:07, Vladimir 'phcoder' Serbinenko пишет: >> ...

Re: [PATCH 1/1 V3] add --partuuid to probe

2017-02-24 Thread Steve Kenton
On 02/21/2017 05:44 PM, Steve Kenton wrote: Support both EFI and NT Disk Signature for passing to kernel as root=PARTUUID=$val Signed-off-by: Steve Kenton --- V3 revert bogus index change it V2, more style cleanups, skip nested partitions This boots Ubuntu 16.04 properly,

Re: pvgrub2 legacy_configfile issues: /sbin/init exec error -8

2017-02-24 Thread Vladimir 'phcoder' Serbinenko
On Sun, Feb 12, 2017, 11:52 Vladimir 'phcoder' Serbinenko wrote: > > > On Sun, 12 Feb 2017, 08:06 Andrei Borzenkov wrote: > > 12.02.2017 00:07, Vladimir 'phcoder' Serbinenko пишет: > ... > >> > > For multiboot module old grub was passing module file name

Re: [PATCH] efi: strip off final NULL from File Path in grub_efi_get_filename

2017-02-24 Thread Vladimir 'phcoder' Serbinenko
On Fri, Feb 24, 2017, 09:47 Andrei Borzenkov wrote: > UEFI 2.6 9.3.6.4 File Path Media Device Path says that Path Name is > "A NULL-terminated Path string including directory and file names". > > Strip final NULL from Path Name in each File Path node when constructing > full

Re: [PATCH] Make grub-install check for errors from efibootmgr

2017-02-24 Thread Steve McIntyre
Hi folks, It would be nice to see this clear bug fixed for the upcoming release - any chance of getting it reviewed please? -- Steve McIntyre, Cambridge, UK.st...@einval.com You raise the blade, you make the change... You re-arrange me 'til I'm sane...

Re: [PATCH v3] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2017-02-24 Thread Robert LeBlanc
On Wed, Jan 25, 2017 at 3:02 PM, Robert LeBlanc wrote: > Changes in v3: > - Fix to return if not out of range instead of breaking out of the > loop. > > Changes in v2: > - Only continue checking for other metadata versions if we get an out > of range error and

Re: Loading DSDT table using 'acpi' or some memory write command?

2017-02-24 Thread Andrei Borzenkov
23.02.2017 19:00, Nando Eva пишет: > Hi grub-devel, I'm endeavouring to pre-load a modified DSDT table > using grub2. The syntax I've tried being as shown below, after which > I chainload to Win10. This being done on a Dell E6540 with Win10 and > grub 2.02 (or older.. tried many versions, same

Re: [PATCH] squash4: fix handling of fragments and sparse files

2017-02-24 Thread Andrei Borzenkov
23.02.2017 16:52, Vladimir 'phcoder' Serbinenko пишет: > On Sat, Feb 18, 2017, 10:17 Andrei Borzenkov wrote: > >> 1. Do not assume block list and fragment are mutually exclusive. Squash >> can pack file tail as fragment (unless -no-fragments is specified); so >> check read

[PATCH] efi: strip off final NULL from File Path in grub_efi_get_filename

2017-02-24 Thread Andrei Borzenkov
UEFI 2.6 9.3.6.4 File Path Media Device Path says that Path Name is "A NULL-terminated Path string including directory and file names". Strip final NULL from Path Name in each File Path node when constructing full path. To be on safe side, strip all of them. Fixes failure chainloading grub from