creating custmized Debian CD

News and discussion about development of the Debian OS itself

Re: creating custmized Debian CD

Postby Bulkley » 2010-05-26 21:28

Bro.Tiag wrote:
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.

Of course. I just figured that the demand would spur development. One would think that Live-Magic would let a user select packages but it doesn't even let one choose the LXDE option.
Bulkley
 
Posts: 5895
Joined: 2006-02-11 18:35

Re: creating custmized Debian CD

Postby linuxopjemac » 2010-05-27 07:42

Hopefully i will have time this weekend to try all these great ideas. Thank you very much for the input.
linuxopjemac
 
Posts: 68
Joined: 2010-02-08 21:31

Re: creating custmized Debian CD

Postby dzz » 2010-05-27 08:32

There is a (mainly) gui for remastering including (optionally) a live cd installer :

http://geekconnection.org/remastersys/

On that page are also generic instructions for doing so using standard Debian cli tools and methods. It is even possible to build from a base debootstrap and add what you want. You would however need some understanding of the processes involved.

Many good reviews are to be found and I have successfully used it numerous times.
dzz
 
Posts: 257
Joined: 2007-02-05 20:39
Location: Devon, England

Re: creating custmized Debian CD

Postby Bro.Tiag » 2010-05-27 15:24

Bulkley wrote:
Bro.Tiag wrote:
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.

Of course. I just figured that the demand would spur development. One would think that Live-Magic would let a user select packages but it doesn't even let one choose the LXDE option.

There are just to many options, with to many choices, with to many variations, to make a complete one size fits all gui to meet to many expectations (imo).

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

Re: creating custmized Debian CD

Postby Bulkley » 2010-05-27 17:09

dzz wrote:There is a (mainly) gui for remastering including (optionally) a live cd installer :

http://geekconnection.org/remastersys/

On that page are also generic instructions for doing so using standard Debian cli tools and methods. It is even possible to build from a base debootstrap and add what you want. You would however need some understanding of the processes involved.

Many good reviews are to be found and I have successfully used it numerous times.

I tried it a couple of years ago and found it sadly lacking. It was determined to use Ubuntu libraries which often clash with clean Debian. Did you read the instructions for Debian?

Bro.Tiag wrote:There are just too many options, with too many choices, with too many variations, to make a complete one size fits all gui to meet too many expectations (imo).

Which is why I use live-helper cli. However, one would think that Live-Magic would let one select from all 25 choices in /usr/share/live-helper/lists. Live-Magic is, after all, described as the "GUI frontend to live-helper." I think that Live-Magic development is not keeping up with Live-Helper.
Bulkley
 
Posts: 5895
Joined: 2006-02-11 18:35

Re: creating custmized Debian CD

Postby refracta » 2010-05-27 18:51

Refracta includes a tool called remixer but it is specifically made for lenny 5.0.4 with 2.6.26 kernel, it requires rsync, mkiso tools, squash tools,sudo and so forth. It is drop dead easy to use, click on remixer in the menu or run remixer, gui pops up and you click apply, thats it. It will copy your system and spit out an iso in your home directory. It is how I make refracta actually.

I can't see live-helper ever having a good useful frontend since what is 'good' and 'useful' varies greatly. Although it could be better and I thought I heard something about it being worked on....and I am sure they could use more help. (hint hint) It would be cool to integrate synaptic into it, so you could (optionally) pick a desktop, then next you would pick packages to add, then you picked installer or not, then maybe persistance options, then build. I would like to see if have the 'clone system' option and a chance to add packages to that. But more important to have a great backend than a great frontend...nothing wrong with having a great set of headlights and junk in da trunk too... :wink:
refracta
 
Posts: 1235
Joined: 2008-10-26 01:46

Re: creating custmized Debian CD

Postby linuxopjemac » 2010-05-27 19:13

Don't forget that I am working in a powerpc arch. So remastersys will not work for example.
linuxopjemac
 
Posts: 68
Joined: 2010-02-08 21:31

Re: creating custmized Debian CD

Postby refracta » 2010-05-27 19:21

Thats why I was pretty hesitant to suggest anything....unsure about powerpc arch in general

here is the command to 'copy' your system....and include the live installer.....haven't played with in a while though and it may have changed
lh_config --bootstrap copy --debian-installer live
refracta
 
