Thread: Mac OSX 10.6 + Ubuntu 10.04 GRUB/Refit problems solved
i spent hours reading forum , web how install ubuntu 10.04 server alongside mac os 10.6 in hopes of getting mac pro 4,1 set go. using of instructions available, able 'install' ubuntu; issue loading system. when selected ubuntu icon refit, presented 1 of:
- blinking cursor never go away
- message grub operating system being missing
never got grub boot screen. tried many variants on install theme including:
- creating dedicated grub boot partition on install grub
- removing grub boot partition disk formatted as:
(partition 1: efi boot partition; 2: mac osx; 3: ext 4 ubuntu root)
worked after tweaks below...
- installing grub on /dev/sda3 (the ubuntu partition)
- , installing grub on /dev/sda (the mbr)
of course each of these variants preceeded lot of time consuming clean in between.
worked following (hopefully spare few days of hair pulling):
1) begin clean osx install
2) resize osx partition , add new partition ubuntu using osx disk utility:
(hard disk containing 3 partitions: 1: efi; 2: mac osx; 3: temporary ubuntu)
3) reboot ubuntu cd, installing ubuntu onto /dev/sda3. you'll need
select manual partition option, make /dev/sda3 ext4 , set
mount point '/'. i'll use swap file, there no swap partition.
4) install grub onto /dev/sda (the mbr)
5) reboot/shutdown. should able boot mac osx, @ point
*not* boot ubuntu -- machine hang before getting
grub 2 screen...
6) boot ubuntu cd , select 'rescue broken system'
7) continue through setup , shell in installer environment:
8) now, chroot existing (unbootable) system
# /mkdir /mnt/r
# mount /dev/sda3 /mnt/r
# mount --bind /dev /mnt/r/dev
# mount --bind /proc /mnt/r/proc
# chroot /mnt/r
9) ** downgrade grub **. never expected work, seems have done
trick
# apt-get purge grub-common grub-pc
@ same time, move /boot/grub folder somewhere else backup
install grub legacy:
# apt-get install grub
# update-grub
(do sanity check menu.lst looks pointing correct place)
# grub-install /dev/sda
(onto mbr)
10) reboot. grub loads, , boots ubuntu 10.04 server; mac os x boots
normal , refit shows 2 icons desired!
note after first working install, got bit greedy , tried going mac osx , adding fat32 partition between osx partition , unbutu partition. ended making ubnutu partition /dev/sda4, knew need run update-grub again , reinstall. however, surprised find didn't work. @ grub-install, installer complain broken stage 1. appears reason, grub not happy ubuntu being on 4th partition... happily, able go mac osx, remove fat 32 partition , started.
post else out!
that awesome done on imac 11,2 ??
Forum The Ubuntu Forum Community Ubuntu Specialised Support Apple Hardware Users [SOLVED] Mac OSX 10.6 + Ubuntu 10.04 GRUB/Refit problems solved
Ubuntu
Comments
Post a Comment