Solution to dual-system dual hard drive installation in Windows 7

Source: Internet
Author: User

I installed the dual-System "fedora 18" on the win7 hard drive according to the network method and found many problems.

I have solved the problem based on my practical experience and provided my own solutions. You are welcome to make a decision.

First of all, read the content: I only use Linux environment without easybcd. Solution: Do not use easybcd to complete the hard disk installation of Fedora 18/centos 6

First, review the method on the Network: (the content is similar)

Software Used in the dual-system detailed process of installing fedora 18 on win7 Hard Disk: ext2fsd (read and write ext3 partition), easybcd (dual-system boot), acronis Disk Director (partition software), please refer to: 1. create a 5g ext3 partition, use ext2fsd to load the ext3 partition, and then upload the ISO ora 18 dvd iso file. 2. install easybcd, select Add new entry, select neogrub, select install, select configuration, and edit menu. LST, add: Title install Fedora Linux 18 root (hd0, 0) kernel/nst/vmlinuz repo = HD:/dev/sda10:/initrd/nst/initrd. IMG extracts vmlinuz and initrd from the isolinux directory of the DVD ora 18 dvd iso file. IMG files are stored in the win7 system partition/nst. (Modify sda10 to your own 5gext3 partition) 3. Create a 20g partition to install the fedora system file and create a swap partition. 4. Restart fedora and choose not to install the boot program. 5. set menu. change lst to: Title Fedora Linux 18 root (hd0, 0) kernel/nst/vmlinuz root =/dev/sda8 roinitrd/nst/initrd. IMG (modify sda8 to your own fedora system partition) 6. restart, win7, fedora, and dual systems. For cainiao, see: 1. Download the fedora 18 DVD. Because the DVD is larger than 4 GB, it can only be placed in the NTFS partition. 2. use the partitioning software (I use acronis disk ctor) to adjust a new 5g ext3 partition from the idle partition to put the fedora 18 DVD, because the fedora boot program cannot recognize NTFS. 3. Download ext2fsd (this software can read and write ext3 partitions in Windows) and install it. Run ext2 volume manager. because it is the first time, you must enable the driver, select Tools and settings, select the configuration file system driver, and click Enable. Select the 5g ext3 partition, right-click, select change assembly point drive letter, select load and exit. In this case, a new drive letter appears in the computer, and then copy the fedora 18 DVD to the root directory of the new loaded partition. After copying the ISO file, you can detach the ext2fsd file. 4. Create a 20 GB partition to install the fedora system file and create a swap partition swap, which is required by the Linux system. 5. install easybcd, select Add new entry, select neogrub, select install, select configuration, and edit menu. LST, add: Title install Fedora Linux 18 root (hd0, 0) kernel/nst/vmlinuz repo = HD:/dev/sda10:/initrd/nst/initrd. IMG (sda10) is my hard disk, which can be viewed by acronis Disk Director. The C disk is sda1, the D disk is sda5 (not sda2), and the E disk is sda6, change sda10 to the 5g partition where the ISO file is stored .) 6. Extract vmlinuz and initrd. IMG files from the isolinux directory of the DVD ora 18 dvd iso file and put them under the win7 system partition/nst. (You can use the virtual optical drive daemon tools Lite to load the ISO file) 7. restart the system, select the neogrub boot loader, and select install Fedora Linux 18 to start the installation process.8. During installation, select not to install the boot program. Otherwise, Windows 7 cannot start.9. after installation. change lst to title Fedora Linux 18 root (hd0, 0) kernel/nst/vmlinuz root =/dev/sda8 roinitrd/nst/initrd. IMG (sda8 is my fedora system partition, also changed to your own partition SDAY, Y is also a number) 10. restart your computer, select the neogrub boot loader, and select Fedora Linux 18 to experience Fedora Linux 18. You can also choose to enter win7.

The problem is that it is equivalent to using the kernel on the DVD to start fedora18. If there is a kernel upgrade, it will be troublesome.

The problem I encountered was that I could not mount the NTFS partition, saying that the system does not have fuse.

The solution is to change the boot menu, which is written by myself in the Linux environment.

Open the terminal and enter the following command:
Sudo chmod + x/boot/GRUB/grub. cfg
Sudo gedit/boot/GRUB/grub. cfg
Then add the following Startup menu at the end

menuentry 'fedora 18' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-9b4662f8-b794-48c3-8610-9ad8572149a7' {insmod part_msdosinsmod ext2set root='(hd0,msdos5)'if [ x$feature_platform_search_hint = xy ]; then  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  9b4662f8-b794-48c3-8610-9ad8572149a7else  search --no-floppy --fs-uuid --set=root 9b4662f8-b794-48c3-8610-9ad8572149a7filinux /boot/vmlinuz-3.6.10-4.fc18.i686.PAE ro root=/dev/sda5 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_MD LANG=zh_CN.UTF-8initrd /boot/initrd-plymouth.img}

Where

9b4662f8-b794-48c3-8610-9ad8572149a7
/Dev/sda5
Hd0, msdos5

All are my own disks and need to be modified according to my own machine

Details:

9b4662f8-b794-48c3-8610-9ad8572149a7 is a uuid and UUID is a hard disk partition number. In Linux, run the following command:
Sudo LS-L/dev/Disk/by-UUID to display the ID of the corresponding partition \

/Dev/sda5 is the start partition, which can be seen through the Disk Manager.

But I found it inappropriate.

Linux/boot/vmlinuz-2.6.32-279.el6.i686 Ro root = UUID = 9b4662f8-b794-48c3-8610-9ad8572149a7 boot System

Indicates that the uuid is 00000000-0000-0000-0000-00000000.

Change to Linux/boot/vmlinuz-3.6.10-4.fc18.i686.PAE Ro root =/dev/sda5

In addition:

Vmlinuz-3.6.10-4.fc18.i686.PAE
Initrd-plymouth.img

All files are located in the/boot directory. Modify the above menu according to your own file name.

For example, if the file name is different after the kernel is upgraded, You need to modify the file name of the new kernel.

About the failure to customize the software package:

Create a DVD source by yourself

mount -t iso9660  Fedora-18-i386-DVD.iso /media/fedora -o loop

Then create a fedoracd. Repo file to/etc/yum. Repos. D.
Content:

[luozhuangYUM]name=luozhuangYUMbaseurl=file:///media/fedora/enabled=1gpgcheck=0

Set other sources

enabled=0

You can use Yum groupinstall to install things in batches.

Related Article

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.