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) </ ... 55 56 57 58 59 [60] 61 62 63 64 65 ... >/

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





Group: Members
Posts: 18
Joined: Aug. 2006
Posted: Sep. 04 2006,09:41 QUOTE

done this part..
what im doing in hda3:
- removing installed app. the first victim being beaver. found in whereis that it is located in /usr/bin and /home/dsl/.xtdesktop. try deleting it gave me "read only file system"
-chmod 777 the file - no effect

how would i circumvent this

note: im only on page 40 of this thread.. if some solution have been in the other pages.. i dont know..
thanks.

Quote
Mount the partitions needed
#mount -rw /dev/hda3 /mnt/hda3

Create the directories needed
#mkdir /mnt/hda3/source
”mkdir /mnt/hda3/newcd
”mkdir /mnt/hda3/newcd/KNOPPIX

Copy necessary files to the newcd directory
#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 proper directory
#cp –Rp /KNOPPIX/* /mnt/hda3/source
#cp –Rp /KNOPPIX/.bash_profile /mnt/hda3/source


--------------
thanks&regards, ~kray
http://www.petitionspot.com/petitions/dslbarebone
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 09 2006,15:57 QUOTE

It took a while to read through all this, but I don't think I saw an explanation on how to remaster a USB install without using a CD or HD.

Let's say you have a spare USB memory stick and plenty of RAM, how would you go about it?
Back to top
Profile PM 
meo Offline





Group: Members
Posts: 552
Joined: April 2004
Posted: Sep. 16 2006,17:05 QUOTE

Hi Juanito and slimeph!

On page 56 there is a RAM-Remastering HOWTO. That is a remaster entirely made in RAM. Depending on how much RAM you have there might be a need of a swap-partition. It is possible to use an usb-drive as swap. Just format it as swap and it should be found during the booting of the box with dsl. When it comes to take things away from the dsl-distro I have no experience at all so I can't be of much help there. Sorry!

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: Oct. 27 2006,12:00 QUOTE

Hi guys!

I just made an programming remaster of DSL RC2 and it seems to work just fine. This is the way I did it:

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
#mount -rw /dev/hda3 /mnt/hda3

Create the directories needed
#mkdir /mnt/hda3/source
#mkdir /mnt/hda3/newcd
#mkdir /mnt/hda3/newcd/KNOPPIX

Copy necessary files to the newcd directory
#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 proper directory
#cp –Rp /KNOPPIX/* /mnt/hda3/source
#cp –Rp /KNOPPIX/.bash_profile /mnt/hda3/source

Go through and copy wanted things to source
#cp –Rp /mnt/hda1/backgrounds /mnt/hda3/source/etc/skel/.fluxbox
#cp –Rp /mnt/hda1/styles/* /mnt/hda3/source/usr/share/fluxbox/styles

Copy the modules to /mnt/hda3/source/home/dsl and install them
#cp cvs.dsl /mnt/hda3/source/home/dsl
#rm cvs.dsl

Follow this procedure with all the modules so they all end up in /mnt/hda3/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

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 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.

Usually I don't make an iso-file to burn since I use dsl-embedded. Just by remastering the KNOPPIX-file I can delete the old KNOPPIX-file and copy in the new one in it's place. This way it's possible to save a lot of time.

Have fun out there,
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: Nov. 07 2006,13:36 QUOTE

Hi Y'all!

Just a quick note: I have made a remaster of DSL RC3 and it seems to work just OK. I installed emacs using apt-get also and it works. The only thing is that it has to be started from a command-line or run program in the DSL-menu. I used the HOWTO just posted but added dsl-dpkg.dsl to start with so I could install emacs which is my favourite editor. That's it.

Have 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 
422 replies since April 14 2004,19:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (85) </ ... 55 56 57 58 59 [60] 61 62 63 64 65 ... >/
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