-
Notifications
You must be signed in to change notification settings - Fork 0
Commits on Sep 6, 2018
-
mxgrub: Add
is_uefi_booted()
for checking if booted from UEFIConfiguration menu - View commit details
-
Copy full SHA for 86b1955 - Browse repository at this point
Copy the full SHA 86b1955View commit details -
Configuration menu - View commit details
-
Copy full SHA for d037f92 - Browse repository at this point
Copy the full SHA d037f92View commit details -
Instead of always mounting the EFI System Partition (ESP), only mount it when checking if GRUB is installed. The mount point `/boot/efi` was created on the distmaster.
Configuration menu - View commit details
-
Copy full SHA for befaa50 - Browse repository at this point
Copy the full SHA befaa50View commit details -
mxgrub: Output if GRUB is already installed
As that’s the common case, maybe it’s just spam, and should be a verbose option.
Configuration menu - View commit details
-
Copy full SHA for 2e45634 - Browse repository at this point
Copy the full SHA 2e45634View commit details -
mxgrub: Always install GRUB in MBR
Contradicting the documentation, that `i386-pc` is the default target, on UEFI systems it is not. $ sudo grub-install --boot-directory=/boot /dev/nvme0n1 Installing for x86_64-efi platform. grub-install: error: cannot find EFI directory. So, pass `--target=i386-pc` to install GRUB in the MBR. $ sudo grub-install --target=i386-pc --boot-directory=/boot /dev/nvme0n1 Installing for i386-pc platform. Installation finished. No error reported.
Configuration menu - View commit details
-
Copy full SHA for 3c6c695 - Browse repository at this point
Copy the full SHA 3c6c695View commit details -
mxgrub: Add switch
no-nvram
togrub-install
for UEFIIn case a drive with an EFI System Partition (ESP) is put into a system that boots in legacy mode, running `grub-install --target=x86_64-efi` will fail, as `efibootmgr` fails to update the NVRAM. Therefore, pass `--no-nvram` to `grub-install`, which skip running efibootmgr. --no-nvram don't update the `boot-device'/`Boot*' NVRAM variables. This option is only available on EFI and IEEE1275 targets. As a downside, the administrator needs to go int the firmware menu, and add the entry in the boot manager manually.
Configuration menu - View commit details
-
Copy full SHA for f1ad4d3 - Browse repository at this point
Copy the full SHA f1ad4d3View commit details -
mxgrub/mxgrub: Insert module *all_video*
With a system booted from UEFI, starting the Linux kernel from GRUB, GRUB outputs error: not suitable video mode found booting in blind mode and no Linux messages can be seen. Jordan_U’s answer from #grub@irc.freenode.net: > Are you using a manually written grub.cfg or one made by > grub-mkconfig? > > If the former, add "insmod all_video" to your grub.cfg. That will > allow grub to set up a video mode to then pass on to linux. IIRC, the > text mode for UEFI is only intended for use by bootloaders, and thus > should not be used by linux. I think that means that if grub doesn't > pass a video mode to linux (which it needs video modules to be able to > do) then you won't get early printk from the kernel, messages will > only be displayed once native graphics drivers and KMS kicks in.
Configuration menu - View commit details
-
Copy full SHA for e78c67f - Browse repository at this point
Copy the full SHA e78c67fView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.