Category Archives: System

Disable automount for removable devices in Ubuntu

Say you want to disable the automounting feature of Ubuntu. You can press Alt+F2 and type polkit-gnome-authorization. Press Enter and in the new window that appears go to Storage > Mount file systems from removable drivers. Press Edit. Select Active Console: Authentication. Press the Modify button. Alternatively, if you only want to disable the Nautilus… Read More »

Backing up the bootsector

Afraid you might mess up your MBR? Back up the bootsector: dd if=/dev/hda of=bootsector.img bs=512 count=1 If anything goes wrong, you can boot from a LiveCD and restore the bootsector with dd if=bootsector.img of=/dev/hda