If it's not on-topic, it's in here.
Post a reply

Linux Live Disk Script

Sat Jul 01, 2017 11:33 am

https://www.linux-live.org

Linux Live Kit is a set of shell scripts which allows you to create your own Live Linux from an already installed Linux distribution , Debian is recommended but not required.


@ fsmithred

Don't know if your already aware of the above site but i thought i'd mention it in case any parts of the script are of use for refracta.

Re: Linux Live Disk Script

Sun Jul 02, 2017 12:48 pm

Thanks! Someone showed that to me a couple days ago and I had a quick look at it. And now I've had a closer look at it. It's a way to make a live iso without using live-boot and live-config. At some point, I'll play with it. If the live-* packages ever go away or stop working, this method appears to be an alternative.

Re: Linux Live Disk Script

Sun Jul 02, 2017 3:13 pm

Just run the script (no mods) on a Refracta install and surprisingly I ended up with a bootable .iso. Only had to install aufs-tools.

Re: Linux Live Disk Script

Mon Jul 03, 2017 4:47 am

@ fsmithred

My bad , i didn't realize it had a different approach to building the ISO

@ dyfi

Did it keep all your settings and drivers and was there much difference in ISO size?

Re: Linux Live Disk Script

Mon Jul 03, 2017 5:50 am

@ AlexRey - The .iso booted perfectly and all settings/drivers were intact. My Refracta Snapshot is 980MB and the Linux Live Kit .iso is 833MB.

Re: Linux Live Disk Script

Mon Jul 03, 2017 12:23 pm

Wow, that's a big difference in size. I'll have to take a look at the compression that the script uses.

Couple thoughts: 4.x kernels don't have aufs compiled in, so either a custom kernel will be needed or the script will need to be changed to use overlay instead of aufs. Also, I would guess that all the boot options and config options that are available with live-boot and live-config are not available with the live disk script. I didn't look at all the code, so there may be some options that do work.

Re: Linux Live Disk Script

Mon Jul 03, 2017 2:13 pm

The Refracta boot options are worth the extra size IMO. I tried today to run the script on a manjaro install, but it failed. No mkisofs or genisoimage package and aufs install failed.

Re: Linux Live Disk Script

Tue Jul 04, 2017 4:50 am

If you press the TAB key during the Boot Process don't you get a command prompt with the current boot code?

Not sure if it's the same for Manjaro with that aufs install fail but i'm pretty sure i've seen people mention that error for Arch in the past and they had to use a aufs kernel patch so i'm not sure if that would be needed for this script , might be worth a google?

Re: Linux Live Disk Script

Tue Jul 04, 2017 10:41 am

Yes, in syslinux/isolinux, TAB lets you edit the boot command. You can add kernel parameters, and if you're using live-boot and/or live-config, you can add any options that they provide. (see man live-boot and man live-config, and now that I think about it, also see the scripts in /lib/live/boot and /lib/live/config for the undocumented options.)

There are no plans here to drop live-boot and live-config (except maybe to switch to their open-infrastructure decendants if and when it makes sense to do that.)

Re: Linux Live Disk Script

Tue Jul 04, 2017 11:01 am

I was talking about pressing the tab key on the Linux Live Disk Script ISO for adding extra boot options as he can't use Refracta Tools for Manjaro as far as i'm aware?
Post a reply