You are not logged in.

#1 2024-09-02 15:03:09

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,672
Website

Syntax to boot arch ISO from a partition error

Following this thread, I added the following to /etc/grub.d/40-custom but am finding the error below.  What am I doing wrong?

menuentry 'ISO loopback-Arch' {
  set reldate=2024.09.01
  set isofile="archlinux-$reldate-x86_64.iso"
  set imgdevuuid='4f271c2a-53c0-45fa-bfa9-c858991968d6'

  search --no-floppy --set=root --fs-uuid $imgdevuuid
  loopback loop $isofile
  linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=UUID=$imgdevuuid img_loop=$isofile earlymodules=loop
  initrd (loop)/arch/boot/amd-ucode.img (loop)/arch/boot/x86_64/initramfs-linux.img
}

When attempting to boot:

error: invalid file name `archlinux-2024.09.01-x86_64.iso'.
error: no server is specified.
error: you need to load the kernel first.

Press any key to continue...

I do have the iso on the UUID partition, but it seems like the file does not exist to grub:

archlinux-2024.09.01-x86_64.iso

Last edited by graysky (2024-09-02 15:12:23)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB