1. Install grub2 in Linux
Note: The Installation Method for the DVD version is different. Google
Here I use grub2 Pilot installation:
1. Add the downloaded fedora13.iso to a root directory, such as (hd0, 13)
2. Extract the downloaded ISO isolinux and put liveos under a root, such as (hd0, 13). Mine is (hd0, 14 ).
3. Rewrite grub. cfg (/boot/GRUB/grub. cfg in Ubuntu ).
Add the following code:
Menuentry 'Install fedora 13 i686 live Cd' {<br/> root (hd0, 13) <br/> Linux/isolinux/vmlinuz0 root = live: /dev/sda17 liveimg quiet rhgb rootfstype = auto VGA = 791 <br/> initrd/isolinux/initrd0.img <br/>}< br/> # Note: Root = live: /dev/sda17 can be written as root = live: UUID = ××××, but cannot be written as a directory: Root = live:/dev/sda17 /, otherwise, the root device cannot be found! <Br/> # descriptions of some options: <br/> # rhgb = RedHat graphical boot-this is a GUI mode booting screen with most of the information hidden while the user sees a rotating activity icon spining and brief information as to what computer is doing. <br/> This is the RedHat graphic startup. This option allows you to see a rotating dynamic icon and brief information without displaying most of the startup information in Gui mode. <Br/> # Quiet = hides the majority of boot messages before rhgb starts. these are supposed to make the common user more comfortable. they get alarmed about seeing the kernel and initializing messages, so they hide them for their comfort. <br/> # the startup information before rhgb is not displayed. <Br/> # VGA = 791 <br/> the displayed resolution is 1024 × 768. <Br/> rootfstype = auto <br/> automatically selects the file system type.
4. Restart and install your fedora!
5/Note: The Boot Program grub to MBR is installed step by step, because you already have a grub,
You can choose not to install, but still use the original grub.
Or you can choose to install and then update-grub and re-build grub. cfg. This will allow you to use the boot system.
Such:
Menuentry 'ora ora 13 i686' {<br/> root (hd0, 5) <br/> Linux/boot/vmlinuz ***** root =/dev/sda5 Ro quiet splash <br/> initrd/boot/In *******. IMG <br/>}< br/>
2. Install fedora through grub4dos in Windows XP
Place the liveos in ISO into the root directory of a partition, such as drive C (hd0, 0 )). <Br/> copy isolinux/vmlinuz0 and isolinux/initrd0.img to liveos. <Br/> last in menu. written in lst: <br/> root (hd0, 0) <br/> kernel/liveos/vmlinuz0 root = live: /dev/sda1 Ro liveimg rhgb rootfstype = auto <br/> initrd/liveos/initrd0.img
Tip:
In grub4dos, that is, in grub for windows, the partition starts from the primary partition (hd0, 0), that is, the primary partition is (hd0, 0 ~ Hd0, 3), logical partition is (hd0, 4 ~)
Among them, hd0, 0 = sda1, hd0, 1 = sda2, hd0, x = SDA (x + 1). Generally, the C drive of most Windows users is hd0, 0 = sda1, d disk is hd0, 3 = sda4, e disk is hd0, 4 = sda5,
In grub2, the partition is from(Hd0, 1), that is, the primary partition is (hd0, 1 ~ Hd0, 4), logical partition is (hd0, 5 ~)