Created
August 19, 2018 04:14
-
-
Save trickart/503c8e633718606ac7908093debbe454 to your computer and use it in GitHub Desktop.
USBにArch入れるときの手書きしたgrub.cfg(下はUbuntu用)
This file contains hidden or 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
insmod efi_gop | |
menuentry "Arch Linux archiso" { | |
search --no-floppy --set=root --label ARCHISO | |
linux /arch/boot/x86_64/vmlinuz archisobasedir=arch archisolabel=ARCHISO add_efi_memmap | |
initrd /arch/boot/x86_64/archiso.img | |
} | |
menuentry '[loopback]ubuntu-ja-18.04-desktop-amd64.iso' { | |
set isofile='/boot/iso/ubuntu-ja-18.04-desktop-amd64.iso' | |
loopback loop $isofile | |
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile locale=ja_JP.UTF-8 | |
initrd (loop)/casper/initrd.lz | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment