Win7 and Fedora dual system installation and boot repair

Source: Internet
Author: User
Win7, Fedora Dual System--installation

The rise last night with a hard drive installed a dual system, the original system is Win7, after installed Fedora13. The installation process is as follows: first, environmental description

System: Win7 32

Disk: C (50g-win7 system), D (120G), E (108G), F (132G), H (50G)

Second, prepare

1. Download image file:

http://www.linuxsight.com/blog/2984

2. Download EASYBCD software

http://www.ctdisk.com/file/2756381

3. Create a disk with a size of 10G and a file system of FAT32.

Role: Put Linux system Mirror (ISO) file-hard drive installation (no knowledge of NTFS file system under Linux)

Steps

In Disk Management (as shown above), right button F: Disk-"Compressed volume, pop-up a dialog box as shown below:"

Adjust the space to compress (that is, create a logical partition of the specified size using the rest of the space), and then make an extra space available, as shown below

Right-click on 10G free Space-"Create a simple volume, the next step, to the format of the interface, where the file system to select FAT32 (Linux does not know the NTFS file system). The following figure:

Next, the finish is created.

4. Copy image to H disk and extract images and iolinux two folders, as shown below:

Third, installation 1. Install EASYBCD software

When finished, open, as shown in the following figure:

After 1.2.3 step, the Configure button is available, click it will open Menu.lis file, at the bottom add the relevant content, the following figure:

Note: (hd0,4) is to be based on your ISO file on the disk to determine

(hd0,0) refers to the first disk first primary/extended partition (that is, C disk), (hd0,1), (hd0,2) and (hd0,3) the first four numbers are reserved for primary/extended partitions whether or not.

Starting with 4, you're referring to your logical partitions (that is, in an extended partition, as shown in the above diagram D, E, H, F, the general situation in the category plus (can see the order of Disk Management), (hd0,4) refers to D disk, (hd0,5) means E disk ...

(hd0,0) The corresponding Linux partition number is sda1, and so on, which should be remembered for its usefulness during the installation process.

A hard disk can be divided into 4 primary partitions or extended partitions, which are determined by the partition table. An extended partition can have only one, which is limited by the operating system. A logical partition is a partition that continues to be cut by an extended partition. 2. Install Linux process

This process is a lot of online tutorials, and here is not written. Self-Baidu, Google Bar (brother, not so lazy). 3. Friendly tips:

Linux system installation process is a step and guide related, specifically not to come up, everyone pays attention to

It defaults to writing the bootstrapper to the window's MBR, which is not good, and it's best to change the options so that they are written to all Linux disks.

Advantages:

1. There will be no impact on the window system.

2. It is easy to repair the boot of Linux after reloading (restoring) the Window System. Win7 and Fedora Dual system--system guided repair

After entering the Win7, h disk 10G space Let me see very uncomfortable, so I deleted this volume, and then merged back to e-disk, everything is very calm, shut down to sleep.

The next day to turn on the computer to revisit the results of last night, tragedy, appeared black screen white: The system could not go. Description:

The system does not go on, there is no startup item, the interface appears:

grub> Reason analysis:

Deleted a partition, Linux grub.conf record location is not correct, so the system could not be found. Solution:

First step:

1. Grub> Root (hd0, 7)

2. Grub> Setup (hd0)

Appear success ... Description of Successful Repair

3. Reboot the system Indeed, there is a "system menu item":

Fedora (Kernel 2.6-versioin ...)

Other

4. Select Fedora Error: probably means that the system could not be found, press any key to return.

Note The English in the interface, "C" into the command line interface

Step Two:

Press "C" to enter the command line interface

1. Grub> root (HH + Tab + TAB) shows the following figure information

You can see the disk feeling total, 7 is the Ext2fs file system, indicating that this is the location of Linux.

2. Grub> find/grub/grub.conf

Appearing (hd0, 7)--further explaining the position of Linux in (hd0,7)

3. Grub> Root (hd0, 7)

4. Grub> cat/grub/grub.conf

Lots of content (contents of grub.conf file):

(This picture is changed to (hd0, 7))

We found the problem. Root (hd0,8) is not removed when the H disk position, is now root (hd0,7)

The content of grub.conf is the content that loading at boot, then hit it manually

5. Grub> Root (hd0,7)

6. Grub> kernel/vmlinu-version ... (Copy the kernel line in the above picture)

7. Grub> initrd/initrd-version.img (press TAB to automatically be padded)

8. Grub> Boot

There was a lot of content, but in the end it failed.

Step Three:

Think about Ah ..., not supposed to, why not? The start of the time is to load these things ah, online search Other people are also such treatment.

Can you modify the root (hd0,8) in the grub.conf?

After reboot in the boot menu in the selection bounds of some English, which is mentioned in the click of E to enter the editor

The surprise appeared, and in the following three lines appeared:

Root (hd0,8)

Kernel/vmlinuxz-version .....

Initrd/initrd-version..

Each row can be modified by selecting the root (hd0,8) line and modifying it by E:

Changed to: Root (hd0,7)

After the end, finally into the long-awaited Linux.

Hey, man, how did you sleep, not finished yet.

Fourth Step:

After entering the system, open the terminal:

ØCD ~/boot/grub

Øvi grub.conf

Ø Change Root (hd0, 8) to root (hd0,7) and save exit.

Now it's over, you can sleep, go down on the boot can be directly into the.

Win7, Fedora Dual System--restore (reload) win7 after repair Linux boot Prerequisite:

Install Linux without booting it into the MBR of the Win7, but instead write it into its own space (as mentioned in the previous installation) :

1. Install the EASYBCD software, after the completion of the operation, the following figure:

Note:

Type: Select Grub

Name: is the names to display in the Startup menu item

Remember to tick on: "Use EASYBCD ' s copy of GRUB"

2. Save reboot to see FEDORA16 this startup item.

To this, finally wrote, everybody top one.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.