Slackware64 14.2 dual boot install UEFI GRUB 2 editing/documentation help needed.
I have installed a Slackware64 14.2 system on a tower computer with Win 7 already installed. Both systems were installed in UEFI mode. Unfortunately, extlinux after five years (Bugzilla), still doesn't have UEFI support, so I have been forced to use GRUB 2 as boot manager, as the other boot managers available for this setup haven't impressed me. I have always found Grub 2 to be the antithesis of KISS philosophy...
My problem can be divided into three parts: 1) I need to edit the current GRUB 2 entries as I need to add the argument "threadirqs" to the boot command. This is for audio creation/production. In Lilo, it would read like this: Code:
chooser=simple Code:
# grub-mkconfig -o /boot/grub/grub.cfg Code:
# slackpkg install-new 3) I would like to add the Win 7 install, which is on a separate hard disk, to Grub 2. Unfortunately, there isn't much Slackware documentation on Grub 2, and the commands for finding the UUID for the Win 7 install on the Arch Wiki (where Slackware GRUB 2 users are directed) don't seem to work. In Slackware, the Win 7 system is at /dev/sdc according to GParted. For bonus points, help with changing the resolution of the GRUB 2 menu would be appreciated, as it is HUGE. |
I decided to go to legacy mode.
|
Sorry to be late, but see this post.
|
Quote:
|
Quote:
Code:
rich[~]$ lsblk --fs Code:
rich[~]$ lsblk -o NAME,UUID |
You could edit the linux line of /boot/grub/grub.cfg, but everytime you rerun grub-mkconfig/update-grub you will loose your changes.
The two main grub files that get edited for changes are /etc/default/grub and /etc/grub.d/40_custom and then run grub-mkconfig/update-grub depending on distro. to update /boot/grub/grub.cfg depends on distro. For Slackware and Arch and a few others use grub-mkconfig. For debian based distros it is update-grub for redhat based it is grub2-mkconfig Quote:
The correct way is to edit one of these lines Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash threadirqs" Code:
/etc/default/grub Code:
GRUB_DEFAULT=0 If your booting more than one or two distros and grub-mkconfig doesn't pick up one of them up you can add an entry in /etc/grub.d/40_custom similar to this for windows7 Code:
menuentry 'windows7'{ Quote:
Code:
#GRUB_GFXMODE=640x480 |
Quote:
Code:
# grub-probe --target=fs_uuid esp/EFI/Microsoft/Boot/bootmgfw.efi Code:
# grub-probe --target=hints_string esp/EFI/Microsoft/Boot/bootmgfw.efi |
Quote:
Code:
rich[boot]$ grub-probe --target=fs_uuid efi/EFI/Microsoft/Boot/bootmgfw.efi Code:
rich[boot]$ grub-probe --target=hints_string efi/EFI/Microsoft/Boot/bootmgfw.efi |
Quote:
|
Quote:
So in case of Slackware the path should be /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi. I have checked it with EFI3M. |
All times are GMT -5. The time now is 01:06 AM. |