Four Tweaks for Using Ubuntu with SSD

SSDs (solid state drives) are great. They’re shock resistant, consume less power, produce less heat, and have very fast seek times. If you have a Ubuntu computer with an SSD, such as an Eee PC, there are some tweaks you can make to increase performance and extend the life of the disk.
  1. The simplest tweak is to mount volumes using the noatime option. By default Linux will write the last accessed time attribute to files. This can reduce the life of your SSD by causing a lot of writes. The noatime mount option turns this off.
    Open your fstab file:
    sudo gedit /etc/fstab

    Ubuntu uses the relatime option by default. For your SSD partitions (formatted as ext3), replace relatime with noatime in fstab. Reboot for the changes to take effect.
  2. Using a ramdisk instead of the Ubuntu SSD to store temporary files will speed things up, but will cost you a few megabytes of RAM.
    Open your fstab file:
    sudo gedit /etc/fstab

    Add this line to fstab to mount /tmp (temporary files) as tmpfs (temporary file system):
    tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0

    Reboot for the changes to take effect. Running df, you should see a new line with /tmp mounted on tmpfs:
    tmpfs 513472 30320 483152 6% /tmp



( Read more )

How To Reset Any Linux Password

A few days back we looked at how to password protect your GRUB boot entries so that a password is required before anyone can boot the operating system or edit the boot entry.

Let’s look at some ways you can use to reset your Linux system’s password. You might know that the root user can change the password for any other user. However what if you forget your root password? This is what we would attempt to achieve here.

So, how to reset password in Linux?

( Read more )