The fstab file is mainly used to describe the information of various file systems in the system. If the fstab file is lost, the system will load the partition error. The following small series will introduce you how to recover the lost fstab file in the Linux system. Let's learn.
The /etc/fstab configuration file determines how the Linux system will load each partition after booting. If the partition cannot be mounted, the system will not start successfully. The following error message will appear when starting up
Solution for /etc/fstab file loss
1. Using the emergency mode, the CD will not be able to find the Linux partition to be repaired due to the lack of the fstab file.
2. Find it manually And mount the root partition
3. Rebuild the fstab configuration file and restart the system
4. Scan the logical volume in the emergency mode shell environment to find the root partition device, then manually mount the root Partition and rebuild the fstab configuration file (if there is no logical volume in the system, then the relevant steps are omitted)
Specific steps
1, enter emergency mode
2, Check system partitioning fdisk -l
3, view each partition using the corresponding label name e2label command
4, create a temporary directory /tmpdir, and the root partition Mount to /tmpdir. Because /etc/The fstab file is under the root partition. (Note: If the logical volume used by the root partition, first find the logical volume, then activate the logical volume and mount it).
Previous12Next Total 2 Pages
What should I do if the Linux server is attacked? In fact, dont worry, the method of rejecting forei
In the Linux system, to set the boot, it is necessary to implement it through code.
We all know that there are many types of system files. If you dont know the file type, you cant know
If the Linux system is compromised, then personal privacy data is likely to leak, a
How to use Autofs to mount files in RHEL5
How to transform gedit into TextMate in Linux system
Linux ls command operation example summary
How to create management users and groups under Linux
How to use the top command to monitor Linux system performance
Ubuntu 12.04 system boot space is insufficient to delete the old kernel
What should I do if VMware does not support full virtualization when installing 64-bit CentOS?
How to solve the omitting directory error when copying files in Linux?
How to use the "yes" command in Linux?
Windows8.1 disk takes up 100% solution
How to install Windows7 system U disk installation win7 most detailed video tutorial
Win10 desktop preview version 11099 homemade Chinese ISO system image download 32-bit /64-bit
Win10 system task bar search box removal method
Create "three heads and six arms" of Win7 Explorer
Introduction to Windows Defender Win8 comes with protective armor
How do I install XP on a pre-installed Vista PC and set up dual boot?
The desktop of the computer appears win7 internal version 7061 windows copy is not genuine how to do