How to install fedora 19 from hard drive (how to install fedora 19 from hard drive, Fedora-19-i386-DVD.iso)

Source: Internet
Author: User

Now, the installation interface of Fedora 19 is the same as that of Fedora 18, which is Metro UI.

But now the official has no longer recommended download i386, but the x86-64 bit, is not now the x86-64 has done a good job of compatibility?

So I downloaded the x86-64 for use.

Now, install fedora19 from the hard disk. Assume that your hard disk partition is:

/Dev/sda1/boot 500 m

/Dev/sda2/40g

In/dev/sda3/home 250g # grub (hd0, 2), grub starts counting from 0.

/Dev/sda4 swap 2G

Note:/dev/sda3 is (hd0, msdos3) in grub2)

Step 1: Copy Fedora-19-i386-DVD.iso to the/Home Directory

Http://download.fedoraproject.org/pub/fedora/linux/releases/19/Fedora/i386/iso/Fedora-19-i386-DVD.iso

Checksum of fedora18. Before installation, check whether your image is complete.

Https://fedoraproject.org/static/checksums/Fedora-19-i386-CHECKSUM

Step 2: Copy isolinux/vmlinuz, isolinux/initrd. IMG to/home from the Fedora-19-i386-DVD.iso.

Specific instructions:

Sudo Mount-T iso9660-o loop Fedora-19-i386-DVD.iso/mnt

Sudo CP-AFR/mnt/isolinux/vmlinuz/mnt/isolinux/initrd. img/home

Note: The/home directory does not have any other ISO image, such as a Fedora-19-i386-DVD.iso; otherwise, fedora 18 is installed instead of Fedora 19.

Step 3: (optional) create a directory in/home/to save the gurb2 module, in case that the installation process is accidentally interrupted after/boot is formatted, and the system cannot be started.

Mkdir/home/F18
CP-AFR/boot/grub2/home/F18

Step 4: restart your computer. Step 5: (grub1 command)

After entering grub, press C to enter the grub command line:

Run the following command:

---------------------------------------------------------
Root (hd0, 2)# We just saved vmlinuz, initrd. IMG to this partition (/dev/sda3,/home), so the root must be specified as hd0, 2
Kernel/vmlinuz Linux repo = HD:/dev/sda2 :/# Note: "HD:" indicates the installation from the hard disk (harddisk), and ":/" specifies the path of the installation source.
Initrd/initrd. img
Boot

---------------------------------------------------------
Note: "HD:" indicates mounting from the hard disk (harddisk), and ":/"
Specify the installation Source Path. These two parameters are very important:

If no HD is specified, the installer will be installed from the CD by default. If no fedora 18 disc is installed in the CD drive, press boot and the system will directly stop on the black-white startup interface.

If ":/" is not specified, the installer installs grub to the/dev/SDA interface after formatting, and click "Next". An error is reported and the installer exits, if you have formatted/boot, the system will no longer be able to start normally and the grub rescue interface will be displayed when you start the system. If you are unfortunately at this step, at the end, I will provide a recovery method.

Step 5: (grub2 command)

(In grub2, the number of the disk partition starts from 1, with/dev/sad1,/dev/sda2 ,... and so on, because of our vmlinuz, initrd. IMG and so on are stored in/dev/sda3, so msdos3 is used to specify the partition in grub2)

---------------------------------------------------------
Linux (hd0, msdos3)/vmlinuz Linux repo = HD:/dev/sda3 :/
Initrd (hd0, msdos3)/initrd. img
Boot

---------------------------------------------------------

Refer to the official installation guide:

Http://docs.fedoraproject.org/en-US/Fedora/19/html/Installation_Guide/ch-Installation_Phase_2-x86.html#s1-begininstall-hd-x86

Now you can install fedora 19 like the installation steps on the CD.

The installation interface of fedora19 has completely changed, so please follow the prompts step by step,

Select a manual partition when selecting a partition.

Step 6: Restore GRUB:

At the grub rescue> prompt, enter:

---------------------------------------------------------
Prefix = (hd0, msdos3)/F18/grub2
Insmod Linux
Normal
---------------------------------------------------------

Now you can enter the preceding installation command.

Step 6.1 USB Method

If you have not saved/boot/grub2 to/home/F18 in advance, you can save the U disk root directory stored in the/boot/grub2 directory of grub2 from other fedora machines, the format of the USB flash disk must be in ext format. Otherwise, grub2 cannot recognize partitions in fat or NTFS format.

Then enter ls In grub rescue> to view the disk partition.

The USB flash drive is generally (hd1, msdos1), if there is only one partition.

At the grub rescue> prompt, enter:

---------------------------------------------------------
Prefix = (hd1, msdos1)/grub2
Insmod Linux
Normal
---------------------------------------------------------

Recovery Method:

Installation instructions:

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.