diff options
Diffstat (limited to 'Distrib')
-rw-r--r-- | Distrib/HurdOnQEMU.mdwn | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Distrib/HurdOnQEMU.mdwn b/Distrib/HurdOnQEMU.mdwn index c141d501..30992411 100644 --- a/Distrib/HurdOnQEMU.mdwn +++ b/Distrib/HurdOnQEMU.mdwn @@ -2,17 +2,15 @@ I will assume you have already installed [QEMU](http://fabrice.bellard.free.fr/qemu/). -You may need the [floppy.img](http://mycelium.dyndns.org/floppy.img) that I use. It is from the debian grub boot disk package. - -The version of [lomount](http://mycelium.dyndns.org/lomount.tar.gz) that I use. +You will need the [debian grub boot disk package](ftp://ftp.debian.org/debian/pool/main/g/grub/grub-disk_0.95+cvs20040624-17_all.deb) for the floppy.img. The floppy boot image is called grub-0.95-i386-pc.ext2fs.gz and you can gunzip this and rename it to floppy.img if you like. First off use `qemu-img` to create a disk image. I set mine to 2 gigabytes. # qemu-img create hd0.img 2G -Now you will need a cdrom image or an install CD. I will use debian/hurd K8 in this example. I use a floppy image with grub on it to boot the system, after im done installing. The first time you run it you'll want to use `-boot d` to boot off the cdrom. +Now you will need a cdrom image or an install CD. I will use debian/hurd K9 in this example. I use a floppy image with grub on it to boot the system, after im done installing. The first time you run it you'll want to use `-boot d` to boot off the cdrom. - # qemu -hda hd0.img -cdrom debian-K8-hurd-i386-CD1.iso -fda floppy.img -boot d + # qemu -hda hd0.img -cdrom debian-K9-hurd-i386-CD1.iso -fda floppy.img -boot d Now at his point do the regular install using `hd0` as your harddrive. Partition it and install the base system. Instead of rebooting, just stop QEMU (it'll keep booting off the cdrom). @@ -20,7 +18,7 @@ Now at his point do the regular install using `hd0` as your harddrive. Partition Now run your image with floppy booting and finish the install (`./native-install` .. etc) - # qemu -isa -hda hd0.img -cdrom debian-K8-hurd-i386-CD1.iso -fda floppy.img -boot a + # qemu -isa -hda hd0.img -cdrom debian-K9-hurd-i386-CD1.iso -fda floppy.img -boot a So far I haven't been able to get networking going, it seems as if gnumach is not finding the ethernet device, although I haven't really looked into it that far. @@ -30,10 +28,6 @@ If you want to mount your disk image, you'll either have to use mount or a progr # mount -o loop,offset=OFFSET hd0.img /mnt/diskimage -I personally use lomount cause its easier. - - # lomount -diskimage hd0.img -partition 1 /mnt/diskimage - -- [[Main/AndrewResch]] - 23 Feb 2005 Readers may be interested in [[Hurd/QemuImageForL4]] too. |