summaryrefslogtreecommitdiff
path: root/Distrib
diff options
context:
space:
mode:
Diffstat (limited to 'Distrib')
-rw-r--r--Distrib/HurdOnQEMU.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/Distrib/HurdOnQEMU.mdwn b/Distrib/HurdOnQEMU.mdwn
index 920bb970..40e4b0ad 100644
--- a/Distrib/HurdOnQEMU.mdwn
+++ b/Distrib/HurdOnQEMU.mdwn
@@ -31,6 +31,13 @@ Now run your image with floppy booting and finish the install (`./native-install
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.
# fdisk -ul hd0.img
+ ...
+ 128 heads, 63 sectors/track, 0 cylinders, total 0 sectors
+ Units = sectors of 1 * 512 = 512 bytes
+
+ Device Boot Start End Blocks Id System
+ hd0.img1 * 63 3515903 1757920+ 83 Linux
+ hd0.img2 3515904 4193279 338688 82 Linux swap / Solaris
Now take the number of sectors for the beginning of the partition and multiply it by the sector size. My partition starts at sector 63 and I have a sector size of 512 therefor my offset is 32256.