[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grub-help
Subject:    grub2 efi + lvm hangs after loading initrd
From:       lideony <lideony () aim ! com>
Date:       2010-06-03 11:37:29
Message-ID: D6F09312-7F0B-4C97-92DA-4199C18F5FFF () aim ! com
[Download RAW message or body]

Hi 

I already spent a lot of time but I can't get grub2 to work. I used the latest grub \
version from svn and compiled and created the grub image like described here: \
http://grub.enbug.org/TestingOnEFI. I placed the image and modules on my efi \
partition and select grub.efi from the refit menu.

Mac OS X boots fine with grub2 but I can't get linux to boot. I use lvm on my boot \
and root volume on a macbook pro 5,1 and have the following problem:  After selecting \
linux in the grub2 menu I get the following output: Booting a command list
[Linux-bzImage, set=0x3200,size=0x1f918]
[Initrd, addr=0x4fd6f004, size]
I've read that other people have the same problem when they use lvm...

This is my grub.cfg

timeout=10
menuentry "Mac OSX 10.6" {
  root=(hd0,2)
  chainloader /usr/standalone/i386/boot.efi
}
menuentry "Arch Linux" {
        insmod lvm
        fakebios
        root=(vg0-boot)
        linux /vmlinuz26 root=/dev/mapper/vg0-root noefi video=efifb agp=off
        initrd /kernel26.img
} 

When creating the grub-mkimage I used these modules:
ata part_gpt part_msdos fat ntfs ntfscomp ext2 iso9660 udf hfsplus fshelp reboot \
normal chain linux xnu xnu_uuid ls search search_fs_file search_fs_uuid search_label \
help loopback cat tar boot configfile cpio sh echo lvm loadbios efi_gop multiboot \
multiboot2 relocator Any help would be appreciated!

regards
Linus


[Attachment #3 (unknown)]

<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; "><div>Hi&nbsp;</div><div><br></div><div>I \
already spent a lot of time but I can't get grub2 to work. I used the latest grub \
version from svn and compiled and created the grub image like described here: <a \
href="http://grub.enbug.org/TestingOnEFI">http://grub.enbug.org/TestingOnEFI</a>. I \
placed the image and modules on my efi partition and select grub.efi from the refit \
menu.</div><div><br></div><div>Mac OS X boots fine with grub2 but I can't get linux \
to boot. I use lvm on my boot and root volume on a macbook pro 5,1 and have the \
following problem:&nbsp;</div><div>After selecting linux in the grub2 menu I get the \
following output:</div><div><pre>Booting a command list [Linux-bzImage, \
set=0x3200,size=0x1f918] [Initrd, addr=0x4fd6f004, size]</pre><div>I've read that \
other people have the same problem when they use lvm...</div><div><br></div><div>This \
is my grub.cfg</div><div><br></div><div><div><font class="Apple-style-span" \
face="Consolas" size="3"><span class="Apple-style-span" style="font-size: \
11px;">timeout=10</span></font></div><div><font class="Apple-style-span" \
face="Consolas" size="3"><span class="Apple-style-span" style="font-size: \
11px;">menuentry "Mac OSX 10.6" {</span></font></div><div><font \
class="Apple-style-span" face="Consolas" size="3"><span class="Apple-style-span" \
style="font-size: 11px;">&nbsp;&nbsp;root=(hd0,2)</span></font></div><div><font \
class="Apple-style-span" face="Consolas" size="3"><span class="Apple-style-span" \
style="font-size: 11px;">&nbsp;&nbsp;chainloader \
/usr/standalone/i386/boot.efi</span></font></div><div><font class="Apple-style-span" \
face="Consolas" size="3"><span class="Apple-style-span" style="font-size: \
11px;">}</span></font></div><div><font class="Apple-style-span" face="Consolas" \
size="3"><span class="Apple-style-span" style="font-size: 11px;">menuentry "Arch \
Linux" {</span></font></div><div><font class="Apple-style-span" face="Consolas" \
size="3"><span class="Apple-style-span" style="font-size: 11px;">&nbsp;&nbsp; &nbsp; \
&nbsp; &nbsp;insmod lvm</span></font></div><div><font class="Apple-style-span" \
face="Consolas" size="3"><span class="Apple-style-span" style="font-size: \
11px;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;fakebios</span></font></div><div><font \
class="Apple-style-span" face="Consolas" size="3"><span class="Apple-style-span" \
style="font-size: 11px;">&nbsp;&nbsp; &nbsp; &nbsp; \
&nbsp;root=(vg0-boot)</span></font></div><div><font class="Apple-style-span" \
face="Consolas" size="3"><span class="Apple-style-span" style="font-size: \
11px;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;linux /vmlinuz26 root=/dev/mapper/vg0-root \
noefi video=efifb agp=off</span></font></div><div><font class="Apple-style-span" \
face="Consolas" size="3"><span class="Apple-style-span" style="font-size: \
11px;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;initrd \
/kernel26.img</span></font></div><div><font class="Apple-style-span" face="Consolas" \
size="3"><span class="Apple-style-span" style="font-size: \
11px;">}&nbsp;</span></font></div><div><br></div><div>When creating the grub-mkimage \
I used these modules:</div><div><pre>ata part_gpt part_msdos fat ntfs ntfscomp ext2 \
iso9660 udf hfsplus fshelp reboot normal chain linux xnu xnu_uuid ls search \
search_fs_file search_fs_uuid search_label help loopback cat tar boot configfile cpio \
sh echo lvm loadbios efi_gop multiboot multiboot2 relocator</pre><div>Any help would \
be appreciated!</div><div><br></div><div>regards</div><div>Linus</div></div><div><br></div></div></div></body></html>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic