Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: rEFIt ext4

  1. #1
    Join Date
    Mar 2005
    Location
    Providence, RI
    Beans
    59
    Distro
    Ubuntu 12.04 Precise Pangolin

    Question rEFIt ext4 (Solved)

    Hi all,

    I am not able to get rEFIt to show Ubuntu as a bootable option and I think its because its ext4, is there something special I need to do to let rEFIt to see ext4 as something more than just data partition?

    I've seen lots of threads but none directly on rEFIt's ability to boot from ext4.

    Thanks
    Last edited by b3nw; May 16th, 2009 at 03:46 PM. Reason: solved

  2. #2
    Join Date
    Apr 2007
    Beans
    468
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: rEFIt ext4

    I had originally setup my mac to boot ubuntu from an ext4 /boot using refit. Just installed grub to that partition (in my case /dev/sda3) instead of the mbr and worked fine after sync'ing partition tables in the refit menu.

    I did nothing special for ext4.

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

    Re: rEFIt ext4

    Quote Originally Posted by b3nw View Post
    Hi all,

    I am not able to get rEFIt to show Ubuntu as a bootable option and I think its because its ext4, is there something special I need to do to let rEFIt to see ext4 as something more than just data partition?

    I've seen lots of threads but none directly on rEFIt's ability to boot from ext4.

    Thanks
    since refit doesn't boot (not a bootloader) and it doesn't read anyhting from the partition's filesystem, it doesn't matter what the filesystem format is.

    Make sure to sync the partition tables, and maybe you need to reinstall grub.

  4. #4
    Join Date
    Nov 2008
    Location
    York, UK
    Beans
    9
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: rEFIt ext4

    I have the same problem.
    I had Ubuntu 8.10 installed on a separate partition next to my Mac OS X and a data partition. This worked fine.
    I've now installed Ubuntu 9.04 instead of 8.10 using ext4. Initially I did not install grub, but this resulted in rEFIt showing a weird icon and not booting ubuntu. I then reinstalled Ubuntu 9.04 (because I couldn't after install grub, for some reason) and I installed grub to the / ubuntu partition (sda4 in my case). I now see a Tux icon in rEFIt, but it still won't boot the partition.
    When I click on the partition manager in rEFIt it says it does not need to sync. In the MBR table it shows it says the 4th partition is Linux which is correct. But in the partition table above that (can't recall what that's called) it says it's data. It does recognise the 5th as swap though.

    I hope someone can help me with this.
    Thanks!
    Heleen

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

    Re: rEFIt ext4

    what happens when you try to use the tux icon? any errors shown?

  6. #6
    Join Date
    Nov 2008
    Location
    York, UK
    Beans
    9
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: rEFIt ext4

    When I click on the Tux logo a new white screen with a small Tux in the middle appears. And then nothing happens, it just stays white with the Tux. I have to manually turn off the laptop and then turn it back on to get back to rEFIt and start Mac OS X.
    I've updated rEFIt to 0.13, but that didn't make any difference.
    This is the partition table from the partition inspector:
    Code:
    *** Report for internal hard disk ***
    
    Current GPT partition table:
     #      Start LBA      End LBA  Type
     1             40       409639  EFI System (FAT)
     2         409640    146948135  Mac OS X HFS+
     3      147212288    462706687  Mac OS X HFS+
     4      462968832    485500364  Basic Data
     5      485500365    488392064  Linux Swap
    
    Current MBR partition table:
     # A    Start LBA      End LBA  Type
     1              1       409639  ee  EFI Protective
     2         409640    146948135  af  Mac OS X HFS+
     3      147212288    462706687  af  Mac OS X HFS+
     4 *    462968832    485500364  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 147212288:
     Boot Code: None
     File System: Unknown
     Listed in GPT as partition 3, type Mac OS X HFS+
     Listed in MBR as partition 3, type af  Mac OS X HFS+
    
    Partition at LBA 462968832:
     Boot Code: GRUB
     File System: ext3
     Listed in GPT as partition 4, type Basic Data
     Listed in MBR as partition 4, type 83  Linux, active
    
    Partition at LBA 485500365:
     Boot Code: None
     File System: Unknown
     Listed in GPT as partition 5, type Linux Swap
    It says that it doesn't need syncing. I tried calling gptsync.efi in the EFI shell, but that is exactly the same as calling the partition manager.
    I'm going to see if there's a way to sync the tables even if it says it doesn't need to. I have no idea what else there is I could try. Maybe reinstalling on EXT3, see if that at least works, although I'm not sure if that's the problem.

    Thanks for the reply!

    Edit: I've tried to find out how I can manually force rEFIt to sync the tables, but I can't find how to do it if it is possible at all.
    Last edited by Heleen; May 14th, 2009 at 03:34 PM. Reason: adding new info

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

    Re: rEFIt ext4

    no need to sync, they are already in sync.

    I think the issue may be that the Linux partition is marked as bootable in the MBR table. I think it should be set to the OSX partition.

  8. #8
    Join Date
    Nov 2008
    Location
    York, UK
    Beans
    9
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: rEFIt ext4

    I've tried changing the boot flag from the Linux partition to the Mac partition with GParted on the live CD, but the flag was already on the Mac partition. I changed them around and back and when I load the partition manager in the rEFIt boot menu the A star is now on partition 2. I'm not sure if it was before, because when I use the partition manager that comes with the rEFIt install dmg it's still on partition 4.
    Anyway, I've tried booting Linux again, but I still have the same problem as before. I'm really considering just reinstalling Linux with ext3 to see if that works. Unless someone has any other ideas.

    Thanks again for the support so far!

  9. #9
    Join Date
    Mar 2005
    Location
    Providence, RI
    Beans
    59
    Distro
    Ubuntu 12.04 Precise Pangolin

    Smile Re: rEFIt ext4

    Quote Originally Posted by cyberdork33 View Post
    since refit doesn't boot (not a bootloader) and it doesn't read anyhting from the partition's filesystem, it doesn't matter what the filesystem format is.

    Make sure to sync the partition tables, and maybe you need to reinstall grub.

    This was my misunderstanding. I didn't install grub. Re-Installed with ext4 and grub and worked like a charm. Thanks!

    I also noticed you can't pick restart from OSX. You must choose shutdown, or the rEFIt does not show up.

  10. #10
    Join Date
    Nov 2008
    Location
    York, UK
    Beans
    9
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: rEFIt ext4

    Quote Originally Posted by b3nw View Post
    This was my misunderstanding. I didn't install grub. Re-Installed with ext4 and grub and worked like a charm. Thanks!

    I also noticed you can't pick restart from OSX. You must choose shutdown, or the rEFIt does not show up.
    Where did you install grub to? hd0 or the ubuntu (/) partition or some other partition?
    I'm having issues as well and since it's now working for you I'd really like to know where you installed grub to.
    Thanks!

Page 1 of 2 12 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
  •