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: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: How to use DSL files with DSL Embedded?, DSL files stored on virtual harddisk< Next Oldest | Next Newest >
Hasbro35 Offline





Group: Members
Posts: 10
Joined: Dec. 2004
Posted: Jan. 12 2005,23:03 QUOTE

Here is my conundrum.

I currently use the 5-way install of DSL 0.9.2.  I want to have a fairly large distribution of DSL files to load.  To do this I created a 500MB virtual harddisk in place of the default ~60MB harddisk file.  I made sure to mount both and copy the backup.tar.gz and all works fine.

Where I am stumped now is that if I copy files to the virtual hard disk (mount /mnt/sdb1/qemu/harddisk and copy files to the mounted disk) these files do not appear when running DSL Embedded with dsl-windows.bat.

So now for the questions:
===================
Do the files have to be placed in backup.tar.gz in order for them to be visible (through the default extraction) and therefore be copied to the ramdisk to be accessible?

Or, is there a way to mount the virtual harddisk by default?  I know I can mount it manually, so I'm looking for the proper config file to update (.bashrc, xinit, etc.) to place the "mount /dev/hdb /mnt/hdb -o loop" line.  [Note: I think I just answered my question above but I'll leave it there just in case]

After the drive is mounted (currently using "mount /dev/hdb /mnt/hdb -o loop" command to mount drive) how do I use the DSL files?

I'd like the DSL files to install by default so I'm wondering how to do that using the virtual harddisk.  Basically, I want my DSL files that are located on /mnt/hdb to be installed by default and to have an optional directory as well (just like the CD remastering method).  The configuration files and directories will be added to the filetool.lst file so that they can be kept in backup.tar.gz.  (I don't intend to change the settings often if at all, for those that are worried about me trashing my usb pen drive).

I'm hoping I can have a method to download DSL files to my virtual harddisk and load them by default when I run embedded.  I will manually load the optional DSL files from /mnt/hdb/optional using emelfm or the with a script.  I think my solution of using the virtual hard disk will be a lot easier than having to remaster the knoppix CD file (of which I know nothing about)
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Jan. 13 2005,00:53 QUOTE

If you are using dsl-embedded-0.9.2 then all this is already done for you.

The mount.app utility will display hdb, the pseudo harddisk.
There you can download using the mydsl-gui just like with the liveCD version. Then copy from the /tmp directory to /mnt/hdb for autoloading upon boot.
Or you can make the optional directory on /mnt/hdb and store your selected extensions in /mnt/hdb/optional

Finally edit the dsl-windows.bat and/or dsl-linux.sh and add the boot option inside the append options, i.e.,  mydsl=hdb

This procedure is exactly the same as with the liveCD.

The only difference is the name of the extension store, hdb
and passing the boot time option via the append options in the startup scripts.
Back to top
Profile PM WEB 
Hasbro35 Offline





Group: Members
Posts: 10
Joined: Dec. 2004
Posted: Jan. 13 2005,01:36 QUOTE

Thanks!

Adding the mydsl=hdb to the "-append" options in the qemu line for the .bat and .sh files was the piece of the puzzle that I was missing.

Hasbro
Back to top
Profile PM 
ed_davis2
Unregistered






Posted: Feb. 14 2005,23:31 QUOTE

I'm running DSL-embedded v0.9.3 using QEMU, running it via the
dsl-windows.bat file.

I'm trying to make the gcc1.dsl extension permanent.

I tried copying gcc1.dsl to mnt/hdb (per the above post) but I
get "permission denied".

So, per the above, I try to create optional in mnt/hdb (to copy
gcc1.dsl there) but I still get permission denied.

So, how do I get my files there?

Thanks!
Back to top
neon
Unregistered






Posted: April 22 2005,13:17 QUOTE

You probably don't have permission to copy files there as a normal user.  You can try 'sudo cp mycurrentfile /mnt/hdb/mynewfile'
or 'sudo mkdir /mnt/hdb/optional' but I believe you need to have the *.dsl files outside of any sub-folders in the root of /mnt/hdb for restore to work.  Not that I've gotten restore to work yet, but I think I'm close.
Back to top
9 replies since Jan. 12 2005,23:03 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: How to use DSL files with DSL Embedded?

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