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) </ ... 6 7 8 9 10 [11] 12 13 14 15 16 ... >/

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





Group: Members
Posts: 570
Joined: June 2004
Posted: Sep. 02 2004,21:45 QUOTE

If you're trying to add sylpheed settings to a remaster, you need to copy both the .sylpheed and Mail directories from your home directory to the etc/skel directory of remaster source before you use mkisofs and create_compressed_fs.  If you put it in KNOPPIX/home/dsl it doesn't show up after you boot the remastered disk.

Anything you want to wind up in the home/dsl directory needs to go into the etc/skel directory of the remaster.
Back to top
Profile PM 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: Sep. 03 2004,19:49 QUOTE

Thank you to everybody that has helped me forward with this Remastering HOWTO!!! Here it comes ready for the changes in the most recent version 0.8:

Remastering HOWTO for Damn Small Linux

Change the keyboard-layout (unless you have a us-keyboard)

$sudo loadkeys se-latin1
$startx

Format the partition with the ext2 filesystem

$sudo mke2fs /dev/hda3

Become root and mount the right partition

$sudo su
#mount -rw /dev/hda1 /mnt/hda1
#mount -rw /dev/hda3 /mnt/hda3

Make the directories needed

#mkdir /mnt/hda3/source
#mkdir /mnt/hda3/newcd
#mkdir /mnt/hda3/newcd/KNOPPIX

Copy necessary files to directory /newcd

#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 right directory

#cp -Rp /KNOPPIX/* /mnt/hda3/source
#cp -Rp /KNOPPIX/.bash_profile /mnt/hda3/source

Go through and copy wanted things to /mnt/hda3/source

#cp -Rp /mnt/hda1/Docs/* /mnt/hda3/source/home/dsl
#cp -Rp /mnt/hda1/styles/* /mnt/hda3/source/usr/share/fluxbox/styles

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 first partition on your harddrive

#cp /mnt/hda3/mydsl.iso /mnt/hda1

Well this is at least one way to do it (and it works).

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





Group: Members
Posts: 5
Joined: Sep. 2004
Posted: Sep. 06 2004,19:20 QUOTE

And to ask a really silly question:

If we'd managed to remaster with open office, and used a CD-RW instead of CR-R, could we also then use the remastered CD to do some work offsite with a few Microsoft office files (yes, many people do use them, sadly) on our own laptop, save the docs in word and excel format on a directory on the CD-RW, let colleagues copy the files if necessary from the CD-RW at the end of the day, and then bring back the remastered CD-RW with the extra wrd/xls files and dump them on the main desktop machine?

In other words, could a remastered DSL on CD-RW become a portable and dynamic workspace?  (Recognising, of course, you'd periodically run out of space on a CD-RW, but you'd just start another one.)

DSL could be very good for this because it leaves so much spare space on a full size CD.  Also, works for machines that can't boot from USB etc.

Essentially, would the script work with CD-RW, and if CD-RW is used, can a rw directory be mounted on it?

Islander
Back to top
Profile PM 
adraker Offline





Group: Members
Posts: 229
Joined: Feb. 2004
Posted: Sep. 11 2004,00:01 QUOTE

Meo-

Huge thanks to you for the remaster howto-
have just used it on 8.1.1 and the only problem I had
was my own fault- I wanted to put some things in /home/dsl before
I made the iso, but of course they are not there when you run live-
they are still in the KNOPPIX directory on the cd.But thats no big problem.
In hindsight, I should have remembered what Clacker said.
Thanks again for taking the time and trouble to post this up-
it has been a great help.



Adraker
Back to top
Profile PM 
Fordi Offline





Group: Members
Posts: 90
Joined: April 2004
Posted: Sep. 13 2004,20:17 QUOTE

Question:

Is there a Very Good Reason for using mkisofs rather than building an appropriately-sized ext2 image file, then filling it?

ie (for a system of 112M uncompressed):

dd if=/dev/zero of=remaster.img bs=1M count=112
mke2fs remaster.img
mkdir /mnt/temp
mount remaster.img /mnt/temp -o loop
cp -a /stuff/to/remaster /mnt/temp
sync
umount /mnt/temp
create_compressed_fs -b remaster.img 65536 > remaster.ci

The only advantage this has, if it works, is that you have filesystem control at a processing level closer to final product (less to wait for in those "oops! lemme change that one line in /etc/wtf" moments)

I tested manual mount of ext2 as cloop today, so I know that part works (and knows to be read-only)...
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) </ ... 6 7 8 9 10 [11] 12 13 14 15 16 ... >/
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