handsome-grass-93237
09/25/2025, 1:24 AMmenuentry "Harvester 1.6.0 Installer ISO" --class os --unrestricted {
set root='hd2,gpt2'
set isofile="/boot/isos/harvester-v1.6.0-amd64.iso"
loopback loop $isofile
echo Loading kernel...
linux (loop)/boot/kernel root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.>
echo Loading initrd...
initrd (loop)/boot/initrd
}
brave-garden-49376
09/25/2025, 1:30 AMkernel ${install}/iso/boot/kernel initrd=initrd ip=dhcp net.ifnames=1 rd.cos.disable rd.noverifyssl root=live:${install}/iso/rootfs.squashfs
initrd ${install}/iso/boot/initrd
handsome-grass-93237
09/25/2025, 1:32 AMhandsome-grass-93237
09/25/2025, 1:45 AMA start job is running for /dev/gpt-auto-root
handsome-grass-93237
09/25/2025, 1:46 AMbrave-garden-49376
09/25/2025, 1:52 AMhandsome-grass-93237
09/25/2025, 2:12 AMhandsome-grass-93237
09/25/2025, 2:12 AMprehistoric-morning-49258
09/25/2025, 8:35 AMdd
the iso to a disk and then set kernel args, iirc we did it both directly and via iPXE boot from disk -> harvester. some scratch notes:prehistoric-morning-49258
09/25/2025, 8:35 AMmkdir -p /tmp/hefi
mount -o defaults /dev/nvme1n1p2 /tmp/hefi
tee /tmp/hefi/EFI/BOOT/grub.cfg >/dev/null <<EOF
search --no-floppy --file --set=root /boot/kernel
set prefix=($root)/boot/grub2
set extra_iso_cmdline="ip=dhcp rd.cos.disable rd.noverifyssl net.ifnames=1 root=live:<https://releases.rancher.com/harvester/v1.6.0/harvester-v1.6.0-rootfs-amd64.squashfs> console=tty1 harvester.install.skipchecks=true harvester.install.automatic=true harvester.install.config_url=<https://internal/config.yaml>
export extra_iso_cmdline
configfile $prefix/grub.cfg
EOF
efibootmgr -c -d /dev/nvme1n1 -p 1 -l "\EFI\BOOT\BOOTX64.EFI" -L "Harvester Installer" -u "ip=dhcp rd.cos.disable rd.noverifyssl net.ifnames=1 console=tty1 harvester.install.skipchecks=true harvester.install.automatic=true harvester.install.skipchecks=true harvester.install.automatic=true harvester.install.config_url=..."
prehistoric-morning-49258
09/25/2025, 8:39 AM