[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Hurd packages uploaded to Debian



I've uploaded new Hurd packages based on the latest CVS sources
(19990212).  These work well for me, and include a bug fix that
enables Roland's cool `--chroot' diskfs option, which means you can
install a Hurd root directory as a subdir of an existing Linux
partition (the fabled ``subdir install'' I was murmuring about).

Here's the brief version:

- convert an existing Linux partition to have the Hurd as its
  creator-os (`e2os /dev/hda1 hurd')
- make a subdir that will be your Hurd root on that partition (`mkdir /gnu')
- extract the base-set into that subdir
- copy /gnu/boot/* into /boot, if you use a separate /boot partition
- edit /boot/grub/menu.lst:
title=	      GNU/Hurd
root=	      (hd0,0)
kernel=	      /boot/gnumach root=hd0s1
module=       /boot/serverboot
- edit /boot/servers.boot (carefully note the appearances of `gnu' in
  the following lines):
/gnu/hurd/ext2fs.static --chroot=gnu --bootflags=${boot-args} \
  --host-priv-port=${host-port} --device-master-port=${device-port} \
  --exec-server-task=${exec-task} -Tdevice ${root-device} \
  $(task-create) $(task-resume)
/gnu/lib/ld.so.1 /hurd/exec $(exec-task=task-create)

- Install GRUB, and boot!

Could somebody who understands how this works, and who can test it out
on their own machine please document this procedure in a more
human-readable fashion (incorporating it into the Idiot's Guide would
be best)?

With this release, you should also be able to use Roland's (more
complicated) `--boot-command' procedure to have a Hurd root partition
nested as a file inside another partition.  I haven't tested that,
though, and it's too complicated for my purposes, so please report
problems that you find if you try it yourself.

Have fun!  I'm off to work on glibc-2.1...

-- 
 Gordon Matzigkeit <gord@fig.org> //\ I'm a FIG (http://www.fig.org/)
    Lovers of freedom, unite!     \// I use GNU (http://www.gnu.org/)
[Unfortunately, www.fig.org is broken.  Please stay tuned for details.]


Reply to: