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

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

reply to topic new topic new poll
Topic: Making a custom DSL on USB drive< Next Oldest | Next Newest >
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: April 21 2005,16:28 QUOTE

I don't have a copy of the newer style DSL embedded handy, but I thought that the qemu harddisk and mydsl=xxx stuff was already taken care of inside the defualt windows.bat file

You can doublecheck this by opening the file in Wordpad and take a look at it.  There should be a reference to some kind of qemu or harddisk append boot parameter and also a mydsl=xxx reference.

If not, you need to fix this yourself.  If mydsl=hdb doesn't work, then try the other syntax and see what happens.
Back to top
Profile PM 
DeeJay Offline





Group: Members
Posts: 24
Joined: April 2005
Posted: April 21 2005,17:25 QUOTE

Quote (cbagger01 @ April 21 2005,12:28)
I don't have a copy of the newer style DSL embedded handy, but I thought that the qemu harddisk and mydsl=xxx stuff was already taken care of inside the defualt windows.bat file

You can doublecheck this by opening the file in Wordpad and take a look at it.  There should be a reference to some kind of qemu or harddisk append boot parameter and also a mydsl=xxx reference.

If not, you need to fix this yourself.  If mydsl=hdb doesn't work, then try the other syntax and see what happens.

The Qemu line in the copy of dsl-windows.bat shipped in dsl-embedded-1.0.1.zip at the time of writing looks like this:

START qemu\qemu.exe -L qemu/  -enable-audio -localtime
-kernel linux24
-initrd minirt24.gz
-hda KNOPPIX/knoppix
-hdb qemu/harddisk
-append "qemu sb=0x220,5,1,1 frugal quiet"

[Line breaks added to aid comprehension]

One of my questions to the DSL maintainer(s) [RobertsS?] was going to be whether it would do any harm to ship this file with an appropriate MYDSL entry already in the -append, even if there were no .dsl file to be re-installed, to save neophytes struggling and maybe dismissing DSL as 'broken'?

It turns out that the value of 'xxx', for me, is indeed 'hdb'.

Other sources of information on the web and in these forums have suggested mydsl=harddisk; mydsl=/dev/hdb; mydsl=/mnt/hdb. None of these worked for me in the context of booting a Qemu virtual machine hosted in Windows.

The -append argument in my batch file now reads -

-append "qemu sb=0x220,5,1,1 frugal quiet mydsl=hdb lang=uk"

and both the changes have the expected effect. (But I'll be back later to ask about zoneinfo files.... )

Thanks to all who have helped, esp. CBagger. Perhaps the outcome could be documented. [Or if it is there already, made clearer and the misleading information removed  :-)  ]

DeeJay
Back to top
Profile PM 
sonny73044 Offline





Group: Members
Posts: 6
Joined: Mar. 2005
Posted: April 21 2005,19:13 QUOTE

Quote
It turns out that the value of 'xxx', for me, is indeed 'hdb'


This will work if your not using ther 5-way install, this should also work:
mydsl=harddisk
And this works with all boots look here
http://damnsmalllinux.org/cgi-bin....arddisk

Edit: Sorry everyone as roberts pointed out this is for syslinux.cfg and bios boot you are right in using hdb in the .bat and .sh files


--------------
Sonny
Back to top
Profile PM 
solidsnake Offline





Group: Members
Posts: 12
Joined: April 2005
Posted: April 21 2005,19:24 QUOTE

What would I have to do to save preferences, like if I changed by desktop background (somehow) and wanted it to stay that way.

I have another computer in the house that I would like to boot into with my regular preferences/settings loaded everytime, if possible.


--------------
Pentium III 500mhz, 6.3GB hd, 128mb ram
Currently running DSL installed to harddrive
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: April 21 2005,21:08 QUOTE

I see some confusion here.

When running 5way, i.e., embedded-dsl, then the shared virtual drive device is specified by:

1. When inside Qemu the device is referred to as hdb
2. When running natively from BIOS the device is referred to as harddisk

Both backup and mydsl as well as other boot time options refer to the device and not the mount point..

Both Qemu and Native mount the shared drive device as /mnt/hdb

The default location for downloading mydsl extensions is /tmp  This is true across all versions of DSL.

Currently embedded dsl mounts the shared drive device as root only access.
This is what I will change in the next version of DSL. Then it should be simple to download the extensions directly into the shared drive.

It should have user dsl write access as it, the shared drive device, is embedded and not in anyway belongs to the host computer, as typically the real hard drive are.
Back to top
Profile PM WEB 
12 replies since April 20 2005,21:15 < Next Oldest | Next Newest >

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

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Making a custom DSL on USB drive

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