Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution of error:unknown filesystem when the computer starts up

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

My computer is equipped with a dual system (redhat7+win7). One day I compressed a partition on the win7 and added a new partition. After that, I encountered this error when I turned it on: error:unknown filesystem

First of all, let's talk about the reason for this: I re-partitioned with the partition tool under windows (although I didn't touch the partition where the Linux is located)

Solution:

Do the following on the command line:

Enter after normal and you will enter the system.

Description:

Ls displays information about partitions

The ls (hd0,msdosx) / grub2 command is used to find out which partition the Linux disk is in and where the grub directory is located. Because my linux is installed with red hat enterprise 7 dint rhel7 using grub2 boot. So find out where the grub2 directory is. (hd0,msdosx) is the partition name listed in ls above, which requires an attempt. When a file is displayed instead of unkown filesystem, the partition is the partition where your linux is located.

Set lists the current grub settings and replaces them with the partitions you found in the listed format, such as what I did:

Set root=hd0,msdos9

Set prefix= (hd0,msdos9) / grub2

Enter the linux system, execute the command grub2-install / dev/sda under the superuser (sda is my boot disk), and then the system can start normally

Reference: http://www.linuxidc.com/Linux/2012-06/61983.htm

Http://www.2cto.com/os/201206/135368.html

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report