XP hard disk installation of fedora14 process records and experiences (fedora14 live version 680 m and fedora14 DVD version 3.2g)

Source: Internet
Author: User

I used to develop it under virtual machines. But as virtual machines become slower and slower, I suddenly want to install linux on the hard disk for development. People cannot live in virtual machines for the rest of their lives! It was originally the ora17 installed by the Buddy's hard disk. After the installation, it was found that the device could not be connected to the network. If it was all set up, the device could not be connected to the network! I will install fedora14 myself this time!

The resources used will be provided for download later.

First, the software to be prepared ,:

1, you need to download the fedora14 DVD version, my is Fedora-14-i386-DVD.iso, about 3.2g, be sure to download this version. The live version of 600 m or more cannot be installed on the hard disk using this method. I was fascinated by this one night. The live version is only over six hundred M. After installation, you need to update and install more than 1000 software packages, and all the DVD versions have installed the software.

2. grub4dos Software

3. (if necessary, your hard disk cannot be formatted from NFS to FAT32. You also need to find a conversion tool .)

Installation steps:

1. Assume that you want to install fedora to the edisk. The original format of the edisk Is NTFS. First, you need to change it to FAT32. Why? After grub4dos is decompressed, grldr is used to identify the fedora image on the E disk. However, grldr only recognizes FAT32 ,. Therefore, if you are installing Linux for the first time, click my computer ---- manage ----- disk management, right-click the Elastic Block Storage and choose delete logical partition from the shortcut menu. (The premise is that you have copied the useful items from the edisk, which will be formatted ). Then, click the original Elastic Block Storage (edisk) to create a new logical partition and check whether the format is FAT32. If not, select NFS and change it to fat32by using a tool. As for the size of the new partition, first of all, I understand that the image fedora is put and some files after the ora image is decompressed. After the installation of fedora is complete, the disk can be deleted, which is visible under XP, it can be used normally. For example, if the original E disk has 80 GB, The FAT32 logical partition I created here is still an edisk, And there is 40 GB, then the 40 Gb unpartitioned is used to install the Linux system, it is invisible in XP.
Created now

2. Place grldr under grub4dos in the root directory of the C drive. In addition, there is a menu file with the following content:

Title install fedora 14
Kernel (hd0, 5)/vmlinuz Linux repo = HD:/dev/sda6 :/
Initrd (hd0, 5)/initrd. img

If you install linux on disk D, change it:

Title install fedora 14
Kernel (hd0, 4)/vmlinuz Linux repo = HD:/dev/sda5 :/
Initrd (hd0, 4)/initrd. img

Place the menu in the C root directory.

 

3. Click my computer-properties-advanced-startup and fault recovery-settings. Click Edit and add c: \ grldr = "fedora" below"

Restart and choose to install fedora. Choose Chines --- harddrive ---- basic storage device ---------- select the last [create a custom partition ]. Generally, the Linux operating system requires three partitions, one of which is the/boot partition. The/boot partition is used to guide the system. It contains the kernel of the operating system and the files to be used during system startup, the partition size is generally 100 MB.

One is a swap partition, which is twice the memory size. The swap partition acts as a virtual memory, which is usually about twice the physical memory size (when the physical memory is greater than MB, the swap partition is mb ). For example, if the physical memory is 128 MB, the size of the SWAp partition should be 256 MB.
One is/partition. in Linux, most system files and user files are stored in the/(Root) Partition. Therefore, the partition must be large enough, generally greater than 5 GB. Here/Partitions use the remaining space of the first two partitions.

Then you can install it.


After the installation is complete, fedora is started by default. You cannot see xp. How can this problem be solved?Under fedora, use Vim/etc/grub. conf to find

Default = 0
Timeout = 5
Splashimage = (hd0, 10)/GRUB/splash.xpm.gz
Hiddenmenu
Title fedora (2.6.25-14. fc9.i686)
Root (hd0, 10)
Kernel/vmlinuz-2.6.25-14.fc9.i686 Ro root = UUID = 75cac649-2952-402b-9461-314fa47a9214 rhgb quiet
Initrd/initrd-2.6.25-14.fc9.i686.img
Title other
Rootnoverify (hd0, 0)
Chainloader + 1

Change default = 0 to default = 1, which means to set fedora to the second startup by default. The following other indicates that the default ora is started, that is, XP. Add the following sentence under Title Other; title Windows XP

Point: Enter WQ to save it!

Finally, we will summarize:

1. The files placed in the C root directory include grub4dos grldr and menu. lst in the C root directory of XP. The content of menu. lst is changed:

Title install fedora 14
Kernel (hd0, 5)/vmlinuz Linux repo = HD:/dev/sda6 :/
Initrd (hd0, 5)/initrd. img

2, put into the E disk of things are: Fedora-14-i386-DVD.iso, unzip the isolinux file under the initrd. IMG and vmlinuz, And the decompressed images folder (hd0, 5 indicates the E disk, and the two are corresponding)

3. Click my computer-properties-advanced-start and fault recovery-settings. Click Edit and add c: \ grldr = "fedora" below"

Prerequisites: You have created an edisk in FAT32 format and reserved a blank partition.

Aftercare:

Modify/etc/grub. conf:Change default = 0 to = 1 and add a line below title other: Title megawa XP (this is just a name, it doesn't matter in case, the key is to change the above default = 0
OK !)

Download resources:

Grldr:

Http://download.csdn.net/detail/yanzi1225627/4462018

Menu. lst:Http://download.csdn.net/detail/yanzi1225627/4462020

 

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.