From: Ralph Giles <giles@xi...> - 2006-04-06 21:04:30
I've been trying to install Ubuntu dapper on an macbook pro by the
I used Apple's bootcamp to resize the shipped MacOS X partition,
but quit after the restart. I then booted the 20060326 Live CD
mke2fs -j -b 4096 /dev/sda3
mount /dev/sda3 /mnt/target
(I didn't know to use fdisk instead of cfdisk at the time, but having
resized the hfsplus partition, I assume one could split the final
partition into more pieces if you want swap, more than two OS, etc.)
I then copied the live CD's root filesystem onto the new partition:
rsync -av --exclude=/mnt --exclude=/proc --exclude=/sys --exclude=/tmp / /mnt/target
(this takes a while; there's a lot of stuff on the live cd)
just as a quite way to get a rootstrap going.
Then fix things up:
as described in http://wiki.debian.org/MacMiniIntel, except of course
that I have no swap, and / is mounted from /dev/sda3.
I then did 'chroot /mnt/target' and ran 'apt-get update && apt-get
upgrade' which seemed updates to the latest software.
So far, so good. Now I want to make linux boot from the hard drive. I
rebooted to MacOS X and installed rEFIt 0.4 on the hfsplus parition. I
then copied /Volumes/CDROM/efi/elilo (from the cdrom) to /efi/ and
edited elilo.conf to pass root=/dev/sda3. Note that this has the linux
kernel residing on the MacOS X partition, but otherwise using its own
Unfortunately this doesn't quite work. rEFIt will boot either MacOS X or
linux from the hard disk, but it ignores the root directive and appears
to still be mounting / ro over the loopback interface from some
bootstrap file from the cdrom. Even more strangely, /etc/mtab hasn't
changed from the last live cd boot when /dev/sda3 was mounted as
/mnt/target (but it isn't). So this is getting stored on the system
Forgive my ignorance here, but is there a way to get the livecd kernel
to work? I suppose I'll try compiling my own kernel from source next,
but it would be much simpler if one could just copy the kernel over and
edit the config.
From: Ralph Giles <giles@xi...> - 2006-04-06 22:50:52
On Thu, Apr 06, 2006 at 02:04:30PM -0700, Ralph Giles wrote:
> Forgive my ignorance here, but is there a way to get the livecd kernel
> to work?
Embarrassing. I had a typo in /etc/fstab which kept /dev/sda3 from
So, I not have "native" booting off the hard drive!
Unfortunately, the dapper xorg server doesn't work. I guess it needs a
patch for the newer fbdev?