rhino-linux / os

Rhino Linux ISO Builder.
GNU General Public License v3.0
53 stars 10 forks source link

feat: Make the installer offline #42

Closed cat-master21 closed 1 year ago

cat-master21 commented 1 year ago

WIP, updates the bootloader and forces it be offline plus this removes about 0.25 GB as the default pool doesn't have GCC12 and GCC13.

cat-master21 commented 1 year ago

So for some reason dkms and other packages weren't removed/added but the installer works on UEFI but not on BIOS due to the iso not including grub-pc.

cat-master21 commented 1 year ago

So how Lubuntu does it with their Calamares installer is they boot with grub-pc then install grub-efi if needed.

oklopfer commented 1 year ago

So how Lubuntu does it with their Calamares installer is they boot with grub-pc then install grub-efi if needed.

This won't work on UEFI systems, though. The only way we could get it to do both UEFI + BIOS is by providing syslinux + grub-efi. Grub-pc is declared incompatible with grub-efi by live build.

cat-master21 commented 1 year ago

Yes, thats why Calamares installs grub-efi-amd64 if UEFI is detected and removes grub-pc yet Grub-pc is booted by both BIOS and UEFI in a live system @oklopfer.

oklopfer commented 1 year ago

Yes, thats why Calamares installs grub-efi-amd64 if UEFI is detected and removes grub-pc yet Grub-pc is booted by both BIOS and UEFI in a live system @oklopfer.

You are forgetting arm64 ISO platforms. grub-pc does not work for them. they need syslinux at least.

cat-master21 commented 1 year ago

Alright so I can boot the image, available at https://github.com/rhino-linux/os/actions/runs/5913927031 if you want to test unfortantely grub-pc-bin most also be installed. @oklopfer what do you mean, Arm64 uses grub-efi.

oklopfer commented 1 year ago

hey you should reply on discord tbh

oklopfer commented 1 year ago

but also realized we can't do this because of how apt needs to check with repos, allow-releaseinfo-change is vital for the rolling changes