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
 

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

reply to topic new topic new poll
Topic: DSL remastering well sort of< Next Oldest | Next Newest >
protocron Offline





Group: Members
Posts: 4
Joined: Mar. 2005
Posted: Mar. 23 2005,03:14 QUOTE

DSL Embedded Notes:

1)  dd of=harddisk2 bs=1024 seek=60000 count=0

This will create a virtual harddrive image of 60MB

2)  It will need to be added as a drive.
So fire up vi on the dsl-linux.sh file.  add an entry like '-hdd
qemu/harddisk2'
You will want to use hdd as opposed to hdc which is assigned as the cdrom

3)  Then you will need to be in the dsl image
./dsl-linux.sh

4)  In the Virtual Machine, the virtual drive will need to be fdisked,  
sudo fdisk /dev/hdd

5)  Also in the Virtual Machine,  the virtual drive will need to have a
filesystem
sudo mke2fs /dev/hdd1

6)  VM:  create the mount point
sudo /mnt/hdd1

7)  VM:Now you have a drive you can mount
sudo mount /dev/hdd1 /mnt/hdd1

You can now do things like add files onto the mount.  I have the mount
command set in my /opt/bootlocal.sh file so that I can auto access
these files without the need to mount.  In addition I set up symlinks to the
mount so that I can use the files on the mount without problems.

ln -s /mnt/hdd1/opt/program /opt/program

Add these links to your /home/dsl/filetools.lst and they will reappear
upon reboot if you have the mount command set in the /opt/bootlocal.sh
Back to top
Profile PM 
0 replies since Mar. 23 2005,03:14 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: DSL remastering well sort of

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