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

Source: Internet
Author: User

Suppose 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.

Note: The value is (hd0, msdos3) in grub2)

Copy Fedora-16-i386-DVD.iso to the/Home Directory

Then copy the isolinux, images, isolinux/vmlinuz, isolinux/initrd. img in the Fedora-16-i386-DVD.iso to/home.

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


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

(Note: The/home directory cannot have other ISO images, such as Fedora-15-i386-DVD.iso, otherwise it is installed with fedora 15 instead of Fedora 16)

Restart your computer.

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 askmethod # Note: Linux askmethod must be added starting from fedora 15; otherwise, you cannot choose to install it from the hard disk. The default is to install it from the network. In this case, very slow !!!

Initrd/initrd. img

Boot

2011-11-24 note:

If your grub is grub2, the above four commands are unavailable and you need to use grub2-related commands,

(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 askmethod

Initrd (hd0, msdos3)/initrd. img

Boot

After the installation starts, select "Install from hard drive". The image file path is/dev/sda3.

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

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

Note: during the installation process, do not format/dev/sda3, that is,/home, when formatting partitions. Otherwise, the installation process will not continue due to serious consequences, because the image source is no longer available!

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.