Monday, April 09, 2007

Install Debian GNU/Hurd


I have installed Debian GNU/Hurd in my PC for testing.

(i am installing in hda1)
#mke2fs -b 4096 -o hurd /dev/hda1
#mount -t ext2 /dev/hda1 /gnu
#cd /gnu
#tar --same-owner -xvjpf ~/gnu.tar.bz2

I add in my /boot/grub/menu.list

title Debian GNU/Hurd
kernel (hd0,0)/boot/gnumach.gz root=device:hd0s1 -s
module (hd0,0)/hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} \
--host-priv-port=${host-port} --device-master-port=${device-port} \
--exec-server-task=${exec-task} -T typed ${root} $(task-create) \
$(task-resume)
module (hd0,0)/lib/ld.so.1 /hurd/exec $(exec-task=task-create)
savedefault

Here Hurd has not yet been configured, it must be started in single user mode. Adding a `-s'.
Assuming that the first drive (i.e. `(hd0)') is the master on the primary controller.

boot into your Hurd system. give "login root"

>login root
# export TERM=mach

to setup packages and hurd
# ./native-install

reboot and edit /boot/grub/menu.list (just remove the -s option) the grub you are using at that time.
title Debian GNU/Hurd
kernel (hd0,0)/boot/gnumach.gz root=device:hd0s1
module (hd0,0)/hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} \
--host-priv-port=${host-port} --device-master-port=${device-port} \
--exec-server-task=${exec-task} -T typed ${root} $(task-create) \
$(task-resume)
module (hd0,0)/lib/ld.so.1 /hurd/exec $(exec-task=task-create)
savedefault
boot the hund again and give the ./native-install again to finish the setup.

GNU Hurd Link
Debian GNU/Hurd install Link
Hurd Live CD Link

No comments: