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: Forcing backup to other than hdb< Next Oldest | Next Newest >
pr0f3550r Offline





Group: Members
Posts: 378
Joined: Dec. 2005
Posted: Jan. 10 2006,19:46 QUOTE

I have managed to make qemu recognize a local directory on my usb flash drive as a virtual fat drive:
Code Sample
qemu\qemu.exe  -hdb qemu/harddisk -hdc fat:MYDSL


At boot time qemu recognizes this device ad hdc1.
After mounting it, from fluxbox, I launch the backup manager and ask it to backup all to hdc1.
Then I check with mc and all filea are properly mounted onto /dev/hdc1.

Proper shutdown. Proper restart.
Files are not there.
What am i doing wrong?


--------------
THE QEMU FORUM: http://qemu.dad-answers.com/index.php

QEMU ON WINDOWS: http://www.h7.dion.ne.jp/~qemu-win/

How to use floppy, CD-ROM and hard disk - http://www.h7.dion.ne.jp/~qemu-win/HowToFloppyCdrom-en.html

How to use network - http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 10 2006,20:59 QUOTE

I'm not sure about this, but my guess is that the embedded system is trying to restore from hdb even though the backup is on hdc.  Maybe you need to edit the bat file with "restore=hdc1"

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





Group: Members
Posts: 378
Joined: Dec. 2005
Posted: Jan. 10 2006,23:46 QUOTE

Quote (mikshaw @ Jan. 10 2006,15:59)
Maybe you need to edit the bat file with "restore=hdc1"

Can be, indeed I tried "mydsl=/dev/hdc". I'll try tomorrow.
The problem however is that the \mydsl\ directory on my drive is empty, even if the efeml shows the copied files. ????


--------------
THE QEMU FORUM: http://qemu.dad-answers.com/index.php

QEMU ON WINDOWS: http://www.h7.dion.ne.jp/~qemu-win/

How to use floppy, CD-ROM and hard disk - http://www.h7.dion.ne.jp/~qemu-win/HowToFloppyCdrom-en.html

How to use network - http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Jan. 11 2006,03:21 QUOTE

A few things that probably should be mentioned...
1) backup/restore doesn't have much to do with mydsl.  While they have similar behavior, one does not affect the other.  If you're specifying mydsl packages, use "mydsl", but if you're specifying a backup, use "restore".
2) "hdc" is a physical hard drive, "hdc1" specifies a partition.  You'll always need to specify a partition when you're doing this sort of thing.
3) the "mydsl" boot option should not include "/dev".  The boot script  already assumes dev and mnt.  So it should be mydsl=hdc1


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





Group: Members
Posts: 378
Joined: Dec. 2005
Posted: Jan. 11 2006,16:24 QUOTE

Found the culprit:
From How to use floppy, CD-ROM and hard disk:
Quote

3.3 Virtual VFAT
Virtual VFAT enables to access a host directory as a hard disk.
(... cut ...)
It is READ-ONLY. fatrw: prefix doesn't work now.


So, it is read-only!

No bother, I'll go on experimenting with the Gmail filesystem now...


--------------
THE QEMU FORUM: http://qemu.dad-answers.com/index.php

QEMU ON WINDOWS: http://www.h7.dion.ne.jp/~qemu-win/

How to use floppy, CD-ROM and hard disk - http://www.h7.dion.ne.jp/~qemu-win/HowToFloppyCdrom-en.html

How to use network - http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html
Back to top
Profile PM 
6 replies since Jan. 10 2006,19:46 < 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: Forcing backup to other than hdb

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