Operating System - Linux
1827853 Members
1889 Online
109969 Solutions
New Discussion

NFS problem when boot ( urgent )

 
SOLVED
Go to solution
peterchu
Super Advisor

NFS problem when boot ( urgent )

When I startup the linux server , it stopped at the stage "mounting NFS filesystems" , how to skip it ( because may be my network has problem ) so that it can boot up , I can mount it after the network resumed normal . thx.
9 REPLIES 9
Martin P.J. Zinser
Honored Contributor

Re: NFS problem when boot ( urgent )

Hi,

grub has an interactive mode, where it will ask
you for each start up script if you want to execute it.

Greetings, Martin
peterchu
Super Advisor

Re: NFS problem when boot ( urgent )

thx reply , i use RH 7 , how to go to grub ? thx
Martin P.J. Zinser
Honored Contributor

Re: NFS problem when boot ( urgent )

Hi,

Grub is a bootloader, which is used for all recent RH versions. I am not sure about RH 7 though, you might still use LILO. What do you see right at the start of the boot sequence?

Greetings, Martin
Stuart Browne
Honored Contributor
Solution

Re: NFS problem when boot ( urgent )

After the kernel starts, RH will prompt you to press "I" for Interactive boot-up mode.

That's what you want to get in to.
One long-haired git at your service...
Steven E. Protter
Exalted Contributor

Re: NFS problem when boot ( urgent )

To temporarily disable nfs, change the permissions on /etc/init.d/nfs to non execute.

That will produce an error but the boot will continue.

Or: go to the links in /etc/rc3.d and change do a mv from a name starting to a capital S to something else.

/etc/rc3.d/S14nfslock
/etc/rc4.d/S14nfslock
/etc/rc5.d/S14nfslock

I usually move them to something with a small s.

SEP



Then NFS will will not start.

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
peterchu
Super Advisor

Re: NFS problem when boot ( urgent )

does linux provide the "step by step confirmation" mode like windows so that I can select what I want to run when startup ? thx
Stuart Browne
Honored Contributor

Re: NFS problem when boot ( urgent )

re-read my post! it's how you do exactally that!
One long-haired git at your service...
Steven E. Protter
Exalted Contributor

Re: NFS problem when boot ( urgent )

He Peter,

If you hit the I key right before the boot sequence starts, you'll get interactive mode.

Try it, its fun.

As Stuart said.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Roberto Polli
Trusted Contributor

Re: NFS problem when boot ( urgent )

SEP,
with redhat you don't have to move files into /etc/rc*.d
you can use a command named
#chkconfig SERVICE [on|off]
eg. #chkconfig nfs off
will turn off nfs at boot.
to stop the service you have to issue
#service nfs stop

To check services starting at boot you can issue
#chkconfig --list

For info
#man chkconfig

Peace, R.