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.Bro.Tiag wrote:Because nothing beats a few cli commands & a good How To.Bulkley wrote:I'm somewhat surprised that there isn't a good re-mastering GUI available.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
creating custmized Debian CD
Re: creating custmized Debian CD
-
- Posts: 70
- Joined: 2010-02-08 21:31
Re: creating custmized Debian CD
Hopefully i will have time this weekend to try all these great ideas. Thank you very much for the input.
Re: creating custmized Debian CD
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.
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.
Re: creating custmized Debian CD
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).Bulkley wrote: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.Bro.Tiag wrote:Because nothing beats a few cli commands & a good How To.Bulkley wrote:I'm somewhat surprised that there isn't a good re-mastering GUI available.
Cheers
Re: creating custmized Debian CD
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?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.
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.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).
Re: creating custmized Debian CD
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...
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...
-
- Posts: 70
- Joined: 2010-02-08 21:31
Re: creating custmized Debian CD
Don't forget that I am working in a powerpc arch. So remastersys will not work for example.
Re: creating custmized Debian CD
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
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
Re: creating custmized Debian CD
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.Bulkley wrote: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?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.
-
- Posts: 70
- Joined: 2010-02-08 21:31
Re: creating custmized Debian CD
Ok, I tried to run a test with lh_config and lh_build
I tried a simple one:
Let it do its job then I ran
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...
I tried a simple one:
Code: Select all
lh_config -d lenny -a powerpc -p lxde --debian-installer=enabled
Code: Select all
sudo lh_build
P: Deconfiguring file /bin/hostname
mv: cannot stat `chroot/bin/hostname.orig': No such file or directory
P: Begin unmounting filesystems...
-
- Posts: 70
- Joined: 2010-02-08 21:31
Re: creating custmized Debian CD
ok, did a
now it's going again....keep you updated...
Code: Select all
lh_clean && lh_build
-
- Posts: 70
- Joined: 2010-02-08 21:31
Re: creating custmized Debian CD
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.
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.
-
- Posts: 70
- Joined: 2010-02-08 21:31
Re: creating custmized Debian CD
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...
P: Begin building binary iso image...
mv: cannot stat `binary': No such file or directory
P: Begin unmounting filesystems...
Re: creating custmized Debian CD
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:
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:
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).
1) Try the most simple command:
Code: Select all
lh_config
lh_build
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
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.
-
- Posts: 70
- Joined: 2010-02-08 21:31
Re: creating custmized Debian CD
I am on Lenny. I will try to use the easiest:
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...
Code: Select all
lh_config
lh_build
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...
-
- Posts: 70
- Joined: 2010-02-08 21:31
Re: creating custmized Debian CD
some update:
gave me a binary.iso in Lenny. Now I try with the installer...
Code: Select all
lh_config && lh_build
Re: creating custmized Debian CD
Something that might be causing you trouble is that when you do #lh config it creates a /config/ directory and stuffs it full. This can interfere with your next attempt which is the point of lh clean. However, I often find that it helps to remove the /config/ directory and all its contents.
-
- Posts: 70
- Joined: 2010-02-08 21:31
Re: creating custmized Debian CD
Thanks for your advise Every new attempt I delete everything. Let's see what the problem is, after this one I can tell you more.
-
- Posts: 70
- Joined: 2010-02-08 21:31
Re: creating custmized Debian CD
It's the debian installer which creates the problem. I will try without the installer and chroot into the system I created, add the installer and things I want and then I try to see if I can make it into an iso.
-
- Posts: 70
- Joined: 2010-02-08 21:31
Re: creating custmized Debian CD
The last command gives me this:as a user
binary.iso is on the Desktop
open terminal
su to root
cd Desktop
mkdir iso
mkdir temp
mount binary.iso -o loop temp/
cp -a temp/* iso/
umount temp/
mount -t squashfs -o loop iso/live/filesystem.squashfs temp/
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg | tail gives
[37495.213219] SQUASHFS error: Can't find a SQUASHFS superblock on loop0
Anyone who can help me on this one ?
PS squashfs-tools are installed. squashfs kernel module is loaded