You are not logged in.
Pages: 1
Many distributions use loopbask.cfg to automatically generate menus when launched from an iso image.
https://www.supergrubdisk.org/wiki/Loopback.cfg
Is it possible to add it to archiso?
Here are examples of config
https://github.com/jim945/autoiso-multi … opback.cfg
And the config to run it
https://github.com/jim945/autoiso-multiboot
Offline
I don’t really get the idea.
You are not forced to burn ArchISO directly to a CD or a thumbdrive. You can store them as files and normally boot with GRUB in their current state. No third party scripts needed for that.
This is how I use mine:
$ ls boot/grub/iso/
archlinux-2021.04.01-x86_64.iso archlinux-2021.07.01-x86_64.iso
archlinux-2021.05.01-x86_64.iso archlinux-2021.08.01-x86_64.iso
archlinux-2021.06.01-x86_64.iso
$ cat boot/grub/grub.cfg
set imgdevpath="/dev/disk/by-uuid/2f2ec7ab-1cc0-4f9e-8d6b-4e0ca64592ae"
menuentry 'ArchISO 2021-04-01' {
set isofile='/boot/grub/iso/archlinux-2021.04.01-x86_64.iso'
loopback loop $isofile
search --fs-uuid --set=root 2f2ec7ab-1cc0-4f9e-8d6b-4e0ca64592ae
echo 'Loading Linux...'
linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=$imgdevpath img_loop=$isofile earlymodules=loop
echo 'Loading initial ramdisk...'
initrd (loop)/arch/boot/x86_64/initramfs-linux.img
}
menuentry 'ArchISO 2021-05-01' {
set isofile='/boot/grub/iso/archlinux-2021.05.01-x86_64.iso'
loopback loop $isofile
search --fs-uuid --set=root 2f2ec7ab-1cc0-4f9e-8d6b-4e0ca64592ae
echo 'Loading Linux...'
linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=$imgdevpath img_loop=$isofile earlymodules=loop
echo 'Loading initial ramdisk...'
initrd (loop)/arch/boot/x86_64/initramfs-linux.img
}
menuentry 'ArchISO 2021-06-01' {
set isofile='/boot/grub/iso/archlinux-2021.06.01-x86_64.iso'
loopback loop $isofile
search --fs-uuid --set=root 2f2ec7ab-1cc0-4f9e-8d6b-4e0ca64592ae
echo 'Loading Linux...'
linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=$imgdevpath img_loop=$isofile earlymodules=loop
echo 'Loading initial ramdisk...'
initrd (loop)/arch/boot/x86_64/initramfs-linux.img
}
menuentry 'ArchISO 2021-07-01' {
set isofile='/boot/grub/iso/archlinux-2021.07.01-x86_64.iso'
loopback loop $isofile
search --fs-uuid --set=root 2f2ec7ab-1cc0-4f9e-8d6b-4e0ca64592ae
echo 'Loading Linux...'
linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=$imgdevpath img_loop=$isofile earlymodules=loop
echo 'Loading initial ramdisk...'
initrd (loop)/arch/boot/x86_64/initramfs-linux.img
}
menuentry 'ArchISO 2021-08-01' {
set isofile='/boot/grub/iso/archlinux-2021.08.01-x86_64.iso'
loopback loop $isofile
search --fs-uuid --set=root 2f2ec7ab-1cc0-4f9e-8d6b-4e0ca64592ae
echo 'Loading Linux...'
linux (loop)/arch/boot/x86_64/vmlinuz-linux img_dev=$imgdevpath img_loop=$isofile earlymodules=loop
echo 'Loading initial ramdisk...'
initrd (loop)/arch/boot/x86_64/initramfs-linux.img
}
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Opening a feature request on the bug tracker for Release Engineering would be the best option to reach people responsible.
Last edited by mpan (2021-08-24 02:57:11)
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Offline
The feature request misses any references supporting the claim that “This is a standard that has been adopted by several distributions by now.”
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
This is currently the only way to automatically configure liveiso running from a file. It is confirmed by the presence of the file /boot/grub/loopback.cfg in the images of many distributions.
Offline
Pages: 1