Re: [PATCH] 10_linux: avoid multi-device root= kernel argument

2016-02-01 Thread Andrei Borzenkov
01.02.2016 00:17, Juan Orti Alcaine пишет: > 2016-01-28 17:46 GMT+01:00 Andrei Borzenkov : >> If root filesystem is multidev btrfs, do not attempt to pass all devices as >> kernel root= argument. This results in splitting command line in GRUB due to >> embedded newline and even if we managed to quo

Re: [PATCH] 10_linux: avoid multi-device root= kernel argument

2016-01-31 Thread Juan Orti Alcaine
2016-01-28 17:46 GMT+01:00 Andrei Borzenkov : > If root filesystem is multidev btrfs, do not attempt to pass all devices as > kernel root= argument. This results in splitting command line in GRUB due to > embedded newline and even if we managed to quote it, kernel does not know how > to interpret i

Re: [PATCH] 10_linux: avoid multi-device root= kernel argument

2016-01-29 Thread Andrei Borzenkov
29.01.2016 19:23, Olaf Hering пишет: > On Fri, Jan 29, Andrei Borzenkov wrote: > >> On Fri, Jan 29, 2016 at 11:54 AM, Olaf Hering wrote: >>> Am 28.01.2016 um 17:46 schrieb Andrei Borzenkov: This still respects user settings GRUB_DISABLE_LINUX_UUID. Not sure what we should do in this cas

Re: [PATCH] 10_linux: avoid multi-device root= kernel argument

2016-01-29 Thread Olaf Hering
On Fri, Jan 29, Andrei Borzenkov wrote: > On Fri, Jan 29, 2016 at 11:54 AM, Olaf Hering wrote: > > Am 28.01.2016 um 17:46 schrieb Andrei Borzenkov: > >> This still respects user settings GRUB_DISABLE_LINUX_UUID. Not sure what we > >> should do in this case. > > > > grub cant possibly know what th

Re: [PATCH] 10_linux: avoid multi-device root= kernel argument

2016-01-29 Thread Andrei Borzenkov
On Fri, Jan 29, 2016 at 11:54 AM, Olaf Hering wrote: > Am 28.01.2016 um 17:46 schrieb Andrei Borzenkov: >> This still respects user settings GRUB_DISABLE_LINUX_UUID. Not sure what we >> should do in this case. > > grub cant possibly know what the device name of the target OS is. This > is especial

Re: [PATCH] 10_linux: avoid multi-device root= kernel argument

2016-01-29 Thread Olaf Hering
Am 28.01.2016 um 17:46 schrieb Andrei Borzenkov: > This still respects user settings GRUB_DISABLE_LINUX_UUID. Not sure what we > should do in this case. grub cant possibly know what the device name of the target OS is. This is especially true if it tries to guess what the OS on partitions other th

Re: [PATCH] 10_linux: avoid multi-device root= kernel argument

2016-01-28 Thread Michael Chang
On Thu, Jan 28, 2016 at 07:46:41PM +0300, Andrei Borzenkov wrote: > If root filesystem is multidev btrfs, do not attempt to pass all devices as > kernel root= argument. This results in splitting command line in GRUB due to > embedded newline and even if we managed to quote it, kernel does not know

[PATCH] 10_linux: avoid multi-device root= kernel argument

2016-01-28 Thread Andrei Borzenkov
If root filesystem is multidev btrfs, do not attempt to pass all devices as kernel root= argument. This results in splitting command line in GRUB due to embedded newline and even if we managed to quote it, kernel does not know how to interpret it anyway. Multidev btrfs requires user space device sc

[PATCH] 10_linux: avoid multi-device root= kernel argument

2016-01-02 Thread Andrei Borzenkov
If root filesystem is multidev btrfs, do not attempt to pass all devices as kernel root= argument. This results in splitting command line in GRUB due to embedded newline. Multidev btrfs requires user space device scanning, so passing single device makes no sense as well. It means we may end up wit