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

Source: Internet
Author: User

Now that 18 ora 18 is available, its installation interface and installation process are greatly changed. The installation interface is mainly changed to the Metro UI, and there is no package selection list during the installation process. However, the hard disk installation process is similar to that of fedora17, and there is no change.

For me, the main change of fedora18 is the change of input method settings, which is now integrated by the system. It is a bit similar to windows. You need to set the input method in the control panel.

The previous im-chooser cannot be used normally. Otherwise, the following error occurs: "grule. Error: org. GTK. grule. unmappedgerror. Quark. _ imsettings_2derror_2dquark.code5: current desktop isn't targeted by input method ."

Before starting the installation, let's briefly introduce:

1. Click your user name in the upper-right corner of the screen, and a drop-down menu will appear. Click "system settings/system settings", similar to Windows Control Panel.

2. Click "region & Language/Region & language"

3. Click the "Input Source/input sources" to add the input method you want,

If no input method is available, enter the following command in the console to display all input methods:

Gsettings set org. gnome. desktop. Input-sources show-all-sources true

4. In the shortcut key/shortcut setting, set "switch to next source" to Ctrl + space.

Now, install fedora18 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-18-i386-DVD.iso to the/Home Directory

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

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

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

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

Specific instructions:

Sudo Mount-T iso9660-o loop Fedora-18-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 the Fedora-17-i386-DVD.iso, otherwise it is installed with fedora 17 instead of Fedora 18

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/f17
CP-AFR/boot/GRUB/home/f17
CP-AFR/boot/grub2/home/f17

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 the installation from the hard disk (harddisk), and ":/" specifies 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/18/html/Installation_Guide/ch-Installation_Phase_2-x86.html#s1-begininstall-hd-x86

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

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

Select a manual partition when selecting a partition.

After the installation is complete, grub 1 is automatically upgraded to grub 2.

Step 6: Restore GRUB:

At the grub rescue> prompt, enter:

---------------------------------------------------------
Prefix = (hd0, msdos3)/f17/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/f17 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.