summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-12-10 15:29:20 +0100
committerThomas Schwinge <tschwinge@gnu.org>2007-12-10 15:29:20 +0100
commit3c4a1c6f0101dbff9c2788101935faf27b1ab000 (patch)
treeb22503a49cde4d284cfaab9b0d5c25fda975a854 /hurd
parent39b178c98d2e7c710224b9ed927c38e4b0fe3c05 (diff)
hurd/running/qemu: Add information from <http://lists.gnu.org/archive/html/web-hurd/2007-12/msg00000.html>, by Thomas Schwinge.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/running/qemu.mdwn16
1 files changed, 15 insertions, 1 deletions
diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn
index 971074bf..f289ec59 100644
--- a/hurd/running/qemu.mdwn
+++ b/hurd/running/qemu.mdwn
@@ -40,7 +40,9 @@ Also see another text about how to [[gnu/create_an_image]] for the
[[GNU_system|gnu]].
-# Mounting Disk Image on Host
+# Transferring Files
+
+## Mounting Disk Image on Host
You may wish to mount your disk image on your host system to transfer files. To do this you will first need to find the offset of the partition you wish to mount.
@@ -57,6 +59,18 @@ Now take the number of sectors for the beginning of the partition and multiply i
# mount -o loop,offset=32256 hd0.img /mnt/diskimage
+## Having QEMU crete *virtual FAT disk images*
+
+[Manual](http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC24).
+
+QEMU has a facility to create FAT file systems on-the-fly:
+
+ qemu [...] -hdc fat:[somewhere]
+
+The Hurd [[`fatfs`_translator|translator/fatfs]] currently is read-only, but
+for testing executables (etc.) that is enough. And it is much easier than
+loop-mounting the file systems images. (Also you don't need `root' rights.)
+
# Networking in QEMU