I have ubuntu 16.04 installed.. whenever I boot the system and try to run ubuntu, busy box pops up. I do a manual check ---fsck -yf /dev/sda12--- and then reboot.. now the ubuntu boots properly but then after few minutes i am not able to save/write anything on ubuntu(says the the disk is read only) nor can i open my other partitions which i was able to access few minutes ago. I again restart my system and the same busybox appears. The cycle goes on and on. What should i do.. is my hard drive completely corrupted?
Update #1: running
fsck in recovery mode fixed the problem. I document this here to give the complete answer.
Lets first check your file system for errors.
To check the file system on your Ubuntu partition...
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type
sudo fsck -f /
- repeat the
fsckcommand if there were errors
If for some reason you can't do the above...
- boot to a Ubuntu Live DVD/USB
gpartedand determine which /dev/sdaX is your Ubuntu EXT4 partition
- open a
sudo fsck -f /dev/sdaX# replacing X with the number you found earlier
- repeat the fsck command if there were errors
first, run the command
then check the number of partitions
it will look like
/dev/numve2: UUID="kksgasjhgdjh36876" TYPE="ext4" PARTUUID="bdmdmd7-iuuyuy-89jlh" /dev/numve4: UUID="kksgasjhgdjh36876" TYPE="ext4" PARTUUID="bjjlo-iuuyuy-89jlh"
now just run the command for all partitions:
fsck /dev/numve2 -y fsck /dev/numve4 -y
after done for all partition just run :
and choose ubuntu it will work!!