Dual Boot Mac OSX / Ubuntu 10.4.1 Problem

Asked by Ron DeRosier

This is my first attempt at installing Ubuntu 10.4.1 Desktop LTS on my
Intel mac. I followed the guidelines described in:

https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation

for a Dual-Boot: Mac OSX and Ubuntu. I did the following:

1. Installed rEFIt (and made sure it works)

2. Used Disk Utility to shrink my MacHD partition to 200G and created
   a second 119G partition for Ubuntu.

3. Booted a Ubuntu LiveCD and started the partition editor (gparted).
   I used it to delete the Ubuntu partition created in #2 above. I
   applied the changes and exited.

4. Started the Ubuntu Installer. Chose to install to the "largest
   continuous free space". NOW IS WHERE THE PROBLEM COMES IN! On
   the last dialog of the installer, it says to click the "Advanced"
   button and choose to install the boot loader (grub) to /dev/sda3.
   THERE IS NO /dev/sda3 LISTED! This is the list presented to me:

   /dev/sda ATA ST3320820AS_P (320.1 GB)
   /dev/sda-1
   /dev/sda1
   /dev/sda2 Mac OS X
   /dev/sda-1

So, not wanting to screw things up (since I don't know what I'm doing -
just following instructions) I decided to quit and abort the installation.

Does anybody have any suggestion as to why there is no /dev/sda3?
How about what I should do now?

Thanks

Ron

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu ubiquity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
delance (olivier-delance) said :
#1

Can you boot on Ubuntu CD, choose option "Try but don't install", Applications->Accessories->Terminal.
Type
   sudo parted -l
where "-l" is lowercase "-L" , and post result.

Revision history for this message
Ron DeRosier (nuclearpower) said :
#2

sudo parted -l yields: (I copied this by hand and retyped it here)

Model: ATA ST3320820AS_P (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
     1 20.5kB 210MB 210MB fat32 EFI System Partition boot
     2 210MB 200GB 200GB hfs+ MacHD

Revision history for this message
Ron DeRosier (nuclearpower) said :
#3

 In step #4 above (where I stopped the install because no /dev/sda3 existed), I went ahead
and tried to install the boot loader per the following (assuming things would not work ok
and that I'd probably have to reinstall Mac OS X 10.6):

 /dev/sda ATA ST3320820AS_P (320.1 GB) <== boot loader allowed here and tried
 /dev/sda-1 <== boot loader not allowed here
 /dev/sda1 <== boot loader allowed here and tried
 /dev/sda2 Mac OS X <== boot loader allowed here but not tried
 /dev/sda-1 <== boot loader not allowed here

The places I said I tried above yielded the following each time:

rEFIr - Partioning Tool

Starting gptsync.efi

Current GPT partion table:
# Start LBA End LBA Type
1 40 409639 EFI System (FAT)
2 409640 391482423 Mac OS X HFS+
3 391483392 391485439 GRUB2 BIOS Boot
4 391485440 615559167 Basic Data
5 615559168 625141759 Linux Swap

Current MBR partition table:
#A Start LBA End LBA Type
1 1 409639 EE EFI Protective
2* 409640 391482423 AF Mac OS X HFS+
3 1 391485439 EE EFI Protective
4 391485440 615559167 83 Linux

Status: MBR partition table is invalid, partitions overlap.
Error: Not Found returned from gptsync.efi

After these each failed I reinstalled Mac OS X 10.6.
Is this an rEFIt issue?
Anybody got any ideas how I should go about installing Ubuntu?

Thanks

Ron

Revision history for this message
Ron DeRosier (nuclearpower) said :
#4

Damn it's irritating how all the spacing put into making the information above look good
and more readable gets stripped out! Sorry folks, I tried.

Ron

Revision history for this message
delance (olivier-delance) said :
#5

You could contact https://launchpad.net/~jdthiele who also has issue on dual boot to share your experience and acquired knowledge.

Revision history for this message
Ron DeRosier (nuclearpower) said :
#6

Well, I've been playing around with my system for a while now. I don't believe the absence
of /dev/sda3 has anything to do with anything. I say this because creating 3 partitions using
Disk Utility in Mac OS X and then booting a Ubuntu LiveCD will show a /dev/sda3 partition.
Installing the boot loader to that partition and using rEFIt to sync the various partition tables
STILL causes the same problems as described in my last posting above.

I think the real problem is with rEFIt. Anybody have any ideas?

Thanks

Ron

Revision history for this message
Ron DeRosier (nuclearpower) said :
#7

I was incorrect, rEFIt has nothing to do with this problem!

I posted a bug against rEFIt at sourceforge.com regarding this problem
as can be seen here:

http://sourceforge.net/tracker/?func=detail&aid=3079009&group_id=161917&atid=821764

As was demonstrated there, the problem resulted from the Ubuntu install procedure.
It created two EFI protective partitions when there should only be one. After using
fdisk (and following instructions from somebody there who assisted me) we corrected
the problem and I'm now able to use a dual-boot Mac OSX/Linux system. rEFIt was
never used to sync the partition tables and it's only role is to provide a means to select
which OS to boot.

Revision history for this message
syed's (sam-legendary9) said :
#8

i have install ubuntu 10.10 latest edition (with pre existing win7)
make :
/dev/sda7 /boot = 100mb
8 / = 3000mb
9 /usr = 2000mb
10 /var = 5000mb
11 swap = 4000mb

and install ubuntu on /boot i.e /dev/sda7 , installation has completed and ask for reboot for completion. but aftef reboot i get my win7 os boot with no promp for (no windows boot screen) selection for ubuntu or windows 7.

when i see disk management or trying to reinstall for ubuntu it is not saying me for ubuntu repair and it is also showing ubuntu on /dev/sda8 that is "/" .

note i have install from usb .

Revision history for this message
Launchpad Janitor (janitor) said :
#9

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.