Message: previous - next
Month: June 2015

Re: [trinity-users] live flashdrive with exegnu (or something)

From: "E. Liddell" <ejlddll@...>
Date: Tue, 30 Jun 2015 06:57:12 -0400
On Tue, 30 Jun 2015 01:55:29 -0400 (EDT)
Felmon Davis <davisf@...> wrote:

> On Mon, 29 Jun 2015, Robert Peters wrote:
> > On 29 June 2015 at 22:50, Felmon Davis <davisf@...> wrote:
> > <snip>
> >> ok, I may settle for PCL but my preference would be to know how to integrate
> >> the firmware into the livecd and use exegnu. I'll avoid Ubuntu in any case.
> > <snip>
> >
> > Check my latest post under "New amd64 exegnulinux devuan-based iso
> > with TDE".  If you have access to a distro with the non-free files,
> > maybe you can copy them to the live flashdrive.  Or copy them over
> > after installation.
> > R.
> I saw your post and congratulations for solving your problem.
> in my case:
> a) I don't think one can just copy stuff over to a livecd and have it 
> work. one has to deal with the special filesystem on a livecd; and

I wouldn't say it's "special", exactly--usually you've got an iso with a 
squashfs blob containing a pretty normal linux filesystem inside.  I've 
never actually tried this, but based on a little reading, the modification 
steps would be something like this:

1. Mount the iso read-only
2. Copy all the files to a temporary directory in your computer's main 
  file system
3. Mount the squashfs (on the non-current exegnu image I probed,
  it was in /mnt/temp/live )
4. Copy the files out of the squashfs and into a temporary directory, 
  since that file system is read-only
5. Mess around with the files as you would on any other system
6. Rebuild the squashfs (
  has fairly extensive directions) and copy it over the old one.
7. Rebuild the iso using the software of your choice (a different livecd
  distro suggests a command-line tool called xorriso, if you have no
  preference or can't get your favourite to produce something bootable)

You'll need to have support for squashfs in your kernel, but most
of the binary distros throw in everything but the kitchen sink anyway.

Best of luck.

E. Liddell