Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (85) </ ... 42 43 44 45 46 [47] 48 49 50 51 52 ... >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: ReMastering HOWTO for DSL, Also for newbies and other enthusiasts< Next Oldest | Next Newest >
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: April 07 2006,15:27 QUOTE

Hi there!

If someone knows how to do an "apt-get" remaster I would highly appreciate some help on that subject. Thank's in advance!

Have fun,
meo


--------------
"Live and let live"   Treat others the way you want to be treated because that's what you should expect from them.

"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: April 07 2006,18:18 QUOTE

meo, I'm not really sure what your asking for, but I think it's how to use apt-get during the remastering process to stuff new apps into the remaster instead of the base system.

This used to be easier.  For some reason when I started using dsl, I could do a chroot and then run mydsl-load fine.  Then things changed and I needed to be user dsl so I had to su dsl before I ran mydsl-load.  Now even that doesn't work but here's how I got apt-get loaded into the remaster:

First I create my directories the same way you showed us so many moons ago.  Create the source and newcd directories wherever you want to.  Copy the dsl-dpkg.dsl package into the source/KNOPPIX/home/dsl directory. Change what you shell believes is the root using the chroot command.  Use tar to extract the contents of the dsl-dpkg.dsl package into the new root directory (your remaster's root).  Run apt-get update, then install using apt-get install whatever.  Then exit the chroot using the exit command (or hitting control-d).

Code Sample
## make and populate the directories source and newcd as before
## stop your old procedure just before the first mkisofs step
# copy dsl-dpkg.dsl into the home/dsl directory of your remaster
cp dsl-dpkg.dsl source/KNOPPIX/home/dsl
# change the root directory to the one your remaster will use
sudo chroot source/KNOPPIX
# The source/KNOPPIX  directory now apears as
# the root of the shell you're in
cd /home/dsl
# install your dpkg and apt-get package using tar
tar -xzvf dsl-dpkg.dsl --same-owner -C /
rm dsl-dpkg.dsl  # you no longer need it
# update the package list
# edit /etc/apt/sources.list to change from stable
# if you need to (I don't anymore)
apt-get update
# now install whatever you want
apt-get install gcc g++ make g77 nasm patch libncurses5-dev libreadline4-dev
# then clean away the deb files since they're not needed anymore
apt-get clean
exit


Now continue to remaster with the

mkisofs -R source | create_compressed_fs - 65536 > newcd/KNOPPIX/KNOPPIX

step.
Back to top
Profile PM 
shui Offline





Group: Members
Posts: 15
Joined: May 2005
Posted: April 10 2006,16:29 QUOTE

After a year of trying, I've finally remastered DSL (three or four times, but I had some other troubles) and burned it (twice I managed to get this far) and both versions I've booted have given me an error message saying that the knoppix filesystem isn't found. What am I doing wrong?
Back to top
Profile PM 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: April 11 2006,22:06 QUOTE

Hello guys!

Thank You very much clacker for the info about using apt-get to make a remaster! I'll dig in to it ASAP. I'm trying out the new 2.4RC1 unremastered(for now) as I'm posting this. To shui I have to say, that at least when it comes to me, I have to know how you did the remaster before I can comment on what went wrong.

Have fun out there,
meo


--------------
"Live and let live"   Treat others the way you want to be treated because that's what you should expect from them.

"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire
Back to top
Profile PM 
shui Offline





Group: Members
Posts: 15
Joined: May 2005
Posted: April 12 2006,01:13 QUOTE

$sudo su
#mke2fs /dev/hda3
#mount -rw /dev/hda1 /mnt/hda1
#mount -rw /dev/hda3 /mnt/hda3
#mount -rw /dev/hda5 /mnt/hda5

hda1 is a 10 gig or so windows 2000 NTFS partition where my source files are.
hda3 is about the same size as hda1.
hda5 is a 730 MB or so FAT32 partition where the ISO will be copied at the end.

#mkdir /mnt/hda3/source
#mkdir /mnt/hda3/newcd
#mkdir /mnt/hda3/newcd/KNOPPIX
#cp -Rp /cdrom/boot /mnt/hda3/newcd
#cp -Rp /cdrom/lost+found /mnt/hda3/newcd
#cp -Rp /cdrom/index.html /mnt/hda3/newcd
#cp -Rp /mnt/hda1/files /mnt/hda3/newcd
#cp -Rp /mnt/hda1/optional /mnt/hda3/newcd
#cp -Rp /mnt/hda1/x.dsl /mnt/hda3/newcd (all the .dsl files)
#cp -Rp /KNOPPIX/* /mnt/hda3/source
#cp -Rp /KNOPPIX/.bash_profile /mnt/hda3/source
#mkisofs -R /mnt/hda3/source | create_compressed_fs - 65536 > /mnt/hda3/newcd/KNOPPIX/KNOPPIX
#cd /mnt/hda3
#mkisofs -no-pad -l -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o mydsl.iso newcd
#cp /mnt/hda3/mydsl.iso /mnt/hda5
Reboot and burn.
Back to top
Profile PM 
422 replies since April 14 2004,19:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (85) </ ... 42 43 44 45 46 [47] 48 49 50 51 52 ... >/
reply to topic new topic new poll
Quick Reply: ReMastering HOWTO for DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code