PDA

View Full Version : HOWTO: Disable the NTP sychronization process during usplash.


Muhammad
October 15th, 2005, 10:09 AM
Many people have reported that NTP Synchronization slows down or lags the booting process, I thought I might as well post a mini-HOWTO. :)

System -> Administration -> Synaptic

Click Search and type "ntpdate" in the search box.

Right-click and choose "Mark for Removal"

NOTE:This will also remove the Ubuntu-minimal, but don't worry, it won't cause harm .

Alternate Method:

sudo apt-get remove ntpdate

Congratulations, the NTP will never cause you annoyances again!

LaSSarD
October 15th, 2005, 10:27 PM
If you don't want it to be permanent, you can just remove its executable permission:
sudo chmod -x /etc/init.d/ntpdate

jobezone
October 17th, 2005, 06:23 AM
In Gnome, you can also deactivate it going to the menu option System -> Administration -> Services

oblib
October 20th, 2005, 06:56 PM
Another, less "removing" solution is to use the following command, given all over the forums:

sudo update-rc.d -f ntpdate remove

That just removes it from startup. Worked for me!

bam
October 21st, 2005, 04:48 AM
thanks worked well, the one above me :)

LaSSarD
October 21st, 2005, 07:19 PM
nice one oblib, very chic way :D

mlomker
October 22nd, 2005, 12:25 PM
I'd recommend downloading the bum package. It is a lot easier than update-rc.d or any other method.

hesee
October 22nd, 2005, 01:03 PM
Another, less "removing" solution is to use the following command, given all over the forums:

sudo update-rc.d -f ntpdate remove

That just removes it from startup. Worked for me!

Strange thing happened when I did like that: during next boot the boot process stopped and computer power went down. When this happened, last line was: calculating module dependencies... I had to boot failsafe, and put ntpdate back to be able to normal boot (this ntpdate fails, btw. That was the original reason to remove it...)

brj
October 28th, 2005, 12:46 PM
In Gnome, you can also deactivate it going to the menu option System -> Administration -> Services

deactivating the service didn't help :( ubuntu still tries to to sync the clock during boot.

RSX311
October 28th, 2005, 01:00 PM
I removed ntupdate but it removed ubuntu-minimal with it, why does it do that? I was afraid it might of affected something else so I did apt-get install ubunutu-minimal and it installed ntupdate back again. Anybody know why?

mlomker
October 28th, 2005, 01:57 PM
That's a metapackage, so you can safely remove it. That being said, there's no reason to remove ntpdate. You can just disable it using bum, as previously mentioned.

manicka
October 28th, 2005, 07:51 PM
BUM is available in universe

sudo apt-get install bum

lol

emendelson
October 28th, 2005, 08:37 PM
Another easily reversible way to do this is

cd /etc/rcS.d
sudo mv S51ntpdate _S51ntpdate


If you ever want it back, just rename the file.

brj
October 29th, 2005, 11:45 AM
That's a metapackage, so you can safely remove it. That being said, there's no reason to remove ntpdate. You can just disable it using bum, as previously mentioned.
i can install and even run bum. but i must admit, i'm not able to enable the startup script ntpdate nor any other script :(

Miciomiao
October 21st, 2009, 08:16 AM
Guess what?
/etc/network/if-up.d/ntpdate
-_________-'
Can't they just leave the clock alone?