Page 111 of 123 FirstFirst ... 1161101109110111112113121 ... LastLast
Results 1,101 to 1,110 of 1226

Thread: grub2 EFI boot loader internal/external booting

  1. #1101
    Join Date
    Jan 2010
    Beans
    2

    Re: grub2 EFI boot loader internal/external booting

    I'm just sort of curious whether anyone actually successfully boots efi with a macbook pro 3,1 (nvidia 8600GT). I am able to boot efi fine, and load X11 with the fbdev driver, but I would like to have accelerated graphics. Currently I am using a custom grub-efi-amd64 from this ppa: fzielcke/grub that I built myself by running:
    apt-get build-dep grub-efi-amd64 && apt-get source grub-efi-amd64 && cd $SOURCEDIR && ./configure --target=x86_64 --with-platform=efi && make && checkinstall -D

    I am able to get efi to load, and can boot into the kernel fine, but nothing I have tried has made any difference.

    (I tried this two years ago on a gentoo system, right when grub.efi was first starting, and was able to get accelerated nvidia, but I was unable to get the mb_nvidia_bl driver to work, so I gave up).

    The boot options I have tried include:

    loadbios /vbios.bin /int10.bin (also tried with agp=off)
    loadbios /bios.bin (also tried with agp=off)
    fakebios (with noefi, agp=off)

    I'm not really sure where to go from here.

    Just as a side note, I was able to get nvidia-glx-173 to work, but the screen backlight turns off completely so I can't see anything. (The driver obviously loads, but I'm not sure what happens after that).

    The driver I am currently using is nvidia-glx-195, but I also tried nvidia-glx-185.

    Any word on this would be grealy appreciated.

  2. #1102
    Join Date
    Jan 2010
    Beans
    4

    Re: grub2 EFI boot loader internal/external booting

    One day I decided to install ubuntu linux 7.1 from the Linux Starter Kit DVD104 I got from the Linux Format magazine.

    I am very familiar with the old linux, going al the way back to 1995 with Infomagic, Slackware and Red Hat distros.

    I just upgraded the HD in my Macbook Pro 17” to 500 GB and dual boot Mac OS X and Windows XP.

    The install of ubuntu was very easy. I noticed a customize | advance option where I could turn OFF the lilo boot loader. So I thought to myself I don’t want that, I prefer the Max OS X default boot method, so I turned off using the lilo bootloader.

    OK, I’m going to omit the lengthy description of how the MBR got screwed up and rendered my boot camp partition unbootable, thanks to unbuntu, and that it took rEFIt to fix the MBR to regain bootability of Windows.

    At this point I can dual boot OS X and Windows as before ubuntu installation. I removed rEFIt (nice tool, but prefer the “standard” Mac boot scheme).


    I CAN boot the ubuntu installation using the Parted Magic CD I created from the partedMagic4.8.ISO image I downloaded. I do that by booting the CD and selecting the “Super Grub Disk 2” option on one of the sub menus. Selecting that option gives me the ability to boot ubuntu off my HD.

    THE QUESTION is how can I install the grub(2?) loader onto the ubuntu partition to boot it? I’m not familiar with grub at all. I did find an excellent page on triple booting Macbooks at the onmac.net wiki titled “Tripple boot via bootcamp ubuntu”. It described several techniques, the one I favored is to boot NTLDR and select ubuntu. It copies the MBR from the ubuntu partition onto the windows partition and adds and entry to the windows boot.ini for it.

    The problem is there is no boot loader on that partition (remember I skipped lilo with the ubuntu installation).

    So how do I get a boot loader installed on the ubuntu partition? I would like to duplicate the parted magic “Super grub2” boot process and I think all I need is to get the boot loader on the ubuntu partition.

    I have all the Op Systems installed and working, its just a matter of how to boot the ubuntu OS through Windows.

  3. #1103
    Join Date
    Jan 2010
    Beans
    4

    Re: grub2 EFI boot loader internal/external booting

    Here's what I did for a tripple boot setup. I went through alot of trials and I'm not sure if the order is important. Here is the setup I now have and it works for me on my Macbook Pro 1,2. But as they say, "your mileage may vary" :).

    I have a 500GB disk partitioned like this:

    Code:
       
       1              40          409639   200.0 MiB   EF00  EFI System Partition
       2          409640       251281447   119.6 GiB   AF00  Apple_HFS_Untitled_1
       3       251543592       670187559   199.6 GiB   AF00  Apple_HFS_Untitled_2
       4       670449704       879902759   99.9 GiB    0700  Windows XP
       5       958028994       976773134   8.9 GiB     8200  Ubuntu Swap
       6       879902760       958027760   37.3 GiB    0700  Ubuntu 7.10
    I use 2 partitions for OS X. Using the gdisk on the Parted Magic CD (version 4.8 ), I created a hybrid MBR:

    Code:
       
    Number   Boot    Start (sector)  Length (sectors)       Type
       1                        1            409639         0xEE
       2                   409640         250871808         0xAF
       3                879902760          78125001         0x83
       4       *        670449704         209453056         0x07
    Now I can tell you that when I partitioned the 500GB I used the GUI disk utility on Max OS X, and left 50GB unallocated. After OS X and Windows XP were setup on a Boot Camp scheme I decided to install Ubuntu 7.10 from the Linux Format Magazine DVD. I installed it running Windows XP. I DID NOT install a boot loader, thinking it would screw up my Mac OS X booting. That was before I knew anything about EFI booting.

    I found rEFIt, Parted Magic, gdisk, etc and various posts about triple booting Macbooks. I like rEFIt but for 2 reasons don't use it: 1) it interferes with Macbook updates, 2) it cannot be configured like lilo, grub or grub2 can be, at least not yet (I am using v0.12). I may go with rEFIt in the future however, as it looks like it will be the prefered way to boot EFI systems. The current version doesn't allow me to specify the boot rules for my setup. It didn't recognize my Ubuntu installation on partition 6 until I installed lilo. Plus, I kindof like to have the Linux OS hidden. So chainloading it from Windows XP is the setup I use.

    Using the Parted Magic CD, I copied the lilo files and shared libs it requires and the Super Grub2 file sgd2.gz to the Ubuntu partition from the Parted Magic CD. Then I booted Ubuntu using the "Super Grub2 Disk" option under the "Other Features" menu.

    I then created a /etc/lilo.conf":
    Code:
    # Global LILO settings
    boot=/dev/sda6                            
    timeout=0              
    default=SuperGrub2
    
    # Kernel specific LILO settings
    
    image=/boot/vmlinuz-2.6.22-14-generic
    append="figure out kernel command line to set proper root"
    label=Ubuntu
    
    # This loads the grub2 boot loader to boot Ubuntu. Eliminate when above is figured out 
    image=/boot/syslinux/memdisk initrd=/boot/sgd/sgd2.gz
    label=SuperGrub2
    I didn't have the manpage for lilo.conf, and I couldn't figure out how to set the root, (I don't have Internet at the house!) so booting Ubuntu directly always caused a kernel panic when it failed to mount the root fs.

    I then wrote the lilo boot sector to /dev/sda6 using:

    lilo -v -P ignore

    Then I copied the boot sector over to my Windows XP C:

    dd if=/dev/sda6 of=/media/DOS_FAT_32_Untitled_3/sda6MBR.bin bs=512 count=1

    The last step was to change the Windows boot.ini to chainload to the Ubuntu partition:

    Code:
       
    [boot loader]
    timeout=30
    default=multi(0)disk(0)rdisk(0)partition(4)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Windows XP SP3" /noexecute=optin /fastdetect
    C:\sda6MBR.bin="Ubuntu Linux 7.10"
    And thats it. Ubuntu is booted through the "Windows" boot camp partition.

  4. #1104
    Join Date
    Oct 2009
    Beans
    3

    Re: grub2 EFI boot loader internal/external booting

    Hello Sir,


    Good Day,


    Quote Originally Posted by D4T View Post
    Your right, the EFI on Xserves is particularly limiting in what it allows to boot. The easiest way round this is to use rEFIt software which gives you a nice configurable GUI to use on boot. In my testing I was using a USB stick + rEFIt software for convenience.



    I'm sorry but this isn't true, it works just fine (I can provide a video to prove if you like?)

    D4T

    Can you please send me the USB Stick + reFit ( Files and configurations) and also the video ?

    Thanks

    Christopher

  5. #1105
    Join Date
    Feb 2010
    Beans
    17

    Re: grub2 EFI boot loader internal/external booting

    Many informations, very challenging....
    I have an iMac51, believed it is a 64 bit by definition, though no longer sure after this thread.

    I want to install Linux on a firewire drive and boot into it after pressing the alt key at startup. The internal should house my OSX 10.4.11 (Tiger).

    What is the latest version of grub*.efi, grub.cfg and possibly xorg.conf to use to get it working? Is rEFIt mandatory to get it running?

    Any insight is appreciated, I am not an expert and suffer from headaches after a week of extensive search.

    Lokesh

  6. #1106
    Join Date
    Feb 2010
    Beans
    2

    Re: grub2 EFI boot loader internal/external booting

    Hi,

    I am trying to boot Ubuntu Server 9.10 on an Xserve 3.1 model (model-info.jpg) using rEFIt plus grub2. Grub2 bails out with a "can't frame buffer address" message (grub2-boot.jpg). The Xserve uses an Nvidia GeForce GT 120 device (nvidia-info.jpg).

    This is my grub.cfg menu entry:

    Code:
    menuentry "Ubuntu Server 9.10 installer cd" {
            fakebios
            root=cd0
            linux /install/vmlinuz video=efifb
            initrd /install/initrd.gz
    }
    Can somebody provide me some pointers on how to overcome the "can't frame buffer address" message?

    Thanks!

    Daniel

    EDIT:

    Used grub2 from post #405 and a manually compiled grub 1.97.2.
    Attached Images Attached Images
    Last edited by uebermodean; February 28th, 2010 at 09:25 PM.

  7. #1107
    Join Date
    Feb 2009
    Location
    in a bit register
    Beans
    79
    Distro
    Ubuntu Development Release

    Re: grub2 EFI boot loader internal/external booting

    I'm pretty much in the same boat with a iMac i7 , ATI HD4850


    I'm getting the 'can't frame buffer address' message, when booting usb stick with efi mods.

    I'll try some more settings just thought I'd add my current status.

    Has anyone got the iMac i7 booting ubuntu off a external disk?
    10 things about binary you should know.
    Some people get it - the rest don't.

  8. #1108
    Join Date
    Feb 2010
    Beans
    2

    Re: grub2 EFI boot loader internal/external booting

    Actually I've been told on the grub IRC channel at freenode to use grub2-experimental. But the last time I compiled grub2-experimental, grub-mkimage bailed out with a symbol not found...

    Cheers
    Daniel

  9. #1109
    Join Date
    Feb 2009
    Location
    in a bit register
    Beans
    79
    Distro
    Ubuntu Development Release

    Re: grub2 EFI boot loader internal/external booting

    One thing I noticed about it booting was after it had loaded initrd it just seemed to switch off (and never re-lite) the usb hub that the external drive / stick was plugged in.

    Also my iMac i7 just doesn't like lucid lynx release alpha 3. While it quite happily boot the cd of 9.04 and 9.10 with 10.04a3 it would start to boot the CD (click on 'try') start loading the kernel and then go to a blank screen. I'm hoping that Beta1 this week change something :s.
    10 things about binary you should know.
    Some people get it - the rest don't.

  10. #1110
    Join Date
    May 2007
    Beans
    465

    Re: grub2 EFI boot loader internal/external booting

    Quote Originally Posted by uebermodean View Post
    Hi,

    I am trying to boot Ubuntu Server 9.10 on an Xserve 3.1 model (model-info.jpg) using rEFIt plus grub2. Grub2 bails out with a "can't frame buffer address" message (grub2-boot.jpg). The Xserve uses an Nvidia GeForce GT 120 device (nvidia-info.jpg).

    This is my grub.cfg menu entry:

    Code:
    menuentry "Ubuntu Server 9.10 installer cd" {
            fakebios
            root=cd0
            linux /install/vmlinuz video=efifb
            initrd /install/initrd.gz
    }
    Can somebody provide me some pointers on how to overcome the "can't frame buffer address" message?

    Thanks!

    Daniel

    EDIT:

    Used grub2 from post #405 and a manually compiled grub 1.97.2.
    Try this one. It's compiled with burg, the configure file should be named burg.cfg.
    Attached Files Attached Files

Page 111 of 123 FirstFirst ... 1161101109110111112113121 ... 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
  •