Tuesday, May 09, 2006

Syncronization of system clock

In Ubuntu's boot up sequence it use to always try to syncronize system watch with ntp.ubuntulinux.org Now this use to suck big time. Since it use to be boring waiting for long time. I tried serching various files where bootup sequence will be given but I coudn't find it. On one of the ubuntu forums I found this command

~$ sudo update-rc.d -f ntpdate remove

This removed the option of synchronization with ntp.ubuntulinux.org
Wow now its so kwel that my machine boots faster since it doesn't have to waste time in searching for the address with no internet connection.


You can configure your time zone using.
~$sudo tzconfig


Well 2 good things I learnt from this..

Saturday, May 06, 2006

Mounting Partitions in Linux

In Ubuntu I always mount my windows partitions. I use to mount sda1 and sda2. Now the thing was these were primary partitions. sda3 was extended. sda4 (ext3) was primary again. Since this is where my Ubuntu was installed. Now to mount sda1 and sda2

sudo mount /dev/sda1 /media/c-drive
sudo mount /dev/sda2 /media/d-drive

These commands works

But we cannot mount an extended partition so what we have to do is mount the logical partition in this. which is sda5( it is purely logical)

sudo mount -t vfat /dev/sda5 /media/e-drive

If you have more logical partitions in this then go on with sda6, sda7 and so on and so forth.