softgun
Group: Members
Posts: 120
Joined: Dec. 2004 |
|
Posted: Mar. 05 2005,20:30 |
|
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
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 |
Meo,
What about doing an apt-get of programs and then making an iso? Is this possible too? Maybe too much to do just in RAM?
|