Linux: How to recover if'grub_file_filters' not found in grub rescue

If you get 'grub_file_filters' not found due to a problem when upgrading your Linux system, you can immediately think of a solution to reinstall grub. That said, if the system does not boot, there is nothing you can do, so prepare a LiveDVD etc. and boot from there. Then, start the terminal, become root, and hit the following command.

mount /dev/sdx /mnt
mount --bind /sys /mnt/sys
mount --bind /proc /mnt/proc
mount --bind /dev /mnt/dev
chroot /mnt
grub-install /dev/sdx

Where sdx is the device that points to the boot drive.

Recommended Posts

Linux: How to recover if'grub_file_filters' not found in grub rescue
How to write regular expression patterns in Linux
How to make Yubico Yubikey recognized in Manjaro Linux
How to allow nologin users to log in on Linux
[Linux] How to put your IP in a variable
How to use linux commands in Visual Studio Code terminal
[Introduction to Udemy Python 3 + Application] 36. How to use In and Not
How to get Instruction Pointer (= program counter) in Linux kernel
How to develop in Python
How to display a specified column of files in Linux (awk)
How to not escape Japanese when dealing with json in python
[Python] How to do PCA in Python
How to handle session in SQLAlchemy
How to use classes in Theano
How to write soberly in pandas
How to collect images in Python
Command is not found in sudo
How to update Spyder in Anaconda
How to use SQLite in Python
How to install wkhtmltopdf (Amazon Linux2)
How to install VMware-Tools on Linux
How to install MBDyn (Linux Ubuntu)
How to convert 0.5 to 1056964608 in one shot
How to reflect CSS in Django
How to kill processes in bulk
How to use Mysql in python
How to wrap C in Python
How to use ChemSpider in Python
How to use PubChem in Python
How to check Linux OS version
How to run TensorFlow 1.0 code in 2.0
How to handle Japanese in Python
How to log in to Docker + NGINX
How to call PyTorch in Julia
How to resolve "No kernel of grammar Python found" error in Atom
Dealing with key not found error in pacstrap when installing Arch Linux
[LPIC 101] How to specify the disk partition number in the GRUB configuration file
How to hide warnings that do not affect execution in Jupyter Notebook
How to use calculated columns in CASTable
[Linux] How to subdivide files and folders
[Introduction to Python] How to use class in Python?
How to suppress display error in matplotlib
How to access environment variables in Python
How to install aws-session-manager-plugin on Manajro Linux
How to dynamically define variables in Python
How to do R chartr () in Python
How to convert csv to tsv in CLI
How to delete expired sessions in Django
[Itertools.permutations] How to put permutations in Python
[Linux] How to use the echo command
How to implement nested serializer in drf-flex-fields
How to work with BigQuery in Python
How to use the Linux grep command
How to update php on Amazon linux 2
How to execute commands in jupyter notebook
How to do'git fetch --tags' in GitPython
How to get a stacktrace in python
How to display multiplication table in python
How to display emoji on Manjaro Linux
How to extract polygon area in Python
How to reassign index in pandas dataframe