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) </ ... 51 52 53 54 55 [56] 57 58 59 60 61 ... >/

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





Group: Members
Posts: 11
Joined: June 2006
Posted: June 24 2006,15:24 QUOTE

Just thought I'd add my two penn'orth here.  I found that this:

Quote
#mkisofs –R source | create_compressed_fs - 65536 > newcd/KNOPPIX/KNOPPIX


didn't work for me.  After fiddling for some time I found an error message that told me that 65536 is not divisible by 512.  So after a quick calculation I tried 65560 and it worked.  Why?  I don't know.

Then I found this:

Quote
#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


didn't work either.  After some more fiddling I found that this:

Quote
#mkisofs –no-pad –l –r –J -o mydsl.iso -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat –no-emul-boot –boot-load-size 4 –boot-info-table –hide-rr-moved  newcd


does work.  Again, no idea why but it might help somebody.  If at first you don't succeed, keep fiddling.

Keith
Back to top
Profile PM 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: June 28 2006,14:08 QUOTE

Hello keithw!

Anything that can be of help for someone when it comes to remastering is welcome. I've never experienced that kind of problem but if you have probably others have or will come across i too. So, thanks for your input. Happy remastering!

Have fun guys,
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: June 28 2006,14:30 QUOTE

RAM-Remastering HOWTO for DSL
Making a remaster suitable for compiling sourcecode

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

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 the modules to source/home/dsl and install them
#cp cvs.dsl source/home/dsl
#rm cvs.dsl

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

#chroot 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 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

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





Group: Members
Posts: 41
Joined: April 2006
Posted: July 03 2006,14:11 QUOTE

I've been following this thread and what I want to do seems to go against the grain, but here goes.  

I have used the mkmydsl script to make three or four of my own distro (it was quite a learning expeirence).  I actually want isolinux to start and to be prompted for cheatcodes - this would override grub installed on other machines I might use.  In a ram remaster using /home/dsl/myremaster and /home/dsl for the final iso, how and where would I include isolinux?

Another question - with a ram remaster, I've been copying my extensions and such to the remaster directory before running the mkmydsl script.  I would like to make changes to fluxbox and have them included and want to verify my options: a) save them to filetool.lst, b) save them in a backup file (can that be done in ram and save in the myremaster directory?) c) make changes in /etc/skel?  Can this be done before I run the mkmydsl script or would I have to try and do this through an aterm?

Thanks for all your help!

MDG
Back to top
Profile PM 
Jonah Thomas Offline





Group: Members
Posts: 12
Joined: Mar. 2006
Posted: July 10 2006,18:46 QUOTE

Quote (keithw @ June 24 2006,11:24)
I found that this:

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

didn't work for me.  After fiddling for some time I found an error message that told me that 65536 is not divisible by 512.  So after a quick calculation I tried 65560 and it worked.  Why?  I don't know.

That line didn't work for me today, and before it had. I tried making your change and that didn't work either. Reasonably enough since 65536 is divisible by 512.

Then something changed and it worked. The difference came right after I switched from putting a sudo at the beginning of the line, to doing sudo su . I tend to doubt that made the difference, it was probably some change I didn't notice making. I won't be able to test it until it stops working again.
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) </ ... 51 52 53 54 55 [56] 57 58 59 60 61 ... >/
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