Page 1 of 1

How does one customize the live-CD?

Posted: Wed Jun 24, 2009 12:52 am
by bulkley
How does one customize the Debian/Lxde live-CD that one downloads from this site? I have tried copying /user with all my settings to squashfs-root/home/user, building a new filesystem.squashfs and burning a new CD but it refuses to read it. Worse, it tries to build a second /user. There has to be another way to do this and I'm sure someone has tried it. Any ideas?

Re: How does one customize the live-CD?

Posted: Wed Jun 24, 2009 5:41 pm
by bulkley
Does anyone know where LXDE hides the instruction to not use my custom /user and all it's hidden files?

Re: How does one customize the live-CD?

Posted: Wed Jun 24, 2009 6:09 pm
by paxman

Re: How does one customize the live-CD?

Posted: Wed Jun 24, 2009 6:23 pm
by bulkley
paxman wrote:You could try with Remastersys.
Thanks, do they have a 64 bit version? Even If they don't, they might have instructions. I'll take a look.

Re: How does one customize the live-CD?

Posted: Wed Jun 24, 2009 11:22 pm
by bulkley
I played a bit with Remastersys but it doesn't lead where I want to go. I want to change the defaults in the live-CD so that it mimics what it would do if I installed it to my hard drive. Basically, I want to have a portable Debian-Lxde all set up with my Iceweasel settings, bookmarks, etc. This should not be so hard to do and I'm a bit surprised that there isn't documentation about it here.

So far, I'm finding Slax much better for this. Slax uses a file called rootcopy which gets added to and booted by the live-cd.

The Debian-Lxde live-CD should be a natural for customization. It is easy to take apart and put back together. The problem is that it boots to the original instead of the desired changes. What has to be changed?

Re: How does one customize the live-CD?

Posted: Sat Jun 27, 2009 10:08 pm
by archibald haddock
It is a debian disk. You maybe should aks some debian guys. I have not seen many of them here.

Re: How does one customize the live-CD?

Posted: Sun Jun 28, 2009 3:26 am
by bulkley
archibald haddock wrote:It is a degian disk. YOu maybe should aks some debian guys. I havenot seen many of them here.
That's what I started doing. If I find an answer, I'll post it here.

Re: How does one customize the live-CD?

Posted: Sat Jul 11, 2009 6:38 pm
by bulkley
I'm beginning to make progress with this. I've replaced the opening splash.png and altered the backgrounds. Iceweasel now has my configuration and bookmarks. Some of the /etc files have been changed.

First, I made a directory on my hard drive called /lxde. Then I booted the CD and made all the changes I wanted. Then I copied the /.user directory to my harddrive /lxde, exited the CD and rebooted my system.

I used Isomaster to break the iso apart and export the filesystem.squashfs. Then I did

Code: Select all

# unsquashfs filesystem.squashfs
which creates squashfs-root. One can prowl around squashfs-root and change things as one likes.

The mistake I made before was to copu /.user to squashfs-root. That doesn't work. All it does is slow the boot process which rejects it. The place to put /.user files is in /etc/skel. One can actually put the whole /.user file in /etc/skel but it slows the boot and is unnecessary. I did add the .mozilla file which has all my Iceweasel settings. I also made changes to files such as /etc/apt/sources.list. When I was satisfied, I put it back together with

Code: Select all

# mksquashfs squashfs-root filesystem.squashfs
Isomaster put it back together. A fresh burn was all it took.

I still have not figured out how to make the audio/video to work yet. I have not had the time to dig into it yet. Still, I am writing this using my live-CD away from home on someone else's machine, which was the goal.

Re: How does one customize the live-CD?

Posted: Mon Jul 20, 2009 8:24 pm
by bulkley
I now have the audio-video working. To make it work I had to

Code: Select all

extract the squashed filesystem
move the package into the extracted filesystem
chroot into the extracted filesystem
export LC_ALL=C
install the package using dpkg or whatever
squash the filesystem
And put it all back together. This has become much nicer. I can hand the CD to anybody and he/she can boot it and everything works the way I want it to.

I am really surprised that there is not more interest on this forum for re-mastering the live-CD. LXDE is an absolute natural for this. Because LXDE is so compact, it does not take up a lot of space on the CD yet it is fully functional when booted up. The CD I have made up is only 481.8mb.