other files on usb drive


Forum: DSL Embedded
Topic: other files on usb drive
started by: derek

Posted by derek on April 12 2006,02:59
Allow me to preface this with some sad, sad facts: I know my way around windows better than the average user. I know nothing about linux besides the most rudimentary commands like ls and cd. But I'm working on that. Anyway..

How do I access files stored on my usb drive from within dsl's graphical interface (Qemu, I think it's called)? Like, for instance, I have a nice big guide to linux stored on there, but it's irritating to have to go back into windows and open it and be constantly switching operating systems.

And futhermore, how to do I write to the usb drive?

Posted by desnotes on April 12 2006,12:57
You can add the following to your dsl-windows.bat file (before -append)

-hdc fat:/my_directory

Then you access access to all the files in the `/my_directory' directory of your USB drive without having to copy them in a disk image or to export them via SAMBA or NFS. The default access is read-only. I have not got it to successfully to write to this directory as it is currently experimental only.

To write to the USB drive you need to write to the virtual disk drives set up with embedded DSL. hdb is a 60MB virtual disk drive located on your USB. Unfortunately it is not easily accessbile outside of DSL.

Hope this helps,

desNotes

Posted by derek on April 13 2006,18:10
Okay, I had some problems initially, but they were because I forgot to mount the hdc drive once in the gui. So I've got one folder down, now, is it possible to enable access to the entire drive, or would this cause problems since I'd be giving access to dsl's files too? I tried to, using the syntax "-hdc fat:/", but that slowed explorer to a crawl, qemu didn't load, and I had to manually end explorer and re-start it.
Posted by desnotes on April 13 2006,18:15
If you use the -hdc fat:/my_directory command, do not try to access the USB from the Windows side while you are accessing from the DSL side. And it is only supported as read. the experiment I did was to access the USB and play some music files and was also able to access to access a text file but only to read.

desNotes

Posted by derek on April 13 2006,18:19
Ok, so do you think because I had a window open displaying one subfolder on the usb drive - so that I could launch the bat file - that could be making it crash?
Posted by desnotes on April 13 2006,18:29
No, that should not make it crash...I do that all the time. Are you running XP SP2?
Posted by derek on April 17 2006,16:06
yeah, i am
Posted by torp on April 28 2006,19:25
desnotes, the "-hdc fat:/my_directory" works perfectly for me. solved a major problem, thanks for the tip.

torp

Posted by pr0f3550r on April 29 2006,12:04
As a reminder of a previous post, I think the -fat option works only if you have admin rights.

Yet I'd not advocate this way of accessing files, since you have a Samba client on DSL

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.