Page 83 of 123 FirstFirst ... 3373818283848593 ... LastLast
Results 821 to 830 of 1226

Thread: grub2 EFI boot loader internal/external booting

  1. #821
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by gfive View Post
    @vasi
    Thanks for the information.

    1: When I try to install Centos 5.3 I see the welcome to centos screen and than the test cd or not test cd window.
    Problem is that my mouse/keyboard is not working at that point. (when i try to use the net install version I get the choose language screen but also here my mouse and keyboard is not working)

    from pxwpxw I got a good working grub32.efi and I managed to install Debian. But now I need to change my crub config so I can boot into it. (installed debian on a second drive, maybe that's giving me the problem of booting while the second and third drive only mounts after startup.... oh well in OS X 10.5 that is.)

    I will try option 2 and 3, I can use VMware on my xserve to try.

    But if you know a solution for the keyboard and mouse? Please let me know.
    And I am wiling, of course, to recompile the kernel but I need help with that....

    Kind regards
    Gfive
    Glad you got it going on debian.

    See post #792 for some basics to find your install kernel for grub.ef (command line search and ls), it should not be a problem, but post details if it is.

    It is well known that grub.efi needs kernels 2.6.26 or later.
    Lenny is 2.6.26-2

    If you guys want to keep discussing Centos issues, take it off this thread please.

  2. #822
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by [LocK] View Post
    I don't know that, that is right topic to discuss that, but is there any way or possibility to change already installed in mbr grub to efi grub ?

    I try to install it using bless but after reboot it always boot using grub in mbr.

    Any ideas ?
    You install grub.efi on a hfsplus partition, grub on the mbr does not conflict at all, and can be used as an alternate boot.

    You can use the full OSX bless command for an hfsplus partition to boot grub.efi directly.

    If you want to install grub.efi pleas read the basic reference info linked on post #1, and the Mac OSX manual for bless (man bless).

  3. #823
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by vasi View Post
    Do you have rEFIt installed? I'm not sure if it's possible to do a grub-efi boot without it.
    Code:
    bless --folder / --file /grub.efi
    will boot grub.efi without refit, and unbless anything else on /.
    But the refit blesser will reset it to refit after restart to OSX.

  4. #824
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by gfive View Post
    Okay,
    (thanks for helping so far )

    meanwhile I will try to install cpanel on debian.
    If that does not work, I will try to install centos 4.7

    but please let me know if you find anything new.... that could speedup the whole install process: -)

    Regards,
    Gfive
    I got the idea that Cpanel prefers rpm package based OS, (red hat, fedora, freeBSD?).
    But debian has the 'alien' package to convert rpm packages to debian *.deb.
    That may be all it needs to install Cpanel in debian and see if it works.

  5. #825
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by pushken View Post
    Dear all,
    I successfully installed centos linux on 32bit xserve 1,1

    It boots from LSI Fusion w/o any problems.

    If anyone interesting I can attach .config file for kernel build.
    ( post #724 pushken 29 april 2009 ).


    Seems to confirm a custom kernel config was sufficient at that date, pushken was using raid.

  6. #826
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by pxwpxw View Post
    ( post #724 pushken 29 april 2009 ).


    Seems to confirm a custom kernel config was sufficient at that date, pushken was using raid.
    Checked the configuration for the current CentOS5.3 x86_64 kernel, and found that it is not configured for EFI.

    The CentOS grub.efi problem is a general Apple Intel/grub.efi issue which may arise for distros other than ubuntu or debian - i.e the debugging done on this thread was mainly with debian based kernel flavours so centos/ red hat/fedora based and others may differ significantly, and it is difficult to compare kernel versions.

    The first requirement is for the following EFI config setings. These options may not be available on kernel source versions prior to 2.6.26 (unless modified).
    Code:
    pxw@im:~$ grep EFI /boot/config-2.6.26-2-amd64 
    CONFIG_EFI=y
    CONFIG_FB_EFI=y
    CONFIG_EFI_VARS=m
    CONFIG_EFI_PARTITION=y
    
    pxw@im:~$ uname -a
    Linux im 2.6.26-2-amd64 #1 SMP Fri Mar 27 04:02:59 UTC 2009 x86_64 GNU/Linux
    The CentOS5.3 EFI config is -
    Code:
    [pxw@localhost ~]$ grep EFI /boot/config-2.6.18-128.el5 
    # CONFIG_EFI is not set
    CONFIG_EFI_PARTITION=y
    All grub.efi information is of interest here, not just for ubuntu, it helps with development and application of grub.efi for all linux.
    Last edited by pxwpxw; July 7th, 2009 at 08:52 AM.

  7. #827
    Join Date
    Jul 2009
    Beans
    13

    Re: grub2 EFI boot loader internal/external booting

    Hello all,

    I have been trying to boot Ubuntu from USB on a macbook pro 5,3.

    I installed Ubunto onto the third partition of the usb drive, ext3, kernel 2.6.28-11. rEFIt is on the USB drive as well and works fine. I am using the 64bit binary that pxwpxw posted.

    Have spent several days now and no luck. This is how far I have gotten:

    rEFIt finds grub64.efi OK
    grub64.efi runs OK - menu shows up


    after issueing the following commands, this is what happens:

    sh:grub>root=(hd0,3)
    sh:grub>fakebios
    ROM image present
    sh:grub>linux /vmlinuz root=/dev/sdb3 video=efifb agp=off noefi
    [Linux-bzImage, setup=0x3000, size=0x353cd01]
    sh:grub>initrd /initrd.img
    [Initrd, addr=0x3f8c2000, size=0x72dcba]
    sh:grub>boot
    _

    Then, nothing happens and the system hangs. I've tried several root= alternatives but I don't think the system even gets that far.

    Given, the 'ROM image present' message, I have tried applying the loadbios.c fix and compiled a grub.efi under os x. This however gives a black screen after the fakebios command.

    I don't know how to take this further and could really need some help. I read that JLMCP says "I CAN boot Linux from both USB/SD-card media on an Apple MacBookPro5,5" - now I would be curious to know how you did that and if you encountered these problems as well at some point.

    rgds,

    Arjan

  8. #828
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by arjanvm View Post
    Hello all,

    I have been trying to boot Ubuntu from USB on a macbook pro 5,3.

    I installed Ubunto onto the third partition of the usb drive, ext3, kernel 2.6.28-11. rEFIt is on the USB drive as well and works fine. I am using the 64bit binary that pxwpxw posted.

    Have spent several days now and no luck. This is how far I have gotten:

    rEFIt finds grub64.efi OK
    grub64.efi runs OK - menu shows up


    after issueing the following commands, this is what happens:

    sh:grub>root=(hd0,3)
    sh:grub>fakebios
    ROM image present
    sh:grub>linux /vmlinuz root=/dev/sdb3 video=efifb agp=off noefi
    [Linux-bzImage, setup=0x3000, size=0x353cd01]
    sh:grub>initrd /initrd.img
    [Initrd, addr=0x3f8c2000, size=0x72dcba]
    sh:grub>boot
    _

    Then, nothing happens and the system hangs. I've tried several root= alternatives but I don't think the system even gets that far.

    Given, the 'ROM image present' message, I have tried applying the loadbios.c fix and compiled a grub.efi under os x. This however gives a black screen after the fakebios command.

    I don't know how to take this further and could really need some help. I read that JLMCP says "I CAN boot Linux from both USB/SD-card media on an Apple MacBookPro5,5" - now I would be curious to know how you did that and if you encountered these problems as well at some point.

    rgds,

    Arjan
    Hi,

    Are there any more lines of info after the [Linux......] line, before [Initrd.....]
    Like this - (but different numbers)
    Code:
    [Linux....
    Video mode: 1280x800-32@0
    Display controller: 2:0:0
    Device id: 87010de
    MMIO(0): 0x92000000
    VMEM(1): 0x80000000
    VMEM(3): 0x90000000
    Frame buffer base: 0x80010000
    Video line length: 8192
    [Initrd....
    as in this post -
    http://ubuntuforums.org/showpost.php...&postcount=556
    Also try adding 'acpi=force' to the linux comandline.

    Absence may indicate video buffer problem dealing with the MBP5,3 - IDK if it has the dual graphics. As you say, JLMCP with MBP5,5 says OK, but may be using Slax which I find easy to boot with grub.efi.


    I have only rev 2202 on here just now, or the karmic grub-efi version, they both show the extra lines of info from linux command.
    Which grub.efi are you using, I can check it?

    On MBP41 the same commandline params you quote boot 2.6.28 from external usb, except agp=off is not needed.

    Any chance the Ubuntu install is broken?
    Last edited by pxwpxw; July 10th, 2009 at 02:52 PM.

  9. #829
    Join Date
    Jul 2009
    Beans
    13

    Re: grub2 EFI boot loader internal/external booting

    there are no more lines after [Linux ...]. No video mode or whatsoever. What I also noticed is that the fix_video command returns 'unkown graphics card' and then two (2) lines with hex numbers.

    I am using the grub64.efi from your post #772. I have also tried the latest SVN version (compiled on the mac, with and without loadbios patch) and the fat binary. Same results for all.

    I guess the problem is the video buffer. I do not think the Ubuntu installation is broken - but how to check? I will try to boot Slax in the same way - see what it does.

  10. #830
    Join Date
    Jul 2009
    Beans
    13

    Re: grub2 EFI boot loader internal/external booting

    I tried booting Slax on the mbp 5,3 but to no avail either. Same result.

    After sh:grub> linux /boot/vmlinuz there is only the [Linux-bzImage ....] line, no video information.

    I don't know if this is shedding any light on the matter, but fix_video returns:

    Unknown graphic card: 64710de
    Unknown graphic card: 86310de

    Seems like a grub.efi problem with the dual graphic cards?

Page 83 of 123 FirstFirst ... 3373818283848593 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •