Re: grub-probe for nested BSD partition on Linux

2017-02-28 Thread Andrei Borzenkov
01.03.2017 01:05, Lennart Sorensen пишет: > On Tue, Feb 28, 2017 at 09:50:27PM +0300, Andrei Borzenkov wrote: >> 28.02.2017 21:31, Lennart Sorensen пишет: >>> On Tue, Feb 28, 2017 at 08:13:53PM +0300, Andrei Borzenkov wrote: Sorry? vda7 is 256M, how can you suddenly pretend it is 2G?

Re: grub-probe for nested BSD partition on Linux

2017-02-28 Thread Lennart Sorensen
On Tue, Feb 28, 2017 at 09:50:27PM +0300, Andrei Borzenkov wrote: > 28.02.2017 21:31, Lennart Sorensen пишет: > > On Tue, Feb 28, 2017 at 08:13:53PM +0300, Andrei Borzenkov wrote: > >> Sorry? vda7 is 256M, how can you suddenly pretend it is 2G? > >> > >> 10:~ # fdisk -l /dev/vda > >> Disk /dev/vda:

Re: grub-probe for nested BSD partition on Linux

2017-02-28 Thread Andrei Borzenkov
28.02.2017 21:31, Lennart Sorensen пишет: > On Tue, Feb 28, 2017 at 08:13:53PM +0300, Andrei Borzenkov wrote: >> Sorry? vda7 is 256M, how can you suddenly pretend it is 2G? >> >> 10:~ # fdisk -l /dev/vda >> Disk /dev/vda: 5 GiB, 5368709120 bytes, 10485760 sectors >> Units: sectors of 1 * 512 = 512

Re: grub-probe for nested BSD partition on Linux (was: [PATCH 1/1] add --partuuid to probe)

2017-02-28 Thread Lennart Sorensen
On Tue, Feb 28, 2017 at 08:13:53PM +0300, Andrei Borzenkov wrote: > Sorry? vda7 is 256M, how can you suddenly pretend it is 2G? > > 10:~ # fdisk -l /dev/vda > Disk /dev/vda: 5 GiB, 5368709120 bytes, 10485760 sectors > Units: sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 byte

grub-probe for nested BSD partition on Linux (was: [PATCH 1/1] add --partuuid to probe)

2017-02-28 Thread Andrei Borzenkov
28.02.2017 17:08, Vladimir 'phcoder' Serbinenko пишет: >> >> OK I see, kernel skips BSD partition marked as "unused". >> >> So it appears that kernel always puts special nested partitions after >> normal logical MSDOS partitions, so it will not skew MSDOS partition >> numbers. >> >> [1.529752]