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) </ ... 54 55 56 57 58 [59] 60 61 62 63 64 ... >/

[ 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 >
charliez Offline





Group: Members
Posts: 33
Joined: April 2006
Posted: Aug. 08 2006,11:42 QUOTE

Hi meo!

When using your steps to remaster and you wanted to inject some mydsl UCI files into the remaster, would you just put them into $source/opt and would the new cd load them automatically or are there additional boot time steps needed?
Back to top
Profile PM 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: Aug. 09 2006,04:55 QUOTE

Hi charliez!

As I use an usb pendrive I just keep uci- and unc-files that I want loaded right away in a directory called mydsl. Dsl files however are easy to put in a remaster as previously mentioned.

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





Group: Members
Posts: 73
Joined: Mar. 2006
Posted: Aug. 09 2006,09:41 QUOTE

hi meo,
you have any latest HOWTO for remaster DSL that was installed on HDD?
thanx
Back to top
Profile PM 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: Aug. 16 2006,16:28 QUOTE

Hello jimihieu!

Well I have never  made a remaster from an harddrive installation. I make remasters directly from the live cd and then usually in RAM instead of using the harddrive at all. But now I have been doing remasters from the live cd copying the contents do directories on the harddrive. That makes it easy to make small changes on a following up remaster since you already have it all copied to the harddrive. This is the latest HOWTO using this method:

Programmers Remastering HOWTO for DSL

Download the following modules to home/dsl
cvs.dsl
flex-bison-libtool.dsl
gnu-utils.dsl
gcc1-with-libs.dsl

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

Create the directories needed
#mkdir /mnt/hda3/source
#mkdir /mnt/hda3/newcd
#mkdir /mnt/hda3/newcd/KNOPPIX

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

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

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

Copy the modules to source/home/dsl and install them
#cp cvs.dsl /mnt/hda3/source/home/dsl
#rm cvs.dsl

Follow this procedure with all the modules so they all end up in source/home/dsl

#chroot /mnt/hda3/source
#cd home/dsl

OBS! Make sure there are two hyphens "-" before --same in same-owner. I doesn't look so in the standard firefox browser.

#tar -zxvf cvs.dsl –same-owner -C /
#rm cvs.dsl
#tar -zxvf flex-bison-libtool.dsl –same-owner -C /
#rm flex-bison-libtool.dsl
#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 /mnt/hda3/source | create_compressed_fs - 65536 > /mnt/hda3/newcd/KNOPPIX/KNOPPIX

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

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

This remaster works very well as far as I know compiling sourcecode.

Have fun everybody,
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: Aug. 31 2006,20:03 QUOTE

Hello, Y'all!

Just want to mention a cool thing that's possible when making a remaster like the one mentioned in my last post. It's possible to compile program source-code directly into the remaster after adding "gcc1-with-libs.dsl" to the remaster. Just add the source-code to the same place as the dsl-packages added and compile them from there. But check for dependencies before to make it work. I've done it with bcrypt (witch needs zlib to work so I compiled in that one first). I haven't tried any larger programs yet as I don't feel the need but it might work.

Have fun out there in cyberspace,
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 
422 replies since April 14 2004,19:11 < Next Oldest | Next Newest >

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

Pages: (85) </ ... 54 55 56 57 58 [59] 60 61 62 63 64 ... >/
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