Hard Disk Installation notes for Fedora 8

Source: Internet
Author: User
Tags line editor

Install Linux for others yesterday. Take notes as follows:
Fedora 8 hard disk installation method is actually very easy, the following refer to the post on the network.

1. Preparations before installation: to install fedora 8 from the hard disk, ensure that the disk storing the feora8 image file is in the FAT32 format. In addition, you need to leave a part of the space for the Linux system. It is recommended that the space be at least 10 GB and a swap partition, set the partition for Linux installation as the primary partition, and prepare a swap partition of 2 times the memory. It is best to use pqmagic to divide the partition and start the following steps.

2. Download grub fordos tool (http://www.linuxidc.com/Linux/2007-10/8641.htm), which is used to boot into the Linux installation process at startup. Decompress the downloaded grub for dosfile (package menu.lst,grldr,grub.exe) to the C root directory. Instead of copying the decompressed folder to the C root directory.

3. Download the ISO image file of Fedora 8. Http://fedoraproject.org/en/get-fedora, very big Oh, pay attention to verify the downloaded ISO, generally not much problems.

4. Modify boot. ini.

Open the file boot. ini in the root directory of the C drive. In the last line of the file, add C:/grldr = "Start Grub", save, and exit. Boot. INI is a system file. It requires a bit of skill to open it. Here are two methods for you:

1) start -- set -- control panel -- System -- Advanced -- start and fault recovery -- set -- edit (or right-click-my computer -- properties -- System -- Advanced -- start and fault recovery -- Set -- edit ), at this time, an open notepad will be written, which contains the original boot. INI content, modify it.

2) If you have a basic dos knowledge, run cmd to open the command line editor, and then enter the command:

CD // * to the C root directory */
Edit boot. INI/* edit the boot. ini file */

Modify it, press ALT, open the "file" option, save and exit.

(When you restart the system, you will find that you have selected one more System Option option when starting, one is Microsoft Windows XP and the other is grub. You do not need to restart the computer here)

Now, if the ora8 installation package has been downloaded to your computer, use a virtual optical drive or RAR to open the image installation file you downloaded. The vmlinuz and initrd files in the "isolinux" Directory will be used. copy two IMG files to drive D, NTFS or FAT32. Note that vmlinuz, initrd. IMG, and fedoraxxxx. ISO should be placed in a FAT32 partition; otherwise, they cannot be read. Although grub can identify NTFS directory information, it seems that there is still a problem reading the file content. For example, you can put it in the root directory of drive D.

5. Read 5.1 and 5.2 and try again.

5.1 either of the following three methods
-------------------------------------------------
I) Find the menu. LST file on drive C, open it in notepad, and add the following three lines at the end (only in red ):

Title install-fedora 8/* This is a menu identifier, which displays install-fedora 8 */
Kernel (hd0, 0)/vmlinuz/* address of the vmlinuz file */
Initrd (hd0, 0)/initrd. img/* file initrd. IMG address */

/* Kernel (hd0, 0)/vmlinuz and initrd (hd0, 0)/initrd. IMG are batch processing commands that will be automatically executed by the system.
Restart the machine
Select Start grub in the System option after the instance is started. Then select install fedora 8 in the list.
-------------------------------------------------
Ii) or delete all contents in the menu. LST file, and then copy the following content to it.

Color black/Cyan yellow/Cyan
Timeout 30
Default 0
Fallback 1

Title install fedora 8
Kernel (hd0, 0)/vmlinuz
Initrd (hd0, 0)/initrd. img
Boot

Title back to (windwos OS)
Rootnoverify (hd0, 0)
Makeactive
Chainloader

Title CommandLine
Savedefault -- Wait = 2
CommandLine

Title reboot
Savedefault -- Wait = 2
Reboot

Save and exit.
Restart the machine
Select Start grub in the System option after the instance is started. Then select install fedora 8 in the list.
-------------------------------------------------
Iii) You can also not rewrite menu. lst.
Restart the machine and select 'start grub'
List a bunch of menus, regardless of it. Directly press C to enter the command line.
Run the following command:
Kernel (hd0, 0)/vmlinuz/* address of the vmlinuz file */
Initrd (hd0, 0)/initrd. img/* file initrd. IMG address */
Boot
-------------------------------------------------

Explanation: Here (hdx, Y) X indicates which hard disk is used, "0" indicates the primary disk, "1" indicates the slave disk, and "Y" indicates the partition, "0" is the first primary partition of the hard disk ...... 3 is the fourth primary partition of the hard disk. In a logical partition, the logical partition starts from 4.

5.2 if an error message is displayed, return to the grub selection list and select CommandLine. In the displayed command line GRUB:/>, enter the find/vmlinuz command and press Enter, the system displays the code of the disk where the vmlinuz file is located. Assume that the computer displays (hd0, 2) and write down the code.

Restart the computer, select Windows XP, and Open menu. lst. Set:
Title install-fedora 8
Kernel (hd0, 0)/vmlinuz
Initrd (hd0, 0)/initrd. img
Change (hd0, 0) to the code you just wrote down, that is, (hd0, 2)
Title install-fedora 8
Kernel (hd0, 2)/ISO/vmlinuz
Initrd (hd0, 2)/ISO/initrd. img
Save and exit. Restart the machine
Select Start grub in the System option after the instance is started. Then select install fedora 8 in the list.

6. If there is no accident, the installation will start.

The system starts to run and install automatically. All you need to do is select the language and keyboard type. Next, select hard disk. In the hard disk list, select the disk where the fedora8 image file to be installed is located, assume that the disk where the image file of fedora8 is located is sda5 [the primary partition ranges from 1 to 4. No matter how many primary partitions, the logical partition ranges from 5]. if you don't know, just try again. It won't be a problem, but it's just a little bit of trouble (it's best to put the installation file in the root directory, so that you don't need to enter the path ).

OK! The next step is the same installation interface as the CD installation ...... See the full installation process of Fedora 8.

 

Reprinted from: http://hi.baidu.com/gath/blog/item/dda4c10845dab236e8248811.html

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.