Fix disk error in Ubuntu Linux

The „fsck“ utility (file system verification) can easily fix and repair disk errors on an Ubuntu Linux operating system. This utility can only run on a hard drive whose drive is not accessible to a normal user. This means that “fsck” only works on a hard drive suspended from the file system. The Ubuntu installation CD is essential for the repair of the main hard drive. Furthermore, with this CD, the operating system can be executed completely from the CD drive. As a result, the file system does not have access to the operating system.

Guidance

  1. Insert Ubuntu installation CD into the computer
  2. Restart computer and select option to boot from CD-ROM
  3. Option to try Ubuntu without changing your system choose to boot from the live CD
  4.  Click the “Applications” menu (top of the screen)
  5. Submenu ‘Accessories’
  6. Select “Terminal” option to open terminal windows
  7. Enter command „fdisk-I“ to determine device names for the drive to be repaired, device names will look something like this: „/dey/sda“
  8. Enter command „sudo fsck -y /dev/sda“ to check the file system and eliminate errors
  9. Replace „/dey/sda“ with the device name of the hard drive to be checked
  10. Using “y” option execute command without interaction (without: confirmation before repair)
  11. Repeat command until no more error is found