| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This is the only missing piece for supporting 32-bit UEFI boot.
(cherry picked from commit dae1ba234d72d95ee0bfc775df776ce6775ca90f)
|
|
|
|
|
|
|
| |
This enables bootloader::read_grub2 to recognise the initrd16 keyword,
which is used by default on x86 machines.
(cherry picked from commit 4d96d7a4c32186d7597f2f8f6f75eb1d8c9bf181)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The video mode needs to be extracted from and written back to the
GRUB_CMDLINE_LINUX_DEFAULT parameter in /etc/defaults/grub2.
This fix creates a new "default_vga" key in the $bootloader hash to
hold the current selection. Using the existing "vga" key would cause
the default video mode to be added to any bootloader entries that
don't have a specific "vga" value, e.g. the "failsafe" entry.
The $bootloader "vga" value doesn't appear to be set anywhere else,
so may in fact be obsolete.
(cherry picked from commit f70da6dee2087dbcb26e1ae6e00c5ea859c0c787)
|
|
|
|
|
|
|
| |
This reverts commit 7bb01fb038e0a882e755b963110bda381336b748 and
commit 4c1cb5006360ccb780926000bd57f150e0fc8fbe
(cherry picked from commit a2594a936ea91a08881cb40e056f1407065a2ee6)
|
|
|
|
|
|
|
| |
This allows changes to the append options to propagate to the grub2
configuration file, thus fixing mga#21263 and mga#21250.
(cherry picked from commit 6fb73fba36f9fcf88251f3bd3ad8ee67950c8541)
|
|
|
|
|
|
| |
needed anyway after last commit
(cherry picked from commit 59dfe929349aa4e9f138cd2e311fda9dad146b5a)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we were wrongly assuming we entered a new entry when reading eg:
"${xen_rm_opts}"
(which is why most people never see that error and why I wasn't able to
reproduce it, one would need Xen or similar to be installed)
Then drakboot would crash with:
drakboot crashed ("undefined value for mandatory argument 'text' encountered at ugtk3.pm"
Theorically, it could happen with DrakX too when updating a system with Xen.
(cherry picked from commit 1941fa3c6e9a68a1004c92f42493508bb46a32b5)
|
|
|
|
|
|
| |
thus we got more data
(cherry picked from commit 56c8070207a8395b7fb0c20eb200fd9bd8c76757)
|
|
|
|
|
| |
Fixes a corner case bug where GRUB_DEFAULT and GRUB_SAVEDEFAULT would be
overwritten if previously set to a value that evaluates as false.
|
| |
|
|
|
|
| |
Resolves: mga#20089
|
| |
|
|
|
|
|
| |
those are no more generated for more than 10 years...
also make kernel server default if installed
|
| |
|
|
|
|
|
|
|
|
| |
rationale: write_*() takes (bootloader, all_hd, ext) as parameters (when
called from installkernel -> bootloader-config and then only when
migrating to uuids
as we don't care for 2 first for grub2, just ignore the 3rd too
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Keep default append value (aka /etc/default/grub's
GRUB_CMDLINE_LINUX_DEFAULT into {default_append} variable)
Always use the value passed as now write_grub2_sysconfig() is only
called after having offered to display the default cmdline value
On first run (during installer) or when migrating from grub-legacy or
lilo, we get the first entry's parameters
Thus resolving mga#18952
|
| |
|
|
|
|
| |
tested under both UEFI & legacy BIOS
|
| |
|
| |
|
| |
|
|
|
|
| |
only when running drakboot (mga#18783)
|
|
|
|
| |
needed for next commit
|
|
|
|
| |
needed for next commit
|
|
|
|
| |
it wasn't done previously...
|
| |
|
|
|
|
|
|
| |
else grub2-install failed with:r
"this GPT Partition label contains no BIOS Boot Partition:
embedding won't be possible."
|
| |
|
|
|
|
| |
temporary hack for mga#15583
|
|
|
|
|
|
|
| |
default entry must be selected by its full path (mga#18560)
eg: "submenu1>submenu2>title":
See http://www.gnu.org/software/grub/manual/html_node/default.html#default
|
|
|
|
| |
needed for next commit
|
| |
|
| |
|
|
|
|
| |
thus restricting altering the config on boot (mga#15930)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
And only when actually installing boot loader, not when updating grub2
menu list (mga#17455)
|
| |
|
|
|
|
|
|
|
|
| |
rationale:
- lilo is no more supported upstream and has been replaced by grub
legacy a long time ago
- grub-legacy does not support ext4 fses formatted with e2fsprogs-1.43
(mga#18583)
|
| |
|
|
|
|
|
| |
else grub2-set-default won't work (mga#9627, mga#16059)
but do not overwrite it if user has changed its value
|
| |
|
|
|
|
| |
(needed for next commit)
|
| |
|
| |
|
| |
|