Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 20791  / 2 Years ago, sat, march 26, 2022, 1:04:34

I have just set up my new system by creating three partitions on a whole hard disk (/boot, /home, swap and /). I saw this article and now I am getting those errors and the system provide me with some options: (I to ignore, S to skip mounting or M for manual recovery).



I am forced to choose skip mounting because I don't know what manual recovery is. Despite the error I get I think that the system boots okay because I can use the system but this error is very annoying.


More From » boot

 Answers
1

The message says some errors were found on the filesystem which fsck is afraid to fix automatically, so you need to do it manually. To do this, press M when it prompts you - this will drop you into a emergency root console. From there you'll be able to run



fsck /dev/sda1


where /dev/sda1 is the name of your /boot partition. You can see the list of partitions by doing fdisk -l.



Alternatively, you can try fsck -A to check all partitions but I suppose it'll only work if the root partition is already mounted so fsck can access /etc/fstab.



It'll probably ask you a few questions - I usually just agree with what it proposes. Also, there's 'a' option which will fix things automatically but the man file suggests to use it with caution. So, ultimately, fsck -Aa should fix all errors on all partitions without asking any questions.



After you're finished, exit the shell with Ctrl-D and the machine will reboot.


[#43756] Monday, March 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
azaaburge

Total Points: 266
Total Questions: 85
Total Answers: 109

Location: Djibouti
Member since Sat, Oct 29, 2022
2 Years ago
;