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

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

reply to topic new topic new poll
Topic: Boot/qemu writable FS on USB< Next Oldest | Next Newest >
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Feb. 28 2005,23:08 QUOTE

The virtual PC inside QEMU is not allowed to have direct access to your PC hardware like your USB ports or your CDROM drive.

When running QEMU on a Linux-basec computer (IE: Linux is the host OS), it is possible to access some devices but USB support is not yet provided.
Back to top
Profile PM 
Fordi Offline





Group: Members
Posts: 90
Joined: April 2004
Posted: Mar. 10 2005,14:42 QUOTE

Wayell, for linux, actually, you'd just have to use the /dev/sd?? block device that's allocated for the USB stick.  

For Windows, I can't see why there's not a way (what about the \\?\Device\.... UDL filenames for things?  I'll look into this.)
Back to top
Profile PM 
Fordi Offline





Group: Members
Posts: 90
Joined: April 2004
Posted: Mar. 10 2005,14:57 QUOTE

Ok, here's the thing.  I can be done.  With some code rewrite of QEMU (it's really just generalizing the disk IO code to use winioctl.h's functions rather than stdio.h).  But, we have a problem:

Access will be denied for device reads and writes if the device is locked for use.  Like, you know, if you're running a program off the stick, or you have it open in explorer.  In other words, you'd need to partition the medium, and you couldn't access the "data" partition by both operating systems at the same time.

But yeah, it can be done without samba.  Unfortunately, much like giving a 30-pound tom cat a purple mohawk, you'd probably hurt something and you'll most likely end up with less-than-satisfactory rewards.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Mar. 11 2005,03:43 QUOTE

Fordi,

Once again you have demonstrated that anything is possible if you think big.

My brain tends to automatically discount any option that requires C programming skills and a custom recompile of an application that I don't fully understand how to use,  nevermind how to change. :)

If someone wants to actually do this thing, I wish them the best of luck, sincerely.
Back to top
Profile PM 
Sparky Offline





Group: Members
Posts: 2
Joined: Mar. 2005
Posted: Mar. 11 2005,21:43 QUOTE

Hi all;

(note: go gentle, it's my first time <grin>)

I stumbled across this forum after playing with Private Virtual Machine.  This is a pre-beta packaging of dsl w/qemu.

I unzipped the d/l to my usb drive and launched launched a qemu bat file.  Automagically detected broadband, keyboard, etc.  I was running a full DSL session from w/in a window on my Win2k box (emailing, surfing) w/in a few minutes.  

The only thing:  It is dog-slow.  D-O-G slow.

But it sure whet my appetite.

-Sparky
Back to top
Profile PM 
17 replies since Feb. 28 2005,17:02 < Next Oldest | Next Newest >

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

Pages: (4) </ 1 [2] 3 4 >/
reply to topic new topic new poll
Quick Reply: Boot/qemu writable FS on USB

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