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!