Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix parsing of grub2 menu entries to support 16-bit mode (mga#21247). | Martin Whitaker | 2018-01-09 | 1 | -1/+1 |
| | | | | | This enables bootloader::read_grub2 to recognise the initrd16 keyword, which is used by default on x86 machines. | ||||
* | Fix drakboot video mode selection when using grub2 (mga#21246) | Martin Whitaker | 2018-01-09 | 1 | -3/+12 |
| | | | | | | | | | | | | | 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. | ||||
* | Revert "do not alter /etc/default/grub on kernel updates" | Thierry Vignaud | 2018-01-09 | 1 | -4/+6 |
| | | | | | This reverts commit 7bb01fb038e0a882e755b963110bda381336b748 and commit 4c1cb5006360ccb780926000bd57f150e0fc8fbe | ||||
* | Combine bootloader perImageAppend and default_append keys. | Martin Whitaker | 2018-01-09 | 1 | -3/+5 |
| | | | | | This allows changes to the append options to propagate to the grub2 configuration file, thus fixing mga#21263 and mga#21250. | ||||
* | fix doble quotes in perldoc | Thierry Vignaud | 2018-01-07 | 1 | -6/+6 |
| | |||||
* | (read_grub2) handle several levels of submenus | Thierry Vignaud | 2017-09-18 | 1 | -1/+1 |
| | | | | needed anyway after last commit | ||||
* | read_grub2: fix undefined labels (mga#19014) | Thierry Vignaud | 2017-09-18 | 1 | -1/+1 |
| | | | | | | | | | | | 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. | ||||
* | (read_grub2) handle both linux & linux16 | Thierry Vignaud | 2017-09-18 | 1 | -1/+1 |
| | | | | thus we got more data | ||||
* | Don't overwrite custom grub2 settings when updating/upgrading (mga#20596) | Martin Whitaker | 2017-06-22 | 1 | -2/+2 |
| | | | | | Fixes a corner case bug where GRUB_DEFAULT and GRUB_SAVEDEFAULT would be overwritten if previously set to a value that evaluates as false. | ||||
* | drop last references to kernel-multimedia | Thierry Vignaud | 2017-05-03 | 1 | -3/+0 |
| | |||||
* | do not offer lilo/grub-legacy in live install | Thierry Vignaud | 2017-01-23 | 1 | -1/+1 |
| | | | | Resolves: mga#20089 | ||||
* | disable audit logging by default as it floods the logs | Thomas Backlund | 2016-12-24 | 1 | -3/+3 |
| | |||||
* | drop support for very old kernel flavors | Thierry Vignaud | 2016-10-16 | 1 | -8/+2 |
| | | | | | those are no more generated for more than 10 years... also make kernel server default if installed | ||||
* | simplify | Thierry Vignaud | 2016-10-16 | 1 | -1/+1 |
| | |||||
* | fix .old backup for grub2's grub.cfg | Thierry Vignaud | 2016-07-25 | 1 | -3/+2 |
| | | | | | | | | 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 | ||||
* | grub2: fix not being able to edit default cmdline | Thierry Vignaud | 2016-07-17 | 1 | -4/+3 |
| | | | | | | | | | | | | | 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 | ||||
* | drakboot.conf is dead since before mga5 | Thierry Vignaud | 2016-07-17 | 1 | -6/+2 |
| | |||||
* | allow installing grub2 on XFS / | Thierry Vignaud | 2016-07-04 | 1 | -4/+0 |
| | | | | tested under both UEFI & legacy BIOS | ||||
* | ensure we only offer lilo/grub choice on upgrades | Thierry Vignaud | 2016-07-04 | 1 | -1/+2 |
| | |||||
* | explain why only grub2 is offered on UEFI | Thierry Vignaud | 2016-07-04 | 1 | -0/+1 |
| | |||||
* | simplify after previous commit | Thierry Vignaud | 2016-06-24 | 1 | -2/+2 |
| | |||||
* | do not alter /etc/default/grub on kernel updates | Thierry Vignaud | 2016-06-24 | 1 | -3/+2 |
| | | | | only when running drakboot (mga#18783) | ||||
* | (write_grub2_default_entry) split it | Thierry Vignaud | 2016-06-24 | 1 | -10/+17 |
| | | | | needed for next commit | ||||
* | (write_grub2_sysconfig) split it | Thierry Vignaud | 2016-06-24 | 1 | -2/+8 |
| | | | | needed for next commit | ||||
* | remeber if we didn't want to overwrite ESP/MBR | Thierry Vignaud | 2016-06-24 | 1 | -0/+1 |
| | | | | it wasn't done previously... | ||||
* | add a "Do not touch ESP or MBR" option (mga#18770) | Thierry Vignaud | 2016-06-24 | 1 | -3/+5 |
| | |||||
* | filter GPT disks w/o a BIOS boot part (mga#18770) | Thierry Vignaud | 2016-06-24 | 1 | -2/+6 |
| | | | | | | else grub2-install failed with:r "this GPT Partition label contains no BIOS Boot Partition: embedding won't be possible." | ||||
* | fix kernel names in logs | Thierry Vignaud | 2016-06-23 | 1 | -1/+1 |
| | |||||
* | do not overwite ESP if not installing on it | Thierry Vignaud | 2016-06-22 | 1 | -0/+1 |
| | | | | temporary hack for mga#15583 | ||||
* | fix setting default entry when in a submenu | Thierry Vignaud | 2016-06-22 | 1 | -3/+15 |
| | | | | | | | 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 | ||||
* | better state machine | Thierry Vignaud | 2016-06-22 | 1 | -3/+5 |
| | | | | needed for next commit | ||||
* | do not crash if file does not exist | Thierry Vignaud | 2016-06-22 | 1 | -1/+1 |
| | |||||
* | grub2: simplify using user.cfg (mga#15930) | Thierry Vignaud | 2016-06-21 | 1 | -14/+3 |
| | |||||
* | grub2: enable to protect with a password | Thierry Vignaud | 2016-06-21 | 1 | -0/+64 |
| | | | | thus restricting altering the config on boot (mga#15930) | ||||
* | fix the grub2 post-install check (mga#18739) | Thierry Vignaud | 2016-06-20 | 1 | -2/+2 |
| | |||||
* | perl_checker: fix backup extension | Thierry Vignaud | 2016-06-20 | 1 | -1/+1 |
| | |||||
* | ensure we've the right grub2 flavor (mga#18739) | Thierry Vignaud | 2016-06-20 | 1 | -2/+3 |
| | |||||
* | simplify generic case | Thierry Vignaud | 2016-06-20 | 1 | -1/+1 |
| | |||||
* | split out grub2 case for next commit | Thierry Vignaud | 2016-06-20 | 1 | -2/+3 |
| | |||||
* | refactor for next commit (& explain) | Thierry Vignaud | 2016-06-20 | 1 | -3/+4 |
| | |||||
* | grub2: only overwrite install.sh when installing | Thierry Vignaud | 2016-06-06 | 1 | -1/+1 |
| | | | | | And only when actually installing boot loader, not when updating grub2 menu list (mga#17455) | ||||
* | fix reading back last grub2 entry | Thierry Vignaud | 2016-06-06 | 1 | -0/+2 |
| | |||||
* | stop offering grub legacy & lilo on new installs | Thierry Vignaud | 2016-06-06 | 1 | -2/+2 |
| | | | | | | | | 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) | ||||
* | explain | Thierry Vignaud | 2016-06-06 | 1 | -3/+3 |
| | |||||
* | grub2: set GRUB_DEFAULT + GRUB_SAVEDEFAULT | Thierry Vignaud | 2016-06-06 | 1 | -0/+2 |
| | | | | | else grub2-set-default won't work (mga#9627, mga#16059) but do not overwrite it if user has changed its value | ||||
* | only overwrite GRUB_CMDLINE_LINUX_DEFAULT on first install (mga#18112) | Thierry Vignaud | 2016-06-06 | 1 | -1/+5 |
| | |||||
* | introduce get_grub2_install_sh() | Thierry Vignaud | 2016-06-06 | 1 | -2/+6 |
| | | | | (needed for next commit) | ||||
* | document | Thierry Vignaud | 2016-06-05 | 1 | -0/+31 |
| | |||||
* | kill last remaining mips bits | Thierry Vignaud | 2016-05-03 | 1 | -13/+0 |
| | |||||
* | drop support for MIPS | Thierry Vignaud | 2016-04-24 | 1 | -20/+2 |
| |