Posts: 1235
Joined: 2008-10-26 01:46

Re: creating custmized Debian CD

Postby dzz » 2010-05-27 19:54

Bulkley wrote:
dzz wrote:There is a (mainly) gui for remastering including (optionally) a live cd installer :

http://geekconnection.org/remastersys/

On that page are also generic instructions for doing so using standard Debian cli tools and methods. It is even possible to build from a base debootstrap and add what you want. You would however need some understanding of the processes involved.

Many good reviews are to be found and I have successfully used it numerous times.

I tried it a couple of years ago and found it sadly lacking. It was determined to use Ubuntu libraries which often clash with clean Debian. Did you read the instructions for Debian?


Remastersys was originally for Ubuntu, yes, but now officially supports Debian also (lenny and squeeze, with grub-legacy). I run only Debian, no Ubuntu libraries are installed here but remastersys works.
dzz
 
Posts: 257
Joined: 2007-02-05 20:39
Location: Devon, England

Re: creating custmized Debian CD

Postby linuxopjemac » 2010-05-29 09:42

Ok, I tried to run a test with lh_config and lh_build

I tried a simple one:
Code: Select all
lh_config -d lenny -a powerpc -p lxde --debian-installer=enabled


Let it do its job then I ran

Code: Select all
sudo lh_build


At the end I get an error:
P: Deconfiguring file /bin/hostname
mv: cannot stat `chroot/bin/hostname.orig': No such file or directory
P: Begin unmounting filesystems...
linuxopjemac
 
Posts: 68
Joined: 2010-02-08 21:31

Re: creating custmized Debian CD

Postby linuxopjemac » 2010-05-29 09:50

ok, did a
Code: Select all
lh_clean && lh_build

now it's going again....keep you updated...
linuxopjemac
 
Posts: 68
Joined: 2010-02-08 21:31

Re: creating custmized Debian CD

Postby linuxopjemac » 2010-05-29 16:03

Now I got a lot further, it made a filesystem.squashfs after that it started installing the installer I saw, now it stopped again :(

can't HFS create file binary/pool/main/a/attr/libattr1_1%3a2.4.43-2_powerpc.deb
genisoimage: No such file or directory. <no error message given>

I had this one before, it seems to always stop here.
linuxopjemac
 
Posts: 68
Joined: 2010-02-08 21:31

Re: creating custmized Debian CD

Postby linuxopjemac » 2010-05-29 16:09

If I give another sudo lh_build command I always get this error:

P: Begin building binary iso image...
mv: cannot stat `binary': No such file or directory
P: Begin unmounting filesystems...
linuxopjemac
 
Posts: 68
Joined: 2010-02-08 21:31

Re: creating custmized Debian CD

Postby nadir » 2010-05-29 17:15

Troubleshooting live-helper is no big fun (to be honest: i seldom had success, either it works or it doesn't).


1) Try the most simple command:
Code: Select all
lh_config
lh_build

If that fails too i would give up (waste of time, no result in the end)

2)What branch are you building on: lenny or squeeze/sid. If you don't use lenny try it on lenny.

3) Try what refracta has suggested above:
Code: Select all
lh_config --bootstrap copy --debian-installer live

It will copy everything. So: if you got a very huge collection of data you need to move it out of the way.
To move that problem out of the way in another way: Nowadays i do an installation in VirtualBox, configure it and run the command. Once i got my live-cd i delete the installation (or just let it sleep there)

4)Mix the lh_config command; try xfce instead of lxde, try squeeze or sid instead of lenny, try leaving out the installer, and so on....

I know nada bout powerpc.
But i do know that live-helper might become a real pain in the butt (without doing anything wrong).
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
User avatar
nadir
 
Posts: 5964
Joined: 2009-10-05 22:06
Location: away

Re: creating custmized Debian CD

Postby linuxopjemac » 2010-05-29 19:02

I am on Lenny. I will try to use the easiest:
Code: Select all
lh_config
lh_build

I will let you know if that works. If it doesn't, I will try my luck in Squeeze.

BTW I really need the installer. I am trying to make an installable Debian Mint LXDE PPC version. I presume/hope that the installer makes the same system as the live system...
linuxopjemac
 
Posts: 68
Joined: 2010-02-08 21:31

PreviousNext

Return to Debian Development

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable