mounting a file


Forum: DSL Embedded
Topic: mounting a file
started by: brettdale

Posted by brettdale on Mar. 03 2006,20:17
Hi all im very new to linux and new to dsl, iv been playing with suse10 for the last 3 days on the home pc but im after a smaller package to eventually mount onto a cf disk to run a computer inside a car.

DSL seems the package to do this, but what im wondering is.

im currently playing with dsl embedded in windows :( its not so automated as suse but then again its not one dual layer dvd either  :laugh: how can i mount a folder full of music from my windows desktop so i can play it in dsl embedded,

when this system is in the car it will have dsl on the cf card and to transport music/films via a dvd drive or preferably with a usb key and to play them from these media, (maybe with cd's / dvd's to trasport the media to a second cf card to avoid vibration problems)

Posted by brettdale on Mar. 03 2006,20:37
ok reading around tell me if im right

i can mount a file/hdd in Qemu, to get to the qemu i use ctrl alt and 2, but whats the mount command once im there and is there anyway to automate this into the load up of dsl/qemu?

Posted by brettdale on Mar. 03 2006,22:04
i cant believe no one knows this, i realise to u linux gurus this is a simple thing to do, but for someone who has grown up on dos and microsoft linux is a confusing world when ur starting out. i read lots of info and command lines from a link posted in another question here, but it doesnt make sense to me :( can anyone help me with the command line for it?
Posted by mikshaw on Mar. 03 2006,23:51
Actually this isn't necessarily a simple thing to do, even for a linux expert.  Qemu is an emulator, and its hardware is emulated.  What this means, as far as i know, is that you can't mount partitions in the same way that you would in a typical native linux system.  As I understand it, Qemu doesn't allow mounting of your harddrives, but rather mounts a virtual drive that is created within the emulated filesystem.  I don't know from experience...just what i've read here.
Posted by brettdale on Mar. 04 2006,00:57
loool just to confuse me even more :( ill go for a cd boot n get it that way, just hope my wifi works ok
Posted by roberts on Mar. 04 2006,01:38
You are running Windows, then you are running Qemu. a virtual machine within Windows. Qemu has sandbox like restrictions, which you need to learn. Then within Qemu you are running DSL as a compressed image OS which has its unique features. Lots to learn when one is starting with this setup. But to answer your question. Yes. You setup Samba and create windows shares to talk between the machines. Use search button at top of this site and search for Samba within the DSL-Embedded section.
Posted by pr0f3550r on Mar. 04 2006,13:13
Quote (brettdale @ Mar. 03 2006,15:17)
how can i mount a folder full of music from my windows desktop so i can play it in dsl embedded,

Unbelievable, but it IS possible, as long as you accept the fact that that folder is read-only.

A win directory can be mounted read-only on qemu as a virtual fat filesystem, I do that sometimes as a poor man's communication between win and qemu-dsl.

From: < http://www.h7.dion.ne.jp/~qemu-win/HowToFloppyCdrom-en.html >

"Virtual VFAT enables to access a host directory as a hard disk. When you set fat: in front of a directory name, you can use it as the hard disk. When your directory is myfolder, an example is as follows.

$ qemu.exe -L ../pc-bios -hda win2k.img -hdb fat:myfolder

Note: Directory path doesn't work well on Windows. You can set a directory name which is in a directory the program starts. ("myfolder" must be in a directory the program starts.)
It is READ-ONLY. fatrw: prefix doesn't work now.
MS-DOS (Windows 98 boot floppy) can't see files in the directory.

"

EDIT: 7.3.2006 Lately I had problems with this configuration, see my post on < the qemu forum >

Posted by brettdale on Mar. 04 2006,14:11
cheers guys, i gave up on it, i decided its hard enough to learn linux without needing to learn qemu aswell so i downloaded the iso cd and im running it on the laptop with command dsl vga=mormal nolapic (an old compaq presario 700),,, how cool is DSL,, u DSL guru guys are gods, i have more questions but first ill read through the archives with the search function n then post them in a more relevant are, many thanks guys
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.