Hurd

From Segfault
Jump to: navigation, search
          Hurd, n: Hird of Unix-Replacing Daemons. 
          Hird, n: Hurd of Interfaces Representing Depth.
             -- http://www.gnu.org/software/hurd/hurd/what_is_the_gnu_hurd/origin_of_the_name.html

Installation

Installation under VirtualBox is pretty much straightforward. The OS type Linux/Debian worked here. If the SATA controller does not work, try the PATA variant (PIIX3). While the installer offers to create a GPT partition, mkfs hung afterwards, so one is advised to choose an MS-DOS partition table.

During bootup, GNU/Hurd under VirtualBox might hang with the following messages:

 probing eata on 1c88
 probing eata on 2c88
 [...]
 ppa: Probing port 03bc
 ppa: Probing port 0378
 ppa: Probing port 0278
 [...]

However, after a while, booting continues, it's just a really slow booting process.

Postinstall

Network

 $ devprobe eth0
 eth0
 $ echo "nameserver 10.0.0.2" >> /etc/resolv.conf  
 $ settrans -fgap /servers/socket/inet /hurd/pfinet -i eth0 -a 10.0.0.23 -g 10.0.0.1 -m 255.255.255.0

We're passing fg to force any existing translator to go away. The ap is used to make both active (error messages are sent to stderr) and passive (persistent across reboots) translators.

 $ inetutils-ifconfig
 eth0 (2):
   inet address  10.0.0.23
   netmask       255.255.255.0
   broadcast     10.0.0.255
   flags         UP BROADCAST RUNNING MULTICAST
   mtu           1500
   metric        1
 
 lo (1):
   inet address  127.0.0.1
   netmask       255.0.0.0
   flags         UP LOOPBACK RUNNING
   mtu           3924
   metric        1

apt-get

 $ cat /etc/apt/sources.list
 deb http://ftp.debian-ports.org/debian unreleased main
 deb http://ftp.us.debian.org/debian    unstable   main
 $ gpg --recv-keys 22261D71
 $ gpg --armor --export 22261D71 | apt-key add -
 OK
 $ echo 'APT::Install-Recommends "false";' >> /etc/apt/apt.conf
 $ dpkg-reconfigure -p low debconf
 $ apt-get install inetutils-ping less bash-completion dselect psmisc locate apt-listchanges deborphan 
 $ apt-get update && apt-get dist-upgrade

Links