The Ubuntu Linux operating system uses the “fsck” (filesystem check) utility to check and repair any disk errors. The “fsck” utility can only be used on an unmounted drive. This means that the drive is not accessible to the normal user. If you want to repair the main hard drive, you must use the Ubuntu installation CD. The installation CD gives you the option to run a complete operating system from the CD drive, leaving your hard drive unmounted.


Things You’ll Need

Ubuntu installation CD


Insert the Ubuntu installation CD into your computer’s CD drive.

Reboot the computer and choose the “Boot from CD-Rom option.”


Choose the “Try Ubuntu without any change to your computer” menu option to boot into the Live CD.

Click on the “Applications” menu at the top of the screen.

Choose the “Accessories” sub-menu.

Choose the “Terminal” option to open a terminal window.

Type the command “fdisk -l” to locate the device name for the drive you want to fix. The device name will look like “/dev/sda.”

Type the command “sudo fsck -y /dev/sda” to check the filesystem and repair any errors. Replace “/dev/sda” with the device name for the disk you want to check. The “-y” option says to run the command non-interactively. Without this option, the utility will ask for confirmation before repairing any errors it encounters.

Repeat the command until no more errors are reported.

This post was thanked 0 time(s). Thank it ?

Comments are closed.

Albizia Theme designed by itx