Speedup boot times

From The World according to Vissie
Jump to navigation Jump to search

The following tweaks are for EXT3 and ReiserFS filesystems Open a console and type:

 sudo gedit /etc/fstab

Add the following options marked in bold to the root (/) mount line. In other words, it should change from this:

# /dev/sdb2
UUID=f4d4d73d-4141-4701-a7e2-ec41664483a7 / ext3 defaults,errors=remount-ro 0 1

Into this:

# /dev/sdb2
UUID=f4d4d73d-4141-4701-a7e2-ec41664483a7 / ext3 defaults,errors=remount-ro,noatime,data=writeback 0 1

Now type the following command in the console:

sudo gedit /boot/grub/menu.lst

And add this option:

rootflags=data=writeback

to the end of the following lines:

# defoptions=quiet splash rootflags=data=writeback
# altoptions=(recovery mode) single rootflags=data=writeback

Now save and close, and type the following command in the console:

 sudo update-grub