creating custmized Debian CD

News and discussion about development of the Debian OS itself

creating custmized Debian CD

Postby linuxopjemac » 2010-05-22 12:32

I want to create a customized Debian CD for the PowerPC architecture. I tried live-helper once but I find it too difficult and I couldn't find much info about it on the net. Did anyone try to do it with Ubuntu Customization Kit (uck) once ? Any advice?

Regards,
Jeroen
linuxopjemac
 
Posts: 68
Joined: 2010-02-08 21:31

Re: creating custmized Debian CD

Postby jheaton5 » 2010-05-22 18:15

I expect that if live-helper is too difficult, you need to learn more about debian. A good place to start is trying to learn what live-helper is telling you to do.
debian sid
User avatar
jheaton5
 
Posts: 1489
Joined: 2008-08-20 01:40
Location: Newnan, GA, USA

Re: creating custmized Debian CD

Postby Bulkley » 2010-05-22 18:50

Start with these.

Debian Live Manual
MeanDean's create a debian live image
refracta's create a debian live image using live-helper

Sorry, but we don't have a funky GUI for this. There is Live-Magic but all it does is download pre-designed combinations.
Bulkley
 
Posts: 5895
Joined: 2006-02-11 18:35

Re: creating custmized Debian CD

Postby linuxopjemac » 2010-05-24 20:55

Thanks I will try this in the future. I will let you know.
linuxopjemac
 
Posts: 68
Joined: 2010-02-08 21:31

Re: creating custmized Debian CD

Postby refracta » 2010-05-24 21:03

what all did you want to customize?
refracta
 
Posts: 1235
Joined: 2008-10-26 01:46

Re: creating custmized Debian CD

Postby Bulkley » 2010-05-24 23:17

There has been a change in live-helper usage that you should know about because it won't show in old posts and it won't work. We used to do lh_config and lh_build. Note the underline connector which has now been dropped and replaced with a space. Now we do lh config and lh build. Instructions and howtos are catching up but you may run into old ones.

When you first start using live-helper you will make mistakes. It helps to have an emulator to try them with. I use Virtualbox but there are others. That way I don't have to burn until I am satisfied.

Check these Debian live examples. (Remember to drop the underline connectors.) As an experiment, try doing
Code: Select all
lh config -p xfce-desktop && lh build
You should get a XFce iso which is not too much of a download. It will make a good test for you to learn with.
Bulkley
 
Posts: 5895
Joined: 2006-02-11 18:35

Re: creating custmized Debian CD

Postby refracta » 2010-05-24 23:48

depends on which version of live-helper you are using :wink:
refracta
 
Posts: 1235
Joined: 2008-10-26 01:46

Re: creating custmized Debian CD

Postby Bulkley » 2010-05-25 00:28

refracta wrote:depends on which version of live-helper you are using :wink:

Probably. I'm using Squeeze. Have the changes not hit Lenny yet?
Bulkley
 
Posts: 5895
Joined: 2006-02-11 18:35

Re: creating custmized Debian CD

Postby linuxopjemac » 2010-05-25 15:56

I am still on Lenny. I am porting Debian Linux Mint LXDE to PPC. I already have a working script, which installs the system after a minimal installation. I would like to make a liveCD next time when squeeze is out.
linuxopjemac
 
Posts: 68
Joined: 2010-02-08 21:31

Re: creating custmized Debian CD

Postby Bulkley » 2010-05-25 16:52

Have you been to the Debian Live Project? Note that they have pre-configured live-CDs in Testing with enough variety to satisfy just about everybody. Just click to download.
Bulkley
 
Posts: 5895
Joined: 2006-02-11 18:35

Re: creating custmized Debian CD

Postby linuxopjemac » 2010-05-26 14:49

I have a set of debian bianries which I compiled myself which I like to add to say an LXDE desktop. How would I do that ?
linuxopjemac
 
Posts: 68
Joined: 2010-02-08 21:31

Re: creating custmized Debian CD

Postby Bro.Tiag » 2010-05-26 15:46

linuxopjemac wrote:I have a set of debian bianries which I compiled myself which I like to add to say an LXDE desktop. How would I do that ?


Download the ppc-lxde iso. Once you have that you can mount the iso and copy it's content to a work directory. Now, you can mount the filesystem.squashfs, copy it's contents to another work directory and then chroot into it and make changes (ie add your bianries with dpkg -i ). The re-package the filesystem.squashfs, replace the original filesystem.squashfs with your new on and the rebuild the iso.

Here is a link to MeanDeans original (or near original) instructions, CREATE A LIVE IMAGE USING LIVE-HELPER, second & third posts. Mind you they are old and some of the commands have changed, but I just used (this past week end) it to make a new custom Sid iso I put to a usb stick as persistent.

Cheers
User avatar
Bro.Tiag
 
Posts: 1937
Joined: 2007-06-02 19:14

Re: creating custmized Debian CD

Postby Bulkley » 2010-05-26 16:21

Bro.Tiag's suggestion is right. My variation is to use live-helper to create an iso with the package list I want before I try to re-configure it.

I'm somewhat surprised that there isn't a good re-mastering GUI available. Ubuntu has a couple of programs but they don't work well. I have used isomaster with success however its usefulness is limited. I think Live-Magic is under-developed and doesn't even do a good job for what it's supposed to do.
Bulkley
 
Posts: 5895
Joined: 2006-02-11 18:35

Re: creating custmized Debian CD

Postby refracta » 2010-05-26 17:39

...you can also install the system, install your packages and then use live-helper to 'clone' the system

I prefer meandeans way though....although it is a bit of a hack.... :P
refracta
 
Posts: 1235
Joined: 2008-10-26 01:46

Re: creating custmized Debian CD

Postby Bro.Tiag » 2010-05-26 17:46

Bulkley wrote:I'm somewhat surprised that there isn't a good re-mastering GUI available.

Because nothing beats a few cli commands & a good How To.

Cheers
User avatar
Bro.Tiag
 
Posts: 1937
Joined: 2007-06-02 19:14

Next

Return to Debian Development

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable