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) </ ... 46 47 48 49 50 [51] 52 53 54 55 56 ... >/

[ 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: May 16 2006,07:10 QUOTE

Hello gatherer!

Just add /home/dsl/.mozilla to the filetool.lst and make a backup. Your bookmarks will then be saved and restored when you boot up again. Personally I keep a backup file on my USB-drive and one on my harddisk just in case something happens.

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 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: May 16 2006,10:15 QUOTE

Hello guys!

Just a quick note. I just made a programming remaster of the new DSL 2.4 adding gimp and k3b also and it worked nice. There doesn't seem to be a conflict between tcc and gcc.

As always 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 
johncc Offline





Group: Members
Posts: 4
Joined: May 2006
Posted: May 18 2006,01:44 QUOTE

Hello meo et. al.,

I have been trying this for a while and have a few questions.

1) Is the procedure from post #1 in this thread [still] accurate, since 2004?  Or, perhaps it has been edited in place to incorporated changes on 50 pages of subsequent discussion?

2) Once I chroot I no longer can get  to the internet to apt-get, etc -- nor even ping.  I even tried the "mount /proc" and "mount /dev" steps, though they disappeared in later version of the procedure that I saw somewhere around page 37.

3) I put some stuff in source/home/dsl before I created the KNOPPIX file from it.  But in the resulting LiveCD that I boot up, it was not there.

4) The ISO file prior to burning was about 72 meg.  I tried to use the "Install to PenDrive" tool to put it on a 128mb stick, but it ran out of space.  I guess I'm missing some math somewhere :)

I think I sort of understand (3) and (4), but I'm really more curious about (1) and (2)

Thanks!
John
Back to top
Profile PM 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: May 18 2006,09:36 QUOTE

Hi johncc!

The old remastering process doesn't work with the more resent versions of DSL. To make the internet connection work right off the bat I now make the whole remastering process in RAM. I have only 256 MB of RAM so I have made a swap-partition that is 2 GB. This kind of remastering takes a lot of space.If you want something in home/dsl after remastering it should go in etc/skel. Here comes the HOWTO I mainly use:

Apt-Get Ram-Remastering HOWTO for DSL
Making a remaster suitable for programming

Download the following modules to home/dsl
dsl-dpkg.dsl
gnu-utils.dsl
gcc1-with-libs.dsl

Mount the partitions needed
#mount –rw /dev/hda1 /mnt/hda1

Create the directories needed
#mkdir source newcd newcd/KNOPPIX

Copy necessary files to the newcd directory
#cp –Rp /cdrom/boot newcd
#cp –Rp /cdrom/lost+found newcd
#cp –Rp /cdrom/index.html newcd

Copy the sources to the proper directory
#cp –Rp /KNOPPIX/* source
#cp –Rp /KNOPPIX/.bash_profile source

Go through and copy wanted things to source
#cp –Rp /mnt/hda1/backgrounds source/etc/skel/.fluxbox
#cp –Rp /mnt/hda1/styles/* source/usr/share/fluxbox/styles

Copy dsl-dpkg to source/home/dsl and install
#cp dsl-dpkg.dsl source/home/dsl
#rm dsl-dpkg.dsl
#chroot source
#cd home/dsl
#tar -zxvf dsl-dpkg.dsl –same-owner -C /
#rm dsl-dpkg.dsl

(no need to edit source/etc/apt/sources.list; just go with oldstable )
#apt-get update
#apt-get install emacs21
#apt-get clean
#tar -zxvf gnu-utils.dsl –same-owner -C /
#rm gnu-utils.dsl
#tar -zxvf gcc1-with-libs.dsl –same-owner -C /
#rm gcc1-with-libs.dsl
#exit

Create the custom compressed image file
#mkisofs –R source | create_compressed_fs - 65536 > newcd/KNOPPIX/KNOPPIX

REMOVE the Source dir to gain space and make it work

Create the iso-file as follows
#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

Copy the iso-file to the partition where you have your favourite cd-burning program
#cp mydsl.iso /mnt/hda1

Of course you might want to add other dsl-files the same way. I have added gimp-1.2.dsl, k3b.dsl and skype.tar.gz also and they all work as far as I can tell. I hope this answers your questions otherwise get back to this thread and I will try to help.

As always 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 
johncc Offline





Group: Members
Posts: 4
Joined: May 2006
Posted: May 18 2006,13:53 QUOTE

Thanks for your reply, but if your internet connection (like mine) does NOT work after you chroot, why does your procedure include:
Quote

#chroot source
...
#apt-get update
#apt-get install emacs21
#apt-get clean


For me the apt-get update would not work at this point, since I have no network connectivity.  I would have had to have gotten the emacs21.deb file earlier, copied it over to home/dsl with the gcc dsl stuff, and then "dpkg install emacs21...deb".

Since I wrote last, I did succeed in doing just that (with a debian distcc package).

Turns out the main problem I was having is that the "Create a Pendrive" menu tool will create the bootable flashdrive nicely from a user-specified ISO file, but it only creates a (hardcoded) 50mb partition to hold it.  For my immediate purposes I just hacked the script to make a 90mb partition, and it then worked.

Now I have a compiler farm in my pocket!  (distcc.samba.org)

Thanks!
John
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) </ ... 46 47 48 49 50 [51] 52 53 54 55 56 ... >/
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