Posted By

bionic on 12/01/10


Tagged

mount remount


Versions (?)

mounting repair file system remount linux


 / Published in: Bash
 

  1. //go to grub loader, press ESC, then highlight linux, click e to edit, then click e on the kernel line to edit again and add the word single to the end. ENTER then b to boot in single user mode. Once at command prompt.
  2.  
  3. mount -o remount,ro /dev/sdx //to go to read only
  4. e2fsck -fy /dev/sdx //to repair file system
  5. mount -n -o remount,rw /dev/sdx //to return to read write mode

Report this snippet  

You need to login to post a comment.