Re: cryptodisk: teach grub_cryptodisk_insert() about partitions (bug #45889)

2015-11-07 Thread Andrei Borzenkov
I committed your patch. Thank you! 11.09.2015 17:54, TJ пишет: On 11-09-2015 15:11, Andrei Borzenkov wrote: 09.09.2015 04:18, TJ пишет: On 08-09-2015 17:38, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 06.09.2015 21:10, TJ wrote: https://savannah.gnu.org/bugs/index.php?45889 + if (

Re: cryptodisk: teach grub_cryptodisk_insert() about partitions (bug #45889)

2015-09-11 Thread TJ
On 11-09-2015 15:11, Andrei Borzenkov wrote: 09.09.2015 04:18, TJ пишет: On 08-09-2015 17:38, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 06.09.2015 21:10, TJ wrote: https://savannah.gnu.org/bugs/index.php?45889 + if ((disk->partition && disk->partition->number == dev->partition_num

Re: cryptodisk: teach grub_cryptodisk_insert() about partitions (bug #45889)

2015-09-11 Thread Andrei Borzenkov
09.09.2015 04:18, TJ пишет: On 08-09-2015 17:38, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 06.09.2015 21:10, TJ wrote: https://savannah.gnu.org/bugs/index.php?45889 + if ((disk->partition && disk->partition->number == dev->partition_number) || + (!disk->partition && dev->par

Re: cryptodisk: teach grub_cryptodisk_insert() about partitions (bug #45889)

2015-09-08 Thread TJ
On 08-09-2015 17:38, Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 06.09.2015 21:10, TJ wrote: https://savannah.gnu.org/bugs/index.php?45889 + if ((disk->partition && disk->partition->number == dev->partition_number) || + (!disk->partition && dev->partition_number == 0)) +

Re: cryptodisk: teach grub_cryptodisk_insert() about partitions (bug #45889)

2015-09-08 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 06.09.2015 21:10, TJ wrote: > https://savannah.gnu.org/bugs/index.php?45889 > > Boot disk with 3 LUKS/dm-crypt GPT partitions > > (hd0,gpt3) (hd0,gpt4) (hd0,gpt5) > > grub is in (hd0,gpt3). The others have a LVM VG each. > > Using GRUB_ENABLE_CRYPTODISK=y I deliberately fail the first pass-p