Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux need manual fsck

This is caused by a consistency error on the partition containing the root file system. It is often triggered by improperly shutting down the machine.

The general fix is:

# Replace <partition> with that specified in the error (e.g. /dev/sda2).
(initramfs) fsck <partition with error>  
Enter Yes(y) to all prompts. Once complete, you will again be presented with the (initramfs) prompt.

# Reboot the machine.
(initramfs) reboot
You may have an issue with package manager upon reboot. In this case:

$ sudo apt-get update && apt-get clean && apt-get update && apt-get upgrade
Members of the Ubuntu community using SSDs (solid state drives) have reported this problem numerous times; this points to a potential bug in Ubuntu.

https://askubuntu.com/questions/885062/root-file-system-requires-manual-fsck
Comment

PREVIOUS NEXT
Code Example
Shell :: add migrations inside specific directory 
Shell :: dfc config shell 
Shell :: how to install brasero in linux 
Shell :: scp linix folder 
Shell :: redirect error files to different file linux 
Shell :: mongo shell 
Shell :: list of package versions dotnet 
Shell :: ros2 build from source 
Shell :: jre-8u331-linux-x64.rpm 
Shell :: how to use firework command in the linux ternimal 
Shell :: git log for all branchs for specific user 
Shell :: ffmpeg audio with echo 
Shell :: how make unbuntu use llvm-13 
Shell :: Shell script to adjust screen mode 
Shell :: ubuntu install curse of war 
Shell :: print each filename in a newline in ls 
Shell :: how to check a path is file or director in shell script 
Shell :: what is -e flag for in bash sed? 
Shell :: fork, remote setup, link 
Shell :: move all files in one folder to another too many files mv: Argument list too long 
Shell :: git add symlink 
Shell :: kubernetes remove taint 
Shell :: bash complete 
Shell :: disable wget messages 
Shell :: linux text shortcut 
Shell :: bash inline operator 
Shell :: aws cli donwlaod lmvda 
Shell :: array difference powershell 
Shell :: output file contents linux 
Shell :: code audit 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =