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) </ ... 65 66 67 68 69 [70] 71 72 73 74 75 ... >/

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





Group: Members
Posts: 2
Joined: Mar. 2007
Posted: Mar. 07 2007,22:01 QUOTE

Hi,

I'm trying to remaster DSL-N RC4 as per the instructions scattered throughout this topic.

I have to replace the lines:-

#cp -Rp /cdrom/KNOPPIX/boot.cat /mnt/hda3/newcd/KNOPPIX
#cp -Rp /cdrom/KNOPPIX/boot.img /mnt/hda3/newcd/KNOPPIX

as these files do not appear on the DSL-N live CD that i'm using.  There is an isolinux directory on the live CD that contains what i believe to be the appropriate files.

I instead use:-

#cp -Rp /cdrom/isolinux/isolinux.bin /mnt/hda3/newcd/KNOPPIX
#cp -Rp /cdrom/isolinux/boot.cat /mnt/hda3/newcd/KNOPPIX
#cp -Rp /cdrom/isolinux/* /mnt/hda3/newcd/isolinux

and then:-

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

followed by:-

#cd /mnt/hda3/newcd
#mkisofs -no-pad -l -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b isolinux/isolinux.bin -c isolinux/boot.cat -o newdsl.iso .

I then burn the created 'newdsl.iso' image file to CD and it seems to work fine as a live CD.  However...

Before i create the compressed custom image file i want to copy some files over so that they appear in /home/dsl when you boot from the live CD.  I copy these files :-

#cp /mnt/hdb1/home/file01.txt /mnt/hda3/source/home/dsl
#cp /mnt/hdb1/home/file02.txt /mnt/hda3/source/home/dsl

When i boot to the custom live CD that i created, these files do not appear in the /home/dsl directory but in the /KNOPPIX/home/dsl directory instead.

How do i ensure they appear in /home/dsl...?

Apologies if i've done something obviously wrong, i'm a LINUX/DSL newbie..

Cheers.
[/B][B][/B][B][B][/B][B]
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Mar. 07 2007,23:38 QUOTE

/home/dsl is populated from /etc/skel
Back to top
Profile PM WEB 
bluemonkey Offline





Group: Members
Posts: 2
Joined: Mar. 2007
Posted: Mar. 08 2007,14:38 QUOTE

Thankyou..!  That did the trick, and i eventually found a reference to it on the DSL wiki..

Now my last problem..

I want to use the 'jwm' desktop manager rather than 'fluxbox'.  However no matter what i do, it keeps using 'fluxbox'.

I've added "desktop=jwm" to the kernel line in /boot/grub/menu.lst located in the source directory.
I've edited /home/dsl/.desktop to "wm: jwm" in the source/etc/skel directory before creating the compressed image..

I've added files and modified existing files (such as .xinitrc) in the source/etc/skel directory that are reflected in the remastered image.  Yet the .desktop file that resides in /home/dsl on the remastered image still says "wm: fluxbox".  

If i enter "dsl desktop=jwm" at the boot: prompt during startup, then it will use jwm and the /home/dsl/.desktop file (i know it resides in memory) correctly shows "wm: jwm".

How can i ensure that the modified (ie "wm: jwm") .desktop file makes it into the remastered image file, rather than the default (ie "wm: fluxbox") .desktop file as i don't want to have to type anything at the boot: prompt during startup.

Thanks for any help you can provide, and for your quick reply on my previous post..!
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Mar. 08 2007,15:53 QUOTE

The default desktop is specified in /etc/init.d/dsl-config.

Around line 240 depending on your version of DSL

case "$DESKTOP" in fluxbox|jwm) ;; *) DESKTOP="fluxbox"; ;; esac

change to:

case "$DESKTOP" in fluxbox|jwm) ;; *) DESKTOP="jwm"; ;; esac
Back to top
Profile PM WEB 
zmsc1 Offline





Group: Members
Posts: 7
Joined: June 2006
Posted: Mar. 08 2007,18:05 QUOTE

Hi All,

I've just joined the ranks of DSL remasterers, on a mission like SCOEIT's back around Xmas. I want to remaster a version that starts rdesktop and only runs that. I've spent all day reading through this topic, and I think I roughly understand it. But when it comes to actually remastering, I've hit a silly problem, so I hope someone can advise. I've got through mkisofs successfully (I think) and now need to copy the files with

cp -Rp /KNOPPIX/* source

But the copy insists on confirming every file. And there are far too many to confirm every one with Y and return! I've tried adding the -f switch, but it makes no difference.

Ideas very welcome!

TIA
Stuart
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) </ ... 65 66 67 68 69 [70] 71 72 73 74 75 ... >/
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