Created
October 11, 2021 10:00
-
-
Save J-MR-T/0f2fb48d2a802707635804e214ac90ac to your computer and use it in GitHub Desktop.
No X/CLI only grub boot entry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load_video | |
set gfxpayload=keep | |
insmod gzio | |
insmod part_gpt | |
insmod btrfs | |
set root='hd0,gpt3' | |
if [ x$feature_platform_search_hint = xy ]; then | |
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 731eff84-2c4f-4b87-a347-1f19a245e1ca | |
else | |
search --no-floppy --fs-uuid --set=root 731eff84-2c4f-4b87-a347-1f19a245e1ca | |
fi | |
echo 'Loading Linux linux-lts ...' | |
linux /boot/vmlinuz-linux-lts root=UUID=731eff84-2c4f-4b87-a347-1f19a245e1ca systemd.unit=multi-user.target ro | |
echo 'Loading initial ramdisk ...' | |
initrd /boot/amd-ucode.img /boot/initramfs-linux-lts.img |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment