[Fsf-friends] Re: GNU/HURD Installation: native-install goes into endless loop

Anand Babu ab@gnu.org.in
Tue Feb 15 04:02:18 IST 2005


,----[ "Toufeeq Hussain" <Toufeeq_Hussain@infosys.com> ]
| I'm unable to create/modify files.  remember that I'm operating
| under single user mode (-s, during boot-time), maybe the read-only
| is set because of single-user mode.
`----
This explains. File system is mounted read only. This could have
happened because of improper shutdown or incomplete installation. 

Try this,
Assuming your root partition is hd0s1 (hda1)

# fsck.ext2 -y /dev/hd0S1 
# fsysopts / --writable

Then you proceed with your installation.
# ./native_install

Otherwise, I recommend a re-install.

SWAP and CDROM
---------------
Also don't forget to add SWAP entries in your /etc/fstab after
installation completes.

You need to create devices before you use them.
If you have a swap partition say hd0s2 (hda2) and cdrom as hd2 (hdc),
then 
# cd /dev
# ./MAKEDEV hd0s2
# ./MAKEDEV hd2

and add these two lines to /etc/fstab

  /dev/hd0s2  none    swap    sw   0   0
  /dev/hd2    /cdrom  iso9660 ro   0   0

# swapon -a

APT
----
If your network card works, add this to your /etc/apt/sources.list

  deb http://ftp.gnuab.org/debian unreleased main
  deb http://ftp.debian.org/debian unstable main


NETWORK
--------
Setup networking like this: (Choose IP addresses appropriately) 

# settrans -fgap /servers/socket/2 /hurd/pfinet -i eth0 \
           -a 192.168.1.54 -g 192.168.1.1 -m 255.255.255.0
# echo "nameserver 202.54.15.1" >> /etc/resolv.conf
# ping www.gnu.org

SSH
----
ssh installation will fail, because of missing
/dev/urandom. Before you proceed with ssh installation, temporarily
create a symbolic link of some binary file in place of urandom. This
is just a dirty hack..

# ln -s /bin/bash /dev/urandom

CONSOLE
--------
I am comfortable with "screen" package, except I re-map C-a prefix
with ` key. Add this to your /etc/screenrc
  # turn off annoying visual bell off and enable audible beep
  vbell off
  
  # replace C-a with C-\
  escape `^M

If you want a fancy Hurd console try this
        
 # console -d vga -d pc_mouse --repeat=mouse -d pc_kbd --repeat=kbd \ 
 -d generic_speaker -c /dev/cons /dev/vcs

QUESTIONS
----------
Here is a nice FAQ for GNU/Hurd 
http://www.gnu.org/software/hurd/faq.en.html


-- 
Anand Babu
Free as in Freedom <www.gnu.org>



More information about the Fsf-friends mailing list