|
Windows 7 & Ubuntu 10.10 two systems next key Ghost, grub rescue prompt solution.
I installed Windows 7 + Ubuntu 10.10, a hard disk installed directly. Because Windows 7 download several large software, so I decided to look at a key Ghost backup, after the results of the restart, entered the grub rescue interface:
error: unknown filesystem grub rescue>
Research for a long time to solve this problem. Let us talk about how it was. When you install Ubuntu, starting with grub2 start. My C drive in Windows 7, Ubuntu space is divided from the D drive out. We know that every time the system is started when the first enter the grub, which is to choose which system ubuntu startup directory, if the partition by partition concerned, grub2 in (hd0, msdos7) is my ubuntu is located. So when you start root should be located in (hd0, msdos7), can be a key ghost will modify the start, it is the root change in the (hd0, msdos9), this is a windows partition is NTFS partition, ubuntu is not aware of this file system , so there is a error: unknown filesystem, in this case nature does not start, then grub2 starts grub rescue mode, is the repair mode. So we have to do is to grub redirected (hd0, msdos7). Here are the steps:
1. View Subdivision
Because each person's partition is not the same, so we have to view the partition, use the ls command grub rescue> ls Enter occurs after
(Hd0) (hd0, msdos9) (hd0, msdos8) (hd0, msdos7) (hd0, msdos6) (hd0, msdos5) (hd0, msdos1) grub rescue>
Note: I use the grub2, for grub user, the first partition is not on top of my words msdos partitions, each person is different. grub rescue> set Enter
prefix = (hd0, msdos9) / boot / grub root = hd0, msdos9
From the above it can be seen now my system from (hd0, msdos9) was initiated. So how do you know which partition it in ubuntu? Into the second step
2. Look for the partition ubuntu
This is a step we want a trial, or use the ls command
In the first test is not (hd0, msdos8) inside grub rescue> ls (hd0, msdos8)
Enter will find that it is not, then be still unknown filesystem. . . . . . . . . When I tried to
(Hd0, msdos7), when all of a sudden you can see a lot more words, these are my ubuntu name of the main folder folders and files. OK, find the partition!
wk_ad_begin ({pid: 21}); wk_ad_after (21, function () {$ ( 'ad-hidden.') hide ();.}, function () {$ () show () 'ad-hidden.'. ;});
3. Modify the boot 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 grub rescue> insmod normal // start normal start
grub rescue> normal
The above sequence typing instruction is not see the familiar boot menu? Windows 7 after the election, a key Ghost backup system to start up. Not happy too early, everything has not started yet. If you are not a problem because a key Ghost enter grub rescue, you can skip to Step 5
4. it again
When you are waiting for a key Ghost backup system finished, restart, or you find
error: unknown filesystem
grub rescue>
Do not worry, then the first three steps can be carried out again
5. Enter the command line to start Ubuntu
After entering the system boot options screen, you find that regardless of the point or get in, it is because you have not really modified grub, go to ubuntu in this modification
After entering the system boot entry interface, press C to enter the command line mode
grub> set root = hd0, msdos7
grub> set prefix = (hd0, msdos7) / boot / grub
grub> // inside xxxx linux / vmlinuz-xxx-xxx root = / dev / sda7 can press the Tab key, if there is acpi problem, and finally add a acpi = off
grub> initrd /initrd.img-xxx-xxx grub> boot
Ubuntu starts normally, right?
6. Go to repair grub Ubuntu great service will become high
After entering Ubuntu, repair grub run in a terminal sudo update-grub
Grub to rebuild the first hard disk mbr sudo grub-install / dev / sda
OK, reboot, and you're done! |
|
|
|