<br><br><div class="gmail_quote">On Sat, Nov 21, 2009 at 5:39 AM, Erik P. Olsen <span dir="ltr"><<a href="mailto:epodata@gmail.com">epodata@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 20/11/09 23:50, Mikkel wrote:<br>
> Erik P. Olsen wrote:<br>
>> Can a 64-bit system be chainloaded from a 32-bit?<br>
>><br>
> What do you mean by chainloaded? If you are talking about a Grub,<br>
> then it is the same for a 32 or 64 bit version of Fedora. Grub is a<br>
> boot loader that is independent of the OS installed. (Except for<br>
> storing its files.)<br>
><br>
</div>My setup is fairly simple. I have a running fedora 10, 32-bit version. I have<br>
build a 64-bit fedora 12 system which I want to chainload using grub from F10.<br>
So far I have only got the answer "Geom error" and I thought that might be due<br>
to the different architectures.<br>
<div><div></div><div class="h5"><br>
<br></div></div></blockquote><div><br>In my case, I had to reinstall grub on the /boot partition of the chainloaded Fedoras.<br><br>First, find out where is /boot:<br><br>su -<br>grub<br>grub>find /grub/stage1<br>(hd0,0)<br>
(hd1,1)<br>(hd2,0)<br>grub>quit<br><br>Then, install it on the /boot partition:<br><br>su -<br>grub<br>root (hd2,0)<br>setup (hd2,0)<br>quit<br></div></div><br clear="all">In my case, I have three disks with F10 x86_64 (hd2), F8 x86_64 (hd1) and RHEl5 (hd0).<br>
<br>grub is installed on the mbr in hd0 (my RHEL main disk). The other two have grub on /boot,<br>the way I showed you. This is my RHEL grub.conf:<br><br># grub.conf generated by anaconda<br>#<br># Note that you do not have to rerun grub after making changes to this file<br>
# NOTICE:  You have a /boot partition.  This means that<br>#          all kernel and initrd paths are relative to /boot/, eg.<br>#          root (hd0,0)<br>#          kernel /vmlinuz-version ro root=/dev/sda2<br>#          initrd /initrd-version.img<br>
#boot=/dev/sda<br>default=2<br>timeout=15<br>splashimage=(hd0,0)/grub/splash.xpm.gz<br>#hiddenmenu<br>title Red Hat Enterprise Linux Server (2.6.18-164.6.1.el5)<br>        root (hd0,0)<br>        kernel /vmlinuz-2.6.18-164.6.1.el5 ro root=LABEL=/ quiet<br>
        initrd /initrd-2.6.18-164.6.1.el5.img<br>title Red Hat Enterprise Linux Server (2.6.18-164.2.1.el5)<br>        root (hd0,0)<br>        kernel /vmlinuz-2.6.18-164.2.1.el5 ro root=LABEL=/ quiet<br>        initrd /initrd-2.6.18-164.2.1.el5.img<br>
title Fedora 10<br>        rootnoverify (hd2,0)<br>        chainloader +1<br>title Fedora 8<br>        rootnoverify (hd1,1)<br>        chainloader +1<br>title Windows XP<br>        map (hd0,0) (hd1,0)<br>        map (hd1,0) (hd0,0)<br>
        rootnoverify (hd1,0)<br>        chainloader +1<br>title Memtest86+ (2.11)<br>        root (hd0,0)<br>        kernel --type=netbsd /elf-memtest86+-2.11<br><br><br>The disk with F8 will receive F12 soon, and the disk with F10 will receive F14, and so on...<br>
<br>I hope this helps.<br><br>-- <br>Paulo Roma Cavalcanti<br>LCG - UFRJ<br>