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) </ ... 16 17 18 19 20 [21] 22 23 24 25 26 ... >/

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





Group: Members
Posts: 90
Joined: April 2004
Posted: Jan. 03 2005,15:39 QUOTE

Quote (aqeq @ Dec. 15 2004,21:50)
I've read the past entries, but I'm still having trouble remastering DSL.  So my situation is, I took version 0.8.4, and copied onto my HD (I'm running SuSE 9.1).  Then I just add music files, so I don't waste a whole 700MB CD.  I copied the music files into a directory, /music/.  I made the iso with:
mkisofs -l -r -J -b boot/isolinux/isolinux.bin -no-emul-boot -c boot/isolinux/boot.cat -o dslc-0.8.4.iso .

Then I try it out.  I get an error message saying,
"ISOLINUX 2.04 (Debian, 2003-06-06) isolinux: Image checksum error, sorry...

Boot failed: press a key to retry...
"

How can I fix this?
Thanks

mkisofs -l -r -J -b boot/isolinux/isolinux.bin -no-emul-boot -c boot/isolinux/boot.cat -o dslc-0.8.4.iso .

Couple of things:
You need to be a directory up, pointing to the CD filesystem with the command (assume the folder's called remaster)
the -boot-info-table option is not optional.  Neither is -hide-rr-moved or -boot-load-size 4.  You need to read meo's latest remastering guide (in this forum).

the appropriate command is:
Code Sample
mkisofs -no-pad -l -r -J -hide-rr-moved -boot-load-size 4 -boot-info-table -no-emul-boot -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o dslc-0.9.1.iso remaster
Back to top
Profile PM 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: Jan. 06 2005,21:01 QUOTE

Hi again everybody!
Just a quick post telling that it works fine to remaster the 0.9.2 version of DSL just in RAM. Here it comes:

DSL RAM-Remaster HOWTO

Change the keyboard-layout (unless you have a us keyboard)
$sudo loadkeys se-latin1  (I have a swedish keyboard)
$startx

Mount the partition needed
$sudo su
#mount -rw /dev/hda1 /mnt/hda1  (here I store needed files)

Make the directories needed
#mkdir source newcd newcd/KNOPPIX

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

Copy the sources to the right 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

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

Then REMOVE the source directory if you have just 256 MB of RAM

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

One thing that I discovered when thinking of remastering the embedded DSL, is that it's possible just to delete the original knoppix-file from the usb-drive (where you unzipped the DSL-embedded file) and replace it with your own remastered one (for example done the way described above) and it works just fine. Then you have a remastered embedded usb instantly. Not to bad, or what?

Keep having fun with remastering this wonderfully versatile distro,
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 
Rapidweather Offline





Group: Members
Posts: 375
Joined: Jan. 2004
Posted: Jan. 07 2005,00:48 QUOTE

One the things I like to do when I remaster is to put the command lines that I use
in a document, then I can just copy and paste them into a rxvt. Saves having to key-in all that. Here is what I am currently including in my Knoppix 3.4 remaster:
Quote
******************************************************

These are the command lines used for making Beta 34 Filesystem:

file name is /home/knoppix/download/remaster_command

These are commands used to remaster the Knoppix distribution,
and are provided here for copy and paste use:

Assume that your master copy is in /mnt/hdb6:

 1. Make the /mnt/hdb6 filesystem writable:

    # mount -o rw /dev/hdb6 /mnt/hdb6

    Make the changes you want, then:

 2. Compress the filesystem (This takes a long time)

    First, CD to /mnt/hdb6

    # mkisofs -R -V "Rapidweather Remaster filesystem" -P "rapidweather.com" /mnt/hdb6/KNOPPIX | create_compressed_fs - 65536 > /mnt/hdb6/NewCD/KNOPPIX/KNOPPIX

    |<-mark   (Copy to one line above the mark)

 3. Now do the md5sum:

    First, CD to /mnt/hdb6/NewCD

    # rm -f KNOPPIX/md5sums

    # find -type f -not -name md5sums -not -name boot.cat -exec md5sum {} \; >> KNOPPIX/md5sums

 4. Now, make the .iso:
   
    Here is the new procedure used with Beta 34:

    After the md5sums has been made, in step 3, above:

    # cd ..         (This will move you up one directory, to /mnt/hdb6, the root of the partition.)

    Here is your .iso command line:

    # mkisofs -pad -l -r -J -v -V "KNOPPIX" -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o RR_K34_Betax.iso NewCD/

    | <-mark    (Copy to one line above the mark)
   
    Scroll over first, and change the Betax number! (Or do that after)
         
    Your new .iso will be in the root of /mnt/hdb6


 5. Now, you can reboot and test your .iso: (before burning it to cd)


    # boot: knoppix bootfrom=/dev/hdb6/NewCD/RR_K34_Betax.iso

 

I am running that remaster now, and of course I put Firefox, Opera,  Emelfm, Scite in there, and use the lighter window manager "icewm". Since it is a remaster of Knoppix 3.4, it runs about 680 MB.
I have the same sort of thing in my Rapidweather Remaster of Damn Small Linux, now up to version 3.0, after nearly a year. It runs the fluxbox wm, and has both Opera and Firefox, too. Both of these remaster distros are used to make more of them, since all of the tools are there, even the "command lines" to use when the time comes to put it all together.
Main problem I have is that apt-get only works in Knoppix, and I have used it
in a chroot'ed rxvt to add and remove stuff from the filesystem in NewCD, which is the one that will next be made, not the one currently running. So, I can
look at the Debian packages list in Firefox, using the currently running version, and work on the master copy with apt-get. I use Emelfm a lot, since the double pane setup gives me a way to test a lot of things in the currently running os, before copying over to the master.
---
I use a separate partition for the smaller Damn Small remaster, which is based on DSL 0.6.2. I like using it, since it runs on everything.
Then, another partition is used to make logo.16's.
---
Also like using GIMP to fix up nice built-in wallpapers for these remasters.
(Gimp, only in my Knoppix 3.4 remaster, not DSL)
---
I don't use any add on's like .dsl's, but of course I have to have backup tarballs for both, for personal settings. (These are live-CD distro's).
  :D


--------------
Rapidweather Remaster of DSL:
http://www.angelfire.com/ms/telegram/getting_started.html
Rapidweather Remaster of Knoppix Linux:
http://www.geocities.com/rapidweather/getting_started.html
Screenshots:
http://www.rapidweather.com/linuxcdsales.html
Back to top
Profile PM WEB 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: Jan. 12 2005,23:42 QUOTE

Hi Y'all!
I just want to make a request. I would like to be able to order blank 50 MB cd-r's from the DSL-store. Here in Sweden they are nowhere to found nowadays. I guess it is the same way in other countries (so probably many others would have an interest in this). Since remastering this remarkably distro is so popular (at least it seems like it) that would be another reason to make blank 50 MB cd-r's available in the DSL-store. At least for me it would forfeit the purpose to burn a remaster to a larger  cd than necessary. It is just so cool to have it all on a creditcard-sized cd. I would be ready to pay "overprice" so as to make a donation to the project. So, please, at least think about it John (and Robert) it would mean a great deal!

Keep on having fun remastering DSL,
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 
softgun Offline





Group: Members
Posts: 120
Joined: Dec. 2004
Posted: Jan. 24 2005,14:55 QUOTE

Quote (meo @ Jan. 06 2005,16:01)
Hi again everybody!
Just a quick post telling that it works fine to remaster the 0.9.2 version of DSL just in RAM. Here it comes:

DSL RAM-Remaster HOWTO

One thing that I discovered when thinking of remastering the embedded DSL, is that it's possible just to delete the original knoppix-file from the usb-drive (where you unzipped the DSL-embedded file) and replace it with your own remastered one (for example done the way described above) and it works just fine. Then you have a remastered embedded usb instantly. Not to bad, or what?

Keep having fun with remastering this wonderfully versatile distro,
meo

Thanks MEO

Please tell me
1. How much RAM do I need?
2. At what level do I do my apt-get install?
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) </ ... 16 17 18 19 20 [21] 22 23 24 25 26 ... >/
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