[Home]QEmu Installation Guide

University Of Warwick Hurd User Group | RecentChanges | Login

This is a rough guide to installing Debian GNU/Hurd on qemu, created by Timo Lindfors. The steps described are highly experimental and will probably need tweaking before you get anything that works.

  1. sudo apt-get install qemu grub-disk
  2. wget http://ftp.gnuab.org/pub/debian-cd/K10/debian-K10-hurd-i386-CD1.iso
  3. dd if=/dev/zero of=debian-gnu-hurd-hdd.img bs=1M seek=3000 count=0
  4. qemu -boot d -cdrom debian-K10-hurd-i386-CD1.iso -hda debian-gnu-hurd-hdd.img
  5. Hit ENTER to "boot:" prompt
  6. Hit ENTER to "Release Notes"
  7. "Initial Keyboard Configuration": choose qwerty/fi-latin1
  8. "Partition a Hard Disk": ENTER ENTER y ENTER
  9. create two primary partitions: 2500M for / and rest for swap.
  10. "Initialize and Activate a Swap Partition": choose /dev/hda2
  11. "Initialize a GNU/Hurd Partition": choose /dev/hda1 and mount it as /
  12. "Install the Base System": hit ENTER and choose cdrom, choose "list"
  13. Choose "Reboot the system" and then kill qemu at "boot:" prompt
  14. zcat /usr/share/grub-disk/grub-0.95-i386-pc.ext2fs.gz > grub-0.95-i386-pc.ext2fs
  15. qemu -boot a -cdrom debian-K10-hurd-i386-CD1.iso -hda debian-gnu-hurd-hdd.img -fda grub-0.95-i386-pc.ext2fs -M isapc or qemu -boot a -cdrom debian-K10-hurd-i386-CD1.iso -hda debian-gnu-hurd-hdd.img -fda grub-0.95-i386-pc.ext2fs -isa
  16. Choose the first grub option, "GNU".
  17. Don't worry about error messages. just type "./native-install" and ENTER.
  18. Type 8 and Helsinki.
  19. run "reboot"
  20. Choose "GNU" from grub wait for system to boot. now type "./native-install" for the second time
  21. Choose "1. Dialog" frontend.
  22. Choose "3. medium"
  23. "Do you want system wide readable home directories?" pick "yes"
  24. "Should tcpd setup paranoid hosts.allow and hosts.access" pick "yes"
  25. Type "reboot" yet again, choose "GNU" from grub
  26. Hmm, boot hangs here
  27. Reboot with "-s" kernel option
  28. mount / -oremount,rw
  29. export TERM=mach
  30. nano -w /etc/default/hurd-console and change ENABLE='true'
  31. mount / -oremount,ro
  32. reboot
  33. type "login root" to "login>" prompt.
  34. cd /dev ; MAKEDEV hd0s2 hd2
  35. nano -w /etc/fstab and add "/dev/hd0s2 none swap sw 0 0" and "/dev/hd2 /cdrom iso9660fs ro,noauto 1 1"
  36. swapon -a
  37. mkdir /cdrom ; mount /cdrom
  38. /cdrom/upgrade/install.sh
  39. /cdrom/upgrade/gui.sh and choose "vesa" driver and "1280x960 @ 60Hz"

I had to configure the network before running install.sh

  1. settrans -fgap /servers/socket/2 /hurd/pfinet -i eth0 -a 10.0.2.16 -g 10.0.2.2 -m 255.255.0.0
  2. echo "nameserver 10.0.2.3" > /etc/resolv.conf

Does that


University Of Warwick Hurd User Group | RecentChanges | Login
Login to edit | View other revisions | Search MetaWiki
Last edited July 31, 2007 4:09 am by Mattl (diff)
Search: