D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Mandrake 10.1 hangs on boot

 

On Wednesday 09 February 2005 11:22 am, Julian Hall wrote:
This morning I booted the desktop and it hangs at the stage of mounting
any NFS devices.  Usually if the laptop (the only NFS devices I use) is
not connected at boot it will just skip that giving errors and complete
the boot just not having connected to the laptop.

This can happen with NFS mounts IF you don't unmount the device before 
shutting down the other machine. 

You may be able to telnet / ssh into the Mandrake box - it depends which other 
services have been started prior to NFS - or you can use the boot loader 
options to load Linux single.

Apologies for the extremely long URL,
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-rescuemode-booting-single.html

You could do the simple thing and Google for lilo single
http://www.google.co.uk/search?q=lilo%20single&ie=UTF-8&oe=UTF-8
It's the first link at the moment.

Same google page also gives this help:
http://www.itworld.com/nl/lnx_sec/06252002/pf_index.html

Which refers to something already on the DCGLUG website:
http://www.dcglug.org.uk/wiki/?id=LinuxTips
Protect your system using LILO
Root password failure

When you're done, setup a LILO password as in the Tips and prevent someone 
else getting root access to your box this easily. 

Alternatively if you can't get LILO to pause and give you the boot prompt, 
load Knoppix and then temporarily remove the link in /etc/rc5.d/ to the nfs 
script to stop it loading next boot, don't forget to put it back with 
cd /etc/rc5.d/ ln -s ../init.d/nfswhatever Sxx etc.

Is there any way to bypass it so that I can boot fully and fix whatever
is wrong?

Once in, inspect the running processes (ps waux) and kill the NFS process(es):
kill 0000
(the process ID as listed by ps).

-- 

Neil Williams
=============
http://www.dcglug.org.uk/
http://www.nosoftwarepatents.com/
http://sourceforge.net/projects/isbnsearch/
http://www.neil.williamsleesmill.me.uk/
http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3

Attachment: pgp00020.pgp
Description: PGP signature