Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Windows Ubuntu dual system a key Ghost, grub rescue prompt solution     - iOS development -Launch Image and Launchscreen (Programming)

- To install and configure the Jetty server and JDK under Ubuntu 14.04.2 (Server)

- Linux Systems Getting Started Learning: Configuration PCI passthrough on a virtual machine (Linux)

- Linux fixes fatal error: x264.h: No such file or directo (Linux)

- Fedora 22 install Adobe Flash Player (Linux)

- To install and deploy Java applications under CentOS 6.5 (Linux)

- Linux 4.0+ kernel support for hardware switching module (HW Switch Offload) (Linux)

- OpenGL Superb Learning Notes - Depth Texture and Shadows (Programming)

- Oracle first Automated Installation Packages (Database)

- Python Basics Tutorial - lambda keyword (Programming)

- Let Linux operating system more secure (Linux)

- ARM platform compiler installation Golang (Linux)

- ASP.NET 5 (vNext) Linux deployment (Server)

- Oracle 11g em start newspaper site's security certificate has a solution to the problem (Database)

- RabbitMQ Getting Started Tutorial (Linux)

- Configuring automatic mail GAMIT under CentOS system (Linux)

- Laravel configuration PhpStorm + Xdebug + Chrome settings Debug Environment (Server)

- Go build the locale under Windows (Linux)

- Install KVM on Ubuntu and build a virtual environment (Linux)

- Xshell configure SSH free password (Server)

 
         
  Windows Ubuntu dual system a key Ghost, grub rescue prompt solution
     
  Add Date : 2018-11-21      
         
         
         
  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!
     
         
         
         
  More:      
 
- Installation of Theano + CUDA under Ubuntu (Linux)
- Efficient Linux Shell - Shell special characters Summary (Linux)
- Linux environment variable configuration and save places (Linux)
- Using Python multithreaded mistakes summary (Programming)
- Why do I prefer Git (Linux)
- 5 tips to improve your Linux desktop security (Linux)
- HTTP and HTTPS request response process difference (Linux)
- Upload the project to GitHub, synchronous remote repository Github (Linux)
- Oracle bdump file soaring (Database)
- echo command (Linux)
- Easy to install CentOS 6.6 desktop environment (Linux)
- Based on Google Cloud Storage Mirroring open Maven Central Repository (Server)
- Oracle VirtualBox Problem Solving Case (Linux)
- To install JDK1.7 and compiler Hadoop-2.7.1 under CentOS7 (Server)
- Linux find command usage summary (Linux)
- Linux log management tools Logrotate (Linux)
- Linux Network Programming --TCP and UDP datagram type Explanation (Programming)
- Introduces Linux kernel compilation system and compiler installation (Linux)
- Oracle 11g forget approach SYS and SYSTEM password (Database)
- CoreOS Linux introduces Kubernetes kubelet (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.