grub/util/grub.d
Andrei Borzenkov 7290bb5623 10_linux: avoid multi-device root= kernel argument
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 scanning,
so passing single device would not work too.

This still respects user settings GRUB_DISABLE_LINUX_UUID. Not sure what we
should do in this case.

Closes: 45709
2016-02-01 20:13:48 +03:00
..
00_header.in grub-mkconfig: use $pkgdatadir in scripts 2015-04-29 19:18:54 +03:00
10_hurd.in grub-mkconfig: use $pkgdatadir in scripts 2015-04-29 19:18:54 +03:00
10_illumos.in grub-mkconfig: use $pkgdatadir in scripts 2015-04-29 19:18:54 +03:00
10_kfreebsd.in grub-mkconfig: use $pkgdatadir in scripts 2015-04-29 19:18:54 +03:00
10_linux.in 10_linux: avoid multi-device root= kernel argument 2016-02-01 20:13:48 +03:00
10_netbsd.in grub-mkconfig: use $pkgdatadir in scripts 2015-04-29 19:18:54 +03:00
10_windows.in grub-mkconfig: use $pkgdatadir in scripts 2015-04-29 19:18:54 +03:00
10_xnu.in grub-mkconfig: use $pkgdatadir in scripts 2015-04-29 19:18:54 +03:00
20_linux_xen.in 10_linux: avoid multi-device root= kernel argument 2016-02-01 20:13:48 +03:00
30_os-prober.in 30_os-prober: derive --class from os-prober generated label 2015-12-30 22:30:16 +03:00
40_custom.in 2009-09-10 Robert Millan <rmh.grub@aybabtu.com> 2009-09-10 12:53:25 +00:00
41_custom.in * grub-core/normal/main.c (read_config_file): Provide config_file and 2012-05-27 15:34:41 +02:00
README 2007-05-04 Robert Millan <rmh@aybabtu.com> 2007-05-04 07:11:44 +00:00

All executable files in this directory are processed in shell expansion order.

  00_*: Reserved for 00_header.
  10_*: Native boot entries.
  20_*: Third party apps (e.g. memtest86+).

The number namespace in-between is configurable by system installer and/or
administrator.  For example, you can add an entry to boot another OS as
01_otheros, 11_otheros, etc, depending on the position you want it to occupy in
the menu; and then adjust the default setting via /etc/default/grub.