The officially official Devuan Forum!

You are not logged in.

#1 2023-03-27 18:21:35

3t0n1c
Member
Registered: 2023-03-07
Posts: 5  

Chimaera Minimal Live ISO Customization Question

Hey guys, I just have a quick question. I am sure someone here will know the answer rather quickly.

So, I am trying to customize the ISO to suite my needs during crunch time when I have a down system and I need to restore or need all the necessary tools be available on hand. This includes a lot of custom bash scripts, etc that I need to have on the ISO itself.

Make a long story short, I know how to modify it and add my own scripts so that they're available upon boot.

What I would also like to do is change grub.cfg in such a way that I don't have to pass kernel parameters such as "vga=" at boot time, but rather hardcode it.
I edited \boot\grub\grub.cfg, made a new ISO but the changes do not show when I boot from my new ISO.
It seems to me that the grub.cfg file is indeed ignored, or rather loaded from elsewhere.

Any help would be greatly appreciated.

Thank you all.

Offline

#2 2023-03-27 18:56:09

3t0n1c
Member
Registered: 2023-03-07
Posts: 5  

Re: Chimaera Minimal Live ISO Customization Question

I think I just answered by own question. I did not realize my hardware was running in Legacy mode, not EFI, so changing the \boot\grub\grub.cfg file was never read.
If anyone runs into this, you have to go and change the \isolinux\isolinux.cfg file instead.

Offline

#3 2023-03-29 19:17:10

czeekaj
Member
Registered: 2019-06-12
Posts: 88  

Re: Chimaera Minimal Live ISO Customization Question

Thanks for the tips.

If anyone knows how to create an Iso in legacy bios that also boots in efi would be much appreciated.

Offline

#4 2023-03-29 20:49:15

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,240  

Re: Chimaera Minimal Live ISO Customization Question

I know two ways to make a live-iso that boots legacy bios or uefi.
1. live-sdk https://dev1galaxy.org/viewtopic.php?id=551
2. refractasnapshot https://refracta.org/docs/readme.refractasnapshot.txt
The latter is easier - it makes a bootable live-iso copy of your installed system. That could be a hardware install or a VM.

Offline

Board footer