Boot Archcraft with GRUB
If you already have Linux installed on your system and want to try Archcraft without making a bootable USB drive, you can do so with the GRUB2 bootloader. Follow the steps below to boot Archcraft ISO with GRUB2 :
- Open terminal and edit /etc/grub.d/40_custom with your favorite text editor.
$ sudo vim /etc/grub.d/40_custom
- Add the following entry in the file, replace (hd0,X) with your root partition, e.g. (hd0,2) and /path/to/archcraft.iso with your Archcraft ISO path.
menuentry "Archcraft Live ISO" --class archcraft {
insmod part_gpt
insmod ext2
insmod loopback
set root=(hd0,X)
set isofile="/path/to/archcraft.iso"
loopback loop $isofile
linux (loop)/arch/boot/x86_64/vmlinuz-linux \
img_dev=/dev/disk/by-uuid/YOUR_UUID \
img_loop=$isofile \
driver=free \
quiet splash loglevel=3 \
udev.log_level=3 \
vt.global_cursor_default=0 \
cow_spacesize=10G \
copytoram=n \
nvme_load=yes \
lsm=landlock,lockdown,yama,integrity,apparmor,bpf
initrd (loop)/arch/boot/x86_64/initramfs-linux.img
}
- Save the file and update grub.cfg, the GRUB configuration file.
# On Arch Linux
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
# On Ubuntu & its derivatives
$ sudo update-grub
- After updating the config file, Reboot the system and boot into Archcraft Live. Try it out, or maybe install it on a USB or SDcard.