summaryrefslogtreecommitdiff
path: root/hurd/running/gnu/create_an_image.mdwn
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-07-12 13:54:25 +0200
committerThomas Schwinge <thomas@codesourcery.com>2012-07-12 13:54:25 +0200
commitd72694b33a81919368365da2c35d5b4a264648e0 (patch)
treeb625a7189e69ed10b863b3f1c1ae07a12615d1a7 /hurd/running/gnu/create_an_image.mdwn
parentbc642c08945c850f04ac41c0d42ea06d7cf08f5a (diff)
hurd/running/qemu/writeback_caching: New.
Diffstat (limited to 'hurd/running/gnu/create_an_image.mdwn')
-rw-r--r--hurd/running/gnu/create_an_image.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/hurd/running/gnu/create_an_image.mdwn b/hurd/running/gnu/create_an_image.mdwn
index 8784a826..98af99eb 100644
--- a/hurd/running/gnu/create_an_image.mdwn
+++ b/hurd/running/gnu/create_an_image.mdwn
@@ -18,7 +18,7 @@ Creating a bootable qemu image from a root filesystem and bootloader
2. Use a live CD (better to have a lighter OS like system rescue CD to make the
process faster) and the image created to boot.
- qemu -m 512 -cdrom /dev/cdrom -hda <imagename.img> -boot d
+ qemu -m 512 -cdrom /dev/cdrom -drive cache=writeback,index=0,media=disk,file=<imagename.img> -boot d
3. Once system is booted use a partition editing tool (like fdisk, cfdisk,
parted, gparted, qtparted ...) to partition the image.
@@ -65,7 +65,7 @@ Creating a bootable qemu image from a root filesystem and bootloader
11. Run qemu to boot into your brand new system
- qemu -m 512 -hda <hard disk image.img> -fda grub.img -boot a
+ qemu -m 512 -drive cache=writeback,index=0,media=disk,file=<hard disk image.img> -fda grub.img -boot a
Happy Hacking !!