For Windows 7 & amp; Ubuntu10.10, The grubrescue solution is displayed. I have installed Windows 7 + Ubuntu10.10, and the hard disk is directly installed. Because Windows 7 has installed several major software, we decided to back up the ghost with one click. After the restart, we entered the grubrescue interface: error: unknownfilesystemgrubrescue & gt.
For Windows 7 & Ubuntu 10.10, the grub rescue solution is displayed when you click ghost in the dual system.
I have installed Windows 7 + Ubuntu 10.10, and the hard disk is directly installed. Because Windows 7 has installed several major software, we decided to back up the ghost with one click. After the restart, we entered the grub rescue interface:
Error: unknown filesystem grub rescue>
This problem was solved after a long study. Let's talk about what is going on. During Ubuntu installation, grub2 is used for startup. My Windows 7 is on drive C, and the Ubuntu space is separated from drive D. We know that grub is first entered every time the system is started, that is, the system to be selected in the ubuntu startup directory. If grub2 is in (hd0, msdos7) by partition) that is, the partition where my ubuntu is located. In this case, the root should be set to (hd0, msdos7) during startup. You can change the root to (hd0, msdos9) with one click. This is a windows partition, that is, NTFS partition, ubuntu cannot identify such a file system, so there is an error: unknown filesystem. In this case, it cannot be started, so grub2 will start grub rescue mode, which is the repair mode. So what we need to do is to re-point grub (hd0, msdos7 ). The procedure is as follows:
① View partitions
Because each person's partition is different, we need to check the partition. After using the ls command grub rescue> ls to press enter, it will appear
(Hd0) (hd0, msdos9) (hd0, msdos8) (hd0, msdos7) (hd0, msdos6) (hd0, msdos5) (hd0, msdos1) grub rescue>
Note: grub2 is used. For grub users, there is no msdos before the partition. The above is my partition, and each person is different. Grub rescue> set press ENTER
Prefix = (hd0, msdos9)/boot/grub root = hd0, msdos9
As shown above, my system is started from (hd0, msdos9. So how do I know which partition ubuntu is in? Step 2
② Search for the ubuntu Partition
In this step, we need to try it one by one, or use the ls command.
Try grub rescue> ls (hd0, msdos8) not in (hd0, msdos8)
Press enter to find out, no, or unknown filesystem ......... When I try
(Hd0, msdos7), you can see a lot more words, these are my ubuntu main folder and file name. OK. The partition is found!
Wk_ad_begin ({pid: 21}); wk_ad_after (21, function () {$ ('. ad-den '). hide () ;}, function () {$ ('. ad-den '). show ();});
③ Modify the startup Partition
Grub rescue> root = (hd0, msdos7)
Grub rescue> prefix =/boot/grub // grub path setting grub rescue> set root = (hd0, msdos7)
Grub rescue> set prefix = (hd0, msdos7)/boot/grub rescue> insmod normal // start normal startup
Grub rescue> normal
I typed in the preceding commands in sequence. Do I see the familiar Startup menu? After selecting Windows 7, one-click ghost will start to back up the system. Don't be happy too early. Everything is not starting yet. If you do not enter grub rescue because of one-click ghost, you can directly jump to Step 5.
④ Try again
When you wait for one-click ghost to back up the system and restart the system, you find that
Error: unknown filesystem
Grub rescue>
Don't worry. Just repeat the first three steps.
⑤ Go to the command line to start Ubuntu
After entering the system startup option interface, you find that you have not modified grub, and you need to modify it in ubuntu.
After entering the system startup Item interface, press C to enter the command line mode
Grub> set root = hd0, msdos7
Grub> set prefix = (hd0, msdos7)/boot/grub
Grub> linux/vmlinuz-xxx root =/dev/sda7// Press the Tab key for xxxx. If there is an acpi problem, add acpi = off.
Grub> initrd/initrd. img-xxx grub> boot
Is Ubuntu started normally?
6. The major success of repairing grub in Ubuntu will be high.
After entering Ubuntu, fix grub and run sudo update-grub on the terminal.
Recreate grub to the first hard disk mbr sudo grub-install/dev/sda
OK, restart, everything is done!
Ubuntu installation to mobile hard drive & grub rescue Problem Solving http://www.linuxidc.com/Linux/2014-02/96175.htm
How to fix grub rescue after installation error in Linux http://www.linuxidc.com/Linux/2013-06/85517.htm
Linux repair grub (BOOT menu) http://www.linuxidc.com/Linux/2012-09/70056.htm in rescue (rescue) Mode
Ubuntu boot grub rescue> Terminal Mode repair methods http://www.linuxidc.com/Linux/2012-07/65249.htm
Grub rescue http://www.linuxidc.com/Linux/2012-06/62529.htm when multiple systems enter Ubuntu
Ubuntu 10.10 prompts grub rescue solution http://www.linuxidc.com/Linux/2011-01/31650.htm
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-01/111189.htm