LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Load fedora 16 from previous version of grub (https://www.linuxquestions.org/questions/linux-newbie-8/load-fedora-16-from-previous-version-of-grub-936538/)

bunkdeath 03-26-2012 01:08 PM

Load fedora 16 from previous version of grub
 
I formatted a drive form my hard disk, unfortunately that was drive grub was using. Previously I had fedora 16. I did not get fedora 16 installation DVD but I had fedora 15's so I installed it.

I want to boot fedora 16. The drive where fedora 16 resides is ok. Can I boot F16 from grub of F15? If so how? if not what can I do to make it boot?

PTrenholme 03-26-2012 03:46 PM

Sure, or you could install GRUB2 on your F15 system and run grub2-mkconfig -o /boot/grub2/grub.cfg as "root."

If you want to use GRUB (and you have your F16 /boot on an ext3 file system (since the old GRUB can't read ext4 file system)) you can add a stanza like this:
Code:

title Fedora 16 (booting from /dev/sdb1 with / on /dev/sdb2)
  root (hd1,0)
  kernel /vmlinuz-3.3.0-4.fc16 ro root=/dev/sdb2 quiet rhgb
  initrd /initrd-3.3.0-4.fc16.img

Where, of course, you use the correct kernel number for the kernel and initrd directives.

(You can get a list of all the block devices connected to you system with the lsblk command.)

bunkdeath 03-26-2012 08:20 PM

Thank you!

I copied grub2 content and put it in grub in f15.

Now I am from fedora 16 :)


All times are GMT -5. The time now is 10:05 AM.