Open mariusz-stordis opened 2 years ago
Can you please provide a screen shot or log dump? I need an error message to assist in troubleshooting.
I've already found the error. The problem was the script under BIOS not EFI. But I have three other questions. We can possibly correspond by email.
# Alternatively, if you want to install to a location other than the mbr,
-i grub-installer/bootdev string (hd0,1) or
-i grub-installer/bootdev string (dev/sdb)
whatever I don't change it can't install GRUB.
I am uploading the file.
EDIT:
Automatic grub installation works when I change:
d-i grub-installer/bootdev string (/dev/sdb)
to
d-i grub-installer/bootdev boolean dev/sdb
Can you please provide a screen shot or log dump? I need an error message to assist in troubleshooting.
Everything is already working. Is it possible to convert this script to work with a full iso image that doesn't require an internet connection?
In theory, yes. Just change the script so that it pulls the full image from the releases site.
Unfortunately, changing the link itself does not work.
It looks like Canonical removed the legacy ISO files that use the preseed file that I have for this. They have the netboot mini.iso which does the network booting which you don't want for Focal, but not Jammy. I may have to experiment how to do this with the live installer
I made a fork. And it works with the FOCAL version of the netboot but there are cases that the switch has no internet. I also saw onie packer has an interesting approach but it doesn't work with me because on 9180 is Kernel version 4 and when I change the image to 20.04 it starts the process but gives errors with kernel. I try to load Kernel with kexec command but it stays in busybox and does nothing. Your script I still have rewritten so that it copies the entire ISO or unzipped ISO to the bin file but I don't know how to force the installer to fire. It would be nice if it would work even without the preseed file. And in automatic mode it's already a fairy tale.
If that's not a problem how about contacting via email?
The installation process goes pretty much to the end and at the end there is some problem with GRUB.