9.6. GNU (Also known as GNU/Hurd)

9.6.1. Installing GNU

This has been contributed by Bruno Bonfils (asyd at debian-fr dot org)

9.6.1.4. Installing GNU

9.6.1.7. Final Step

Create a grub floppy disk or use my floppy image [3] Adapt your bochsrc file according to your choice. If you want install Grub on the image disk, remember to copy stage1, stage2 Grub's files into /mnt/gnu/boot/grub.

Launch bochs - as root if you want networking (using sudo for example).

If you have stage1 and stage2 file, you can install Grub on the MBR.

<grub> root (hd0,0)
<grub> setup (hd0)

Finally, booting GNU mach

<grub> root (hd0,0)
<grub> kernel /boot/gnumach.gz root=hd0s1
<grub> module /boot/serverboot.gz
<grub> boot
Now, you can read the official GNU/Hurd Installation Guide [4] .

9.6.1.8. Networking

You can try to test networking between the GNU/Linux (host OS) and the GNU/Hurd. First of all, please read [5] , I currently have the *same* problem. [6]

Verify your kernel configuration, you need to have :

CONFIG_NETLINK_DEV=m
CONFIG_ETHERTAP=m
(or y instead or m). Check if /dev/tap0 file exist, else create it with
# mknod /dev/tap0 c 36 16
and run this command on the guest os :
# ifconfig tap0 192.168.100.1 netmask 255.255.255.0
Use ip 196.168.100.10 on the GNU/Hurd and you can ping 192.168.100.1

Notes

[1]

My own harddisk Image File (~20Mo)

[2]

GNU/Hurd Installation guide

[3]

Grub Floppy image : (coming soon)

[4]

GNU/Hurd Installation guide

[5]

new ethertap interface for linux, by Bryce Denney

[6]

This can be solved by using the tuntap interface (see Section 8.9)