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

Thread: MBP5,2 dual boot with ext4

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

    MBP5,2 dual boot with ext4

    Anyone try this yet? I have MBP 5,2 with OSX installed. then installed Jaunty Alpha5 with ext4. Haven't gotten it to boot yet...
    Have rEFIt installed and it shows OSX and Linux Penguin to boot but when I click on the penguin it sits there for a while (sometimes forever) and eventually comes back with no bootable device.
    I've booted back into the ubuntu live cd and reinstalled grub per another forum post about this issue but still no luck. Wondering if grub could be having an issue with ext4 but maybe not since it should be supported with jaunty.
    I've also run the rEFIt partition inspector and synced the tables up.

    Here is output of partition inspector now:
    Code:
    *** Report for internal hard disk ***
    
    Current GPT partition table:
     #      Start LBA      End LBA  Type
     1             40       409639  EFI System (FAT)
     2         409640     84033575  Mac OS X HFS+
     3      495339520    625141759  Basic Data
     4       84033576    100033576  Linux Swap
     5      100033577    495338264  Basic Data
    
    Current MBR partition table:
     # A    Start LBA      End LBA  Type
     1              1       409639  ee  EFI Protective
     2         409640     84033575  af  Mac OS X HFS+
     3 *    495339520    625141759  0c  FAT32 (LBA)
     4       84033576    100033576  82  Linux swap / Solaris
    
    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 495339520:
     Boot Code: None (Non-system disk message)
     File System: FAT32
     Listed in GPT as partition 3, type Basic Data
     Listed in MBR as partition 3, type 0c  FAT32 (LBA), active
    
    Partition at LBA 84033576:
     Boot Code: None
     File System: Unknown
     Listed in GPT as partition 4, type Linux Swap
     Listed in MBR as partition 4, type 82  Linux swap / Solaris
    
    Partition at LBA 100033577:
     Boot Code: GRUB
     File System: ext3
     Listed in GPT as partition 5, type Basic Data

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

    Re: MBP5,2 dual boot with ext4

    you can't boot a partition beyond #4 in legacy OS mode. It appears that your root partition is #5?

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

    Re: MBP5,2 dual boot with ext4

    Quote Originally Posted by cyberdork33 View Post
    you can't boot a partition beyond #4 in legacy OS mode. It appears that your root partition is #5?
    yes it is. #4 is swap so If i switch 4 to be the ext4 and #5 to be swap I'll be set?
    #3 is bootcamp xp and #2 is maxosx #1 is the efi partition.

    sound good then if it switch the two?

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

    Re: MBP5,2 dual boot with ext4

    Well I moved the ext4 / partition to be /dev/sda4 and then made swap /dev/sda5.
    Then the install popped up a msg saying it couldn't format or mount swap and to go back to partioning. Nothing I did could get past it. Eventually I gave up and left the 8192MB of free space, the install is going now but without swap.
    I'll see if after the install i can format it as swap. If not maybe I can't even see more than 4 partitions in legacy> so does that mean if you triple boot you can't have swap at all then?
    I have 8GB of ram so I was going to set swappiness to like 20-40 anyway but don't like the idea of running without swap?
    pointers? ideas?

    I don't necessarily need to triple boot the XP i was going to run in virutal box most the time from ubuntu.

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

    Re: MBP5,2 dual boot with ext4

    Quote Originally Posted by inphektion View Post
    yes it is. #4 is swap so If i switch 4 to be the ext4 and #5 to be swap I'll be set?
    yes that ought to work better.

    Quote Originally Posted by inphektion View Post
    Well I moved the ext4 / partition to be /dev/sda4 and then made swap /dev/sda5.
    Then the install popped up a msg saying it couldn't format or mount swap and to go back to partioning. Nothing I did could get past it. Eventually I gave up and left the 8192MB of free space, the install is going now but without swap.
    I'll see if after the install i can format it as swap. If not maybe I can't even see more than 4 partitions in legacy> so does that mean if you triple boot you can't have swap at all then?
    I have 8GB of ram so I was going to set swappiness to like 20-40 anyway but don't like the idea of running without swap?
    pointers? ideas?

    I don't necessarily need to triple boot the XP i was going to run in virutal box most the time from ubuntu.
    well the Linux kernel is capable of reading the GPT where all the partition are really described. It is GRUB that uses the MBR partition table to figure things out, and the MBR table is limited to 4 entries. I don't know why you were having issues. I would try after the install... with 8GB of RAM, I don't think you will have any problems though.

    P.S. Does your Windows install still work?
    Last edited by cyberdork33; March 1st, 2009 at 04:55 AM.

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

    Re: MBP5,2 dual boot with ext4

    I never installed windows yet. just made the partition for it originally with the bootcamp assistant in mac.
    I'm debating whether its worth the triple boot hassle cause I really just need windows in a VM just thought it would be nice to be able to boot it natively.

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

    Re: MBP5,2 dual boot with ext4

    Quote Originally Posted by inphektion View Post
    I never installed windows yet. just made the partition for it originally with the bootcamp assistant in mac.
    I'm debating whether its worth the triple boot hassle cause I really just need windows in a VM just thought it would be nice to be able to boot it natively.
    oh. Well that is definitely something to consider upfront. I think you will be ok if you install it last as long as you installed grub to the root partition rather than the MBR.

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

    Re: MBP5,2 dual boot with ext4

    Yea i'm in the testing phase of what i want to do. I just killed the bootcamp partition now and have ubuntu in /dev/sda3 and swap in /dev/ds4.
    I booted the live cd and used the partition manager to format the ext4 and swap then I went through the installer and it worked. Could be some bug in the installer with formatting and using partitions cause for 1. it wouldn't format/use swap and 2. after I booted into it, df -h showed it was installed in a 8gb parition which would only have been the swap one... Weird.
    So I redid it all outside of the installer and just re-installed.

    Once I get this entire drive partitioned how I want any recommended way to clone it (entirely) or individual partitions for easy restore in case some upgrade messes it up later?

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

    Re: MBP5,2 dual boot with ext4

    Man, not going well.
    went to install the restricted drivers for the wireless... computer froze. had to hold down power button to turn off, turned back on and now won't boot into ubuntu. first message is ACPI something about a gzip and bad magic number and then a kernel panic about VFS not syncing.

    Wonder if this is ext4 related... Maybe I should make a /boot of ext3 then mount / on ext4.

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

    Re: MBP5,2 dual boot with ext4

    ok instead of solving this no boot issue with the kernel panic, which i'll do if it happens again, i'm just assuming its something with the new ext4 so here is what i'm doing now.
    /boot , ext3, 128MB
    / , ext4, 50GB
    /home, ext4, 200GB
    swap, 4GB

    Is 50GB good for /? I usually never separate out partitions so not sure. I think the generic install takes 6-8GB so I figure over time 50 should be fine... I do install a lot of stuff though.

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
  •