1. Download grub4doc (see attachment) and decompress grldr. mbr, menu. lst, and grldr to the c root directory (which can also be placed in a custom directory ). 2. Create a "GRUB4DOC" Startup item, and the system randomly generates an identifier. Bcdedit/create/d "GRUB4DOS"/application bootsector3. Set the drive letter of the startup item. The random string in the middle is the identifier generated in the previous step.
Bcdedit/set {90e14995-d284-11de-a325-a4ab4deca1b7} device partition = C: 4. set the startup Item path (if you put the Startup File in a custom directory, write the last parameter as \ your directory \ grldr. mbr) www.2cto.com bcdedit/set {90e14995-d284-11de-a325-a4ab4deca1b7} path \ grldr. mbr5. Set the sequence of startup items bcdedit/displayorder {90e14995-d284-11de-a325-a4ab4deca1b7}/addlast to enter the bcdedit command to display the startup items created this time.
6. Download the fedora 17 DVD image, decompress the initrd. img and vmlinuz files, and put them in the root directory of A fat32 partition. The directory structure is as follows:
7. Modify menu. lst file, add the grub boot item title install fedora 17 root (hd0, X) kernel (hd0, X)/vmlinuz linux askmethod repo = hd:/dev/sdaY:/initrd (hd0, x)/initrd. the X above imgboot www.2cto.com is the Partition Number recognized by grub, the number of primary partitions starts from 0, and the number of logical partitions starts from 4. Y is the Partition Number recognized by Linux (fedora, this refers to the partition where the fedora installation image is placed. The number of primary partitions starts from 1, the number of logical partitions starts from 5 hd0 indicates the first disk, if there is a U disk, such as hd1, hd2. .. grub4dos-0.4.4-2009-06-20.zip (809.5 KB)
Http://up.2cto.com/2012/0813/20120813015330853.zip
Author singleboss