Message: previous - next
Month: June 2015

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

From: Felmon Davis <davisf@...>
Date: Tue, 30 Jun 2015 15:01:14 -0400 (EDT)
On Tue, 30 Jun 2015, E. Liddell wrote:

> On Tue, 30 Jun 2015 01:55:29 -0400 (EDT)
> Felmon Davis <davisf@...> wrote:
> [...]
>> 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)

I once saw some instructions like this; a couple of steps are unclear 
to me but I don't have the time right now to muddle through but will 
attempt it when I get some 'hacking' time.

> 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.

looks like it's in the kernel here: 3.16.0-4-686-pae.


> Best of luck.
> E. Liddell

Felmon Davis

Dog wisdom:  Never pass up the opportunity to go for a joyride.