Created
October 27, 2017 15:27
-
-
Save topnotcher/6377b6ba806a283837c756c4bb7ec052 to your computer and use it in GitHub Desktop.
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
### BEGIN /etc/grub.d/10_linux ### | |
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-5feec0de-7db6-40c4-b478-2ec1e378eaac' { | |
load_video | |
set gfxpayload=keep | |
insmod gzio | |
insmod part_msdos | |
insmod ext2 | |
set root='hd0,msdos1' | |
if [ x$feature_platform_search_hint = xy ]; then | |
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 30a49ff5-fb5d-48eb-af9f-0aed31002a3e | |
else | |
search --no-floppy --fs-uuid --set=root 30a49ff5-fb5d-48eb-af9f-0aed31002a3e | |
fi | |
echo 'Loading Linux linux ...' | |
linux /vmlinuz-linux root=UUID=5feec0de-7db6-40c4-b478-2ec1e378eaac rw quiet | |
echo 'Loading initial ramdisk ...' | |
initrd /initramfs-linux.img | |
} | |
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-5feec0de-7db6-40c4-b478-2ec1e378eaac' { | |
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-5feec0de-7db6-40c4-b478-2ec1e378eaac' { | |
load_video | |
set gfxpayload=keep | |
insmod gzio | |
insmod part_msdos | |
insmod ext2 | |
set root='hd0,msdos1' | |
if [ x$feature_platform_search_hint = xy ]; then | |
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 30a49ff5-fb5d-48eb-af9f-0aed31002a3e | |
else | |
search --no-floppy --fs-uuid --set=root 30a49ff5-fb5d-48eb-af9f-0aed31002a3e | |
fi | |
echo 'Loading Linux linux ...' | |
linux /vmlinuz-linux root=UUID=5feec0de-7db6-40c4-b478-2ec1e378eaac rw quiet | |
echo 'Loading initial ramdisk ...' | |
initrd /initramfs-linux.img | |
} | |
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-5feec0de-7db6-40c4-b478-2ec1e378eaac' { | |
load_video | |
set gfxpayload=keep | |
insmod gzio | |
insmod part_msdos | |
insmod ext2 | |
set root='hd0,msdos1' | |
if [ x$feature_platform_search_hint = xy ]; then | |
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 30a49ff5-fb5d-48eb-af9f-0aed31002a3e | |
else | |
search --no-floppy --fs-uuid --set=root 30a49ff5-fb5d-48eb-af9f-0aed31002a3e | |
fi | |
echo 'Loading Linux linux ...' | |
linux /vmlinuz-linux root=UUID=5feec0de-7db6-40c4-b478-2ec1e378eaac rw quiet | |
echo 'Loading initial ramdisk ...' | |
initrd /initramfs-linux-fallback.img | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment