Results 1 to 5 of 5

Thread: [SOLVED] Repairing rEFIt to boot Ubuntu.

  1. #1
    Join Date
    Nov 2008
    Beans
    2

    [SOLVED] Repairing rEFIt to boot Ubuntu.

    I have a Macbook 4.1 which I've been using Ubuntu on for the past two months. Yesterday I decided to upgrade to Intrepid, and I was able to do this (seemingly) without a problem. I then decided to use the partition manager to turn the unpartitioned space on my drive into an ext3 partition. I believe this screwed up my rEFIt, as it no longer shows the Linux icon at startup

    I tried re-installing rEFIt, but I'm still having the problem.

    The rEFIt partition inspector tool gave the following output:
    Code:
    *** Report for internal hard disk ***
    
    Current GPT partition table:
     #      Start LBA      End LBA  Type
     1             40       409639  EFI System (FAT)
     2         409640     67256359  Mac OS X HFS+
     3       67256360    184443860  Basic Data
     4      184443861    447924329  Basic Data
     5      447924330    453579209  Linux Swap
    
    Current MBR partition table:
     # A    Start LBA      End LBA  Type
     1              1       409639  ee  EFI Protective
     2         409640     67256359  af  Mac OS X HFS+
     3 *     67256360    184443860  83  Linux
     4      184443861    447924329  83  Linux
    
    MBR contents:
     Boot Code: Unknown, but bootable
    
    Partition at LBA 40:
     Boot Code: None (Non-system disk message)
     File System: FAT32
     Listed in GPT as partition 1, type EFI System (FAT)
    
    Partition at LBA 409640:
     Boot Code: None
     File System: HFS Extended (HFS+)
     Listed in GPT as partition 2, type Mac OS X HFS+
     Listed in MBR as partition 2, type af  Mac OS X HFS+
    
    Partition at LBA 67256360:
     Boot Code: None
     File System: ext3
     Listed in GPT as partition 3, type Basic Data
     Listed in MBR as partition 3, type 83  Linux, active
    
    Partition at LBA 184443861:
     Boot Code: None
     File System: ext3
     Listed in GPT as partition 4, type Basic Data
     Listed in MBR as partition 4, type 83  Linux
    
    Partition at LBA 447924330:
     Boot Code: None
     File System: Unknown
     Listed in GPT as partition 5, type Linux Swap
    Does anyone know how I can make my Macbook boot Ubuntu again? I'm not at all fond of OSX.
    Last edited by Mosley; November 1st, 2008 at 09:45 AM.

  2. #2
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: Repairing rEFIt to boot Ubuntu.

    Well everything looks fine from that. Maybe you should try to reinstall grub.

    Boot from the Ubuntu LiveCD, open a terminal and run 'sudo grub'.

    A grub> command prompt will appear. You need to run these commands:

    Code:
    find /boot/grub/stage1
    If that does not work, try this instead:

    Code:
    find /grub/stage1
    The command should tell you the the partition code for where the grub supporting files are located. It should look something like (hd0,2).

    For this next command, use the partition code found above.
    Code:
    root (hd0,2)
    Then do the install to the MBR:
    Code:
    setup (hd0)
    then you can quit and reboot:
    Code:
    quit

  3. #3
    Join Date
    Nov 2008
    Beans
    2

    Re: Repairing rEFIt to boot Ubuntu.

    Thank you so much Cyberdork! Your solution worked properly. Hopefully this thread will help out others in the future.

  4. #4
    Join Date
    May 2008
    Beans
    745

    Re: Repairing rEFIt to boot Ubuntu.

    Please switch the thread to solved - it will be a lot easier for people to find it, when they are looking for the solution to their problem.

    Thanks!

  5. #5
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: Repairing rEFIt to boot Ubuntu.

    Quote Originally Posted by kosumi68 View Post
    Please switch the thread to solved - it will be a lot easier for people to find it, when they are looking for the solution to their problem.

    Thanks!
    The option is found in the thread tools menu at the top of the page.

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
  •