[glug-t] The thundering Hurd

I have got the Hurd running on my laptop! It's great! There was a session a=
t the Chennai Linux User's Group on installing=20
the Hurd. I managed to jot down some notes. Here it is...=20
=20
GNU/Hurd Installation=20
1. Create 83 type Linux partition.=20
=20
2. Bootable mini-ISO image(~33MB) from the net. http://www.debian.org/ports=
/hurd/hurd-cd Boot from the CD.=20
=20
3. Boots from the Linux kernel! You get the following menu=20
Main menu=20
     1. Keyboard layout=20
     2. Partition Hard disk=20
     3. New swap partition/Activate previous swap partition=20=20
     4. Initialize GNU/Hurd parition=20=20
 Select a GNU Hurd partition. Create filesystem. Becomes the=20
        root file system.=20
     5. Install the base system=20
 Copies files from the CD into the Hurd=20
 partition. /instmnt/tarball untar - in CD or harddisk?.=20
     6. Reboot=20
=20
4. Bootloader GRUB=20=20
   Have to edit /boot/grub/menu.lst=20
=20
   title=3DGNU Hurd=20
   root (hdX,Y)=20
   kernel /boot/gnumach.gz  root=3Ddevice:hdXsZ -s=20
   module /hurd/ext2fs.static --multiboot-command-line=3D${kernel-command-l=
ine} --host-priv-port=3D${host-port}=20
--device-master-port=3D{$device-port} --exec-server-task=3D${exec-task} -T =
typed ${root} $(task-create) $(task-resume)=20
   module /lib/ld.so.1 /hurd/exec $(exec-task=3Dtask-create)=20
   boot=20
=20
Warning: module options should be in a single line.=20
=20
The -s stands for single user mode. We boot in single user mode for=20
installation purpose.=20
=20
Before copying the above stuff note that you will have to change=20
(hdX,Y) and hdXsZ to reflect your configuration. Here Z =3D Y+1=20
=20
Parition naming convention(or chaos!)=20
                  Linux      Hurd        Mach           Grub=20
Primary Master    /dev/hda4  /dev/hd0s4  device:hd0s4   (hd0,3)=20
4th partition=20
=20
Primary Slave     /dev/hdb1  /dev/hd1s1  device:hd1s1   (hd1,0)=20
1st partition=20=20
=20
   Save and reboot.=20
5. You are at Hurd prompt!=20
=20
6. Run Native installer=20=20
=20
   # ./native-install=20
=20
   * Time Zone configuration=20
   * Sets all translators=20
=20
   Reboot now.=20
=20
7. Set TERM using=20=20
=20
   # export TERM=20
=20
   Run Native installer again.=20
=20
   * Sets up all packages=20
   * Configuration interface - choose dialog=20
   * A lot of configuration questions=20
   * Reboot, edit the grub boot command and remove -s, to get into=20
     multiuser mode=20
=20
8. Set TERM as above. Login as root and set the password.=20
=20
Using GNU/Hurd=20
=20
   login> login root=20
   hurd#=20=20
=20
   Many commands similar to Linux.(What do you expect, it is POSIX complian=
t!)=20
   df does not work. df / works!=20
=20
Mounting CD-ROM=20
   * Know your CD-ROM device filename.=20
     Get the kernel messages=20
   # cat /dev/klog > output=20
     Wait from few seconds and control-C, grep for CDROM it says hdX.=20
   # cd /dev=20
   # ./MAKEDEV <CDROM device filename>=20
   Create mount point=20
   # mkdir /cdrom=20
   Clear previous mounts=20
   # settrans -g /cdrom=20
   -g stands for go away=20
   Mounting=20
   # settrans -g /cdrom /dev/iso9660fs /dev/hd2=20
   Check, scratch, scratch doesn't work?!=20
   # showtrans /cdrom=20
   # cd /cdrom=20
   Ooh, it is /hurd/iso9660fs!=20
   # settrans -g /cdrom /hurd/ios9660fs /dev/hd2=20
   Great! It works now!=20
   How about unmounting=20
   # settrans -gp /cdrom=20
=20
Setting up swap=20
   Editor in the base install. No emacs!=20
   # nano=20
   Setting swap, didn't we set that at install time?=20
   /dev/hd0s2  none   swap      sw        0 0=20
   /dev/hd2    /cdrom iso9660fs ro,noauto 0 0=20
=20
Oops! We forgot to edit the /boot/grub/menu.lst to boot in multi user mode.=
=20
Reboot... Goto Linux edit menu.lst, remove -s option. Save and Reboot.=20
=20
Audience: Can we mount our Linux partition??=20=20
I haven't tried out.=20
=20
(Author: I later tried out mounting, Linux partitions. The command was=20
like=20=20
=20
# settrans -g linux/ /hurd/ext2fs /dev/hdXsY=20=20
=20
Ofcourse you will have to create /dev/hdXsY. But there was problem=20
when I tried to access the directory. It said "Permission denied" and=20
"Translator died". After a little probing I found that I had to=20
chmod the file permission of /dev/hdXsY to o+rw. Is this the right way=20=
=20
to do it?)=20
=20
GNU/Hurd users guide - nice place to start to learn GNU/Hurd.=20
http://www.gnu.org/software/hurd/users-guide/using_gnuhurd.html=20
=20
Cross Hurd installation.=20
=20
Help!=20
IRC Channel irc.freenode.net ##hurd=20
=20
--=20
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org=20
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze
---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with 
'unsubscribe' as subject.

Website: http://glugt.linuxisle.com

Other related posts: