Skip to content

Instantly share code, notes, and snippets.

@trickart
Created August 19, 2018 04:14
Show Gist options
  • Save trickart/503c8e633718606ac7908093debbe454 to your computer and use it in GitHub Desktop.
Save trickart/503c8e633718606ac7908093debbe454 to your computer and use it in GitHub Desktop.
USBにArch入れるときの手書きしたgrub.cfg(下はUbuntu用)
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