Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1827  / 3 Years ago, thu, may 13, 2021, 4:39:14

I am duel-booting Ubuntu 12.04 and Windows 8. I was booted into Ubuntu when I lost power and now when I try to boot into Ubuntu it freezes on a black screen. However I can still boot into Windows just fine. When I boot into recovery mode I get the fallowing error:



There are differences between boot sector and its backup.
Differences: (offset: original/backup)
65:01/00
Not automatically fixing this
/dev/sda6 contains a file system with errors, check forced.
Checking disk drives for errors. This may take several minutes.
Press C to cancel all check in progress
/dev/sda1: 179 files, 7007/126976 clusters
/dev/sda6 Unattached inode 599991
/dev/sda6: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
mountall: fsck / [1183] terminated with statas 4
mountall: Filesystem has errors: /

Errors were found while checking the disk drive for /.
Press F to attempt to fix the errors, I to ignore, S to skip mounting, or M for manual recovery


I tried pressing 'F' to attempt to fix the errors but nothing happened. Actually I tried pressing all of the mentioned keys ('F', 'I', 'S', and 'M') all on different reboots but the computer was unresponsive.



I am new to Ubuntu and Linux in general so I don't exactly know where to start. Thanks in advance for any help.


More From » boot

 Answers
6

I found the solution. I booted into recovery mode, from there dropped to a root shell and ran the fallowing command:



fsck /dev/sda6 -v


That seamed to fix the problem.


[#25286] Friday, May 14, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
poous

Total Points: 81
Total Questions: 101
Total Answers: 119

Location: Cambodia
Member since Sat, Oct 3, 2020
4 Years ago
poous questions
Tue, Jun 22, 21, 09:48, 3 Years ago
Thu, Mar 16, 23, 00:23, 1 Year ago
Mon, Jun 7, 21, 11:47, 3 Years ago
;