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: Hardrive access, How do I get to the directory....< Next Oldest | Next Newest >
CrazyEccentric Offline





Group: Members
Posts: 3
Joined: Dec. 2004
Posted: Dec. 29 2004,02:09 QUOTE

I am running the dsl version that you run from within Windoze.  Once dsl is up and running, how do I get to the directory that I started the batch file from?  I placed the dsl proggy in what would be C:\dsl-embedded-0.9.1 in Windoze or dos.  What I am trying to do is get to my modem driver so I  can unzip it and try and get internet access working. I downloaded the driver and placed it in the dsl directory but once dsl is up and running, it's no where to be found.  I have tried various mount commands and no go...   I am a newbie to Linux but do know my way around a puter rather well.  I just need someone to get me started please...  I don't even see, right off, how to get to my floppy drive... keeps saying that it can't find it in /etc/fstab or something like that.  Is there somewhere that has these very basics explained and in simple terms?  Everything is scattered and very vague.


Crazy
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 29 2004,06:44 QUOTE

open up a terminal and type 'less /etc/fstab', or use a text editor to open up this file.
/etc/fstab contains all of the partitions which were detected by DSL.  There should be lines containing such devices as /dev/hda1, /dev/hda2, /dev/fd0.  These are partitions and drives which can be mounted without additional mount options.  For example, if you have a line containing /dev/fd0, this is your floppy drive.  Typing 'mount /dev/fd0' should mount your floppy as long as there's a readable disk in the drive.

You can also look into the /mnt directory for mountpoints.  These are directories where the devices will be mounted, and are how you will access the devices once they are mounted.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Dec. 29 2004,06:50 QUOTE

Of couse, if you are running DSL-embedded from inside a Qemu window while running Windows 98/2000/XP as your main operating system then you will not have direct access to your physical floppy drive.

However, you can create an image file of your floppy disk and then mount this file as a virtual floppy disk drive in Qemu.

Check the qemu website for more details on how to do this.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Dec. 29 2004,06:53 QUOTE

Re-reading your original request, it sounds like you wish to access your windows directory from inside you r DSL-embedded qemu session.

To do this, you need to enable a windows network share for the directory of your choice.  Then, while inside DSL-embedded, you can use smbclient or samba.dsl to connect to this network share and exchange files back and forth.

Use the forum search button.  Search for keywords "samba* AND embedded"  and search ALL FORUMS and FROM THE BEGINNING or NEWER.
Back to top
Profile PM 
CrazyEccentric Offline





Group: Members
Posts: 3
Joined: Dec. 2004
Posted: Dec. 29 2004,09:45 QUOTE

Quote (mikshaw @ Dec. 29 2004,01:44)
open up a terminal and type 'less /etc/fstab', or use a text editor to open up this file.
/etc/fstab contains all of the partitions which were detected by DSL.  There should be lines containing such devices as /dev/hda1, /dev/hda2, /dev/fd0.  These are partitions and drives which can be mounted without additional mount options.  For example, if you have a line containing /dev/fd0, this is your floppy drive.  Typing 'mount /dev/fd0' should mount your floppy as long as there's a readable disk in the drive.

You can also look into the /mnt directory for mountpoints.  These are directories where the devices will be mounted, and are how you will access the devices once they are mounted.

OK.... When I type:

mount /dev/fd0   what returns is:  

/dev/fd0: Input/output error
mount: you must specify the filesystem type

and when I typed:

mount /dev/hda

It says that it did mount it.  However I can't find where to go to look at the files.  In your post you said, from what I gather, that I should be able to go to /mnt  and find hda and then I assume I should be able to  type ls  and get a listing of the files that are there, however when I go there, all I can see are:

backup.tar.gz and lost+found

which is not what I know to be in that directory.  Am I doing something wrong or am I misunderstanding what you are telling me?

Thanx for you patience,

Crazy
Back to top
Profile PM 
7 replies since Dec. 29 2004,02:09 < 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: Hardrive access

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