Line 279: |
Line 279: |
| | | |
| * At the moment, with all LiveUSBs removed, I was able to boot into F17 only. I could not see any option to boot into F14. | | * At the moment, with all LiveUSBs removed, I was able to boot into F17 only. I could not see any option to boot into F14. |
| + | |
| + | |
| * Boot into F17. | | * Boot into F17. |
| + | |
| + | |
| * In one terminal, open the file "/etc/grub2.cfg" (in editable mode). The original contents should be on the lines of | | * In one terminal, open the file "/etc/grub2.cfg" (in editable mode). The original contents should be on the lines of |
| <pre> | | <pre> |
Line 463: |
Line 467: |
| ### END /etc/grub.d/41_custom ### | | ### END /etc/grub.d/41_custom ### |
| </pre> | | </pre> |
| + | |
| + | |
| + | |
| | | |
| * In another terminal, mount F14 on a directory. | | * In another terminal, mount F14 on a directory. |
Line 485: |
Line 492: |
| -rwxr-xr-x. 1 root root 3696448 Oct 18 2010 vmlinuz-2.6.35.6-45.fc14.i686 | | -rwxr-xr-x. 1 root root 3696448 Oct 18 2010 vmlinuz-2.6.35.6-45.fc14.i686 |
| </pre> | | </pre> |
| + | |
| + | |
| + | |
| | | |
| * Now, open the contents of "qq/boot/grub/menu.lst" | | * Now, open the contents of "qq/boot/grub/menu.lst" |
Line 507: |
Line 517: |
| </pre> | | </pre> |
| | | |
− | * Now, in the originally opened "/etc/grub2.cfg", add the entry for boot-option for Fedora-14. Note that | + | |
| + | |
| + | |
| + | * Now, in the originally opened "/etc/grub2.cfg", add the entry for boot-option for Fedora-14. Take note that |
| ** Replace the UUID, with the UUID of F14 partition (as seen from contents of "qq/boot/grub/menu.lst". | | ** Replace the UUID, with the UUID of F14 partition (as seen from contents of "qq/boot/grub/menu.lst". |
− | ** The arguments to "initrd" shoube of the initramfs of F14 (As seen from the output of <code>ls qq/boot</code> | + | ** The arguments to "initrd" should of the initramfs of F14 (As seen from the output of '''ls qq/boot''' |
− | ** <code>hd0,msdos5</code> (corresponding to "/dev/sda5" for F17) is replaced by <code>hd0,msdos6</code> (corresponding to "/dev/sda6" for F14). | + | ** '''hd0,msdos5''' (corresponding to "/dev/sda5" for F17) is replaced by '''hd0,msdos6''' (corresponding to "/dev/sda6" for F14). |
− | ** Finally, the command <code> kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=333b5104-4f4a-41d9-856a-c7802677bec0 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet</code> (as seen in <code>qq/boot/grub/menu.lst</code>, used to boot up kernel vis F14's grub) is replaced by <code>linux /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=333b5104-4f4a-41d9-856a-c7802677bec0 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet</code> (in <code>/etc/grub2.cfg</code>, since we intend to boot F14 via F17's grub2). | + | ** Finally, the command '''kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=333b5104-4f4a-41d9-856a-c7802677bec0 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet''' (as seen in '''qq/boot/grub/menu.lst''', used to boot up kernel vis F14's grub) is replaced by '''linux /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=333b5104-4f4a-41d9-856a-c7802677bec0 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet''' (in '''/etc/grub2.cfg''', since we intend to boot F14 via F17's grub2). |
| <pre> | | <pre> |
| # | | # |
Line 607: |
Line 620: |
| initrd /boot/initramfs-3.3.4-5.fc17.i686.img | | initrd /boot/initramfs-3.3.4-5.fc17.i686.img |
| } | | } |
| + | ### [STARTS] OPTION TO ADD BOOT-UP OPTION FOR F14 ### |
| menuentry 'Fedora Linux 14' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-333b5104-4f4a-41d9-856a-c7802677bec0' { | | menuentry 'Fedora Linux 14' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-333b5104-4f4a-41d9-856a-c7802677bec0' { |
| load_video | | load_video |
Line 624: |
Line 638: |
| initrd /boot/initramfs-2.6.35.6-45.fc14.i686.img | | initrd /boot/initramfs-2.6.35.6-45.fc14.i686.img |
| } | | } |
| + | ### [ENDS] OPTION TO ADD BOOT-UP OPTION FOR F14 ### |
| submenu 'Advanced options for Fedora Linux' $menuentry_id_option 'gnulinux-advanced-1ff89cae-60bc-40fb-9e3c-e16e4850caa3' { | | submenu 'Advanced options for Fedora Linux' $menuentry_id_option 'gnulinux-advanced-1ff89cae-60bc-40fb-9e3c-e16e4850caa3' { |
| menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.i686' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.4-5.fc17.i686-advanced-1ff89cae-60bc-40fb-9e3c-e16e4850caa3' { | | menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.i686' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.4-5.fc17.i686-advanced-1ff89cae-60bc-40fb-9e3c-e16e4850caa3' { |