dsl embedded usb : daily use


Forum: DSL Embedded
Topic: dsl embedded usb : daily use
started by: philemon_siclone

Posted by philemon_siclone on Aug. 18 2005,07:50
Hello,

From what I understood :
1) The only easy way to save your work using qemu is to save it on the hdb image (the "qemu\harddrive" file).
2) this file is not "mountable" under windows.
3) hence, the only way to access your files with windows is to install a ftp server in windows or to configure shared folders that will be accessed through samba.
4) So being able to use DSL-embedded for real work depends strongly on the host windows configuration.
5) This means it is not a "mobile" solution anymore.
6) So (expressed in rather crude words, due to my poor english), putting it on a usb key seams pretty pointless.


Thus my question :
Does someone really work with dsl-embedded on usb, or is it just for testing/fun purpose ?

Regards,

Phil

Posted by lra on Aug. 18 2005,08:45
linux can mount raw images or isos that qemu reads/writes to.

you can use samba to access windows ntfs drives - see mr helix's solution in this forum

or, you could access a physical cd rom in qemu:
(http://www.h7.dion.ne.jp/~qemu-win/HowToFloppyCdrom-en.html)

-cdrom //./d:

in the batch file.

though i've never tried it, perhaps you could write to cd and use that as a means of swapping data?

download the latest qemu as well.
hope this helps

Posted by MikeNavy on Aug. 18 2005,11:46
Hello,

You are a happy man able to write in "harddisk" mounted as "hdb" in dsl (I can mount this disk but in read only mode, no way to have write permission).

Note that "harddisk" can be read from within windows, using "explore2fs", an utility able to read the content of  ext2fs image files.

It is a freeware, just google it and download it.

Mine Navy

Posted by philemon_siclone on Aug. 18 2005,16:46
Thank you to you two for these accurate answers. I'll try both solution : maybe there is a way to automate them (synchronizing hdb when session begins and synchronize back (hdb->USB) when session ends).

Quote
You are a happy man able to write in "harddisk" mounted as "hdb" in dsl (I can mount this disk but in read only mode, no way to have write permission).

I have no problem if I am root (actually this issue doesn't seem to be "embedded-related", because I've got to be root as well in order to write to my harddisk when I boot from CD or USB).

Phil

Posted by lra on Aug. 18 2005,19:41
slightly off-topic question here, but can linux mount qcow images?

does explore2fs read qcow as well?

the thought of having a hdimage that grows as needed would be beneficial.

thanks

Posted by cbagger01 on Aug. 18 2005,21:29
What an EXCELLENT idea!

If the DSL embedded "harddisk" was a qcow image instead of a fixed size 60MB image, you could free up a lot of unused space on your Pendrive.

The only downside that I can think of is this:

Can you mount a qcow image file from inside Native DSL?

I know that it is possible to mount a standard image file from inside native DSL (when not running embedded) because this is how the "5-way" installations work today.

If it is possible to mount a qcow loop image from within the DSL kernel, this would be a win-win situation.

Otherwise, it would be impossible to use a qcow image with a "5-way" install of DSL-Native/DSL-Embedded

Posted by lra on Aug. 19 2005,09:00
i've done some reading up on the subject and no you can't mount qcow images :/
Posted by mstrhelix on Aug. 19 2005,18:27
>1) The only easy way to save your work using qemu is to save it >on the hdb image (the "qemu\harddrive" file).

WRONG the easy way is to use the qemu savevm ie... save virtual machine state option and then use loadvm to load it.... also you make make a hard disk image of any size and save your backups pkgs whatever to it... just like /hdb... you have to be root to copy files to virtual drives like hdb so maybe you should sudo chown dsl /mnt/hdb. For more help with embedded see qemu.org forums as well

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