Installing Ubuntu 9.10 on a Mac Xserver
24 Feb 2010
References Used
Instructions
- Plug in a generic usb drive that is at least 100Mb in size to your linux machine
- Make sure to unmount the drive if it automounts
- Partition and setup the usb disk
- Unmount and eject the usb drive and go plug it into your mac server
- Make sure you also have an apple keyboard attached to the server. Other keyboards may or may not work.
- Reboot the server and hold down the Option key on the mac keyboard. You can try to hold down the alt key on a PC type keyboard and that MAY work, but don’t count on it.
- Hold the option key down until the EFI menu comes up and select EFI as the boot device
- Once the grub menu comes up select Ubuntu Karmic. These servers will only do 32bit so you cannot select the 64bit Karmic installer
- Installation
- I’m not going to go through the entire process just give some ideas of how I setup things when I did the installs
- Choosing a mirror
- Once you are in the list of mirrors hit the Home key which will take you to the top of the page where you can input your own mirror
- Partitioner
- Once you get to the partitioner you will have to make sure that you create a FAT32 partition at the beginning of one of the drives. I usually pick the first one in the list to do this to, but I don’t think it matters. You will have to put the same stuff that is on the USB drive in this partition at the end of the install
- The rest of the partition scheme is up to you as it is the same as any normal install
- Base System
- The kernel I know works for sure is the generic one. I’m sure others will work, but this is the only tested version
- I also select include all drivers as well just to be sure
- Setup users and passwords
- Enable Shadow Passwords
- Do not enable root to log in
- Package Manager
- Enable everything but backports(you will only have to select a different option than the default for partner repositories)
- Select and install software
- Select the following
- Basic Ubuntu Server
- OpenSSH Server
- Install Grub
- Install Grub 2
- Select to install to the MBR
- When it fails select continue 2x
- Select continue without a bot loader and then select continue
- Setup the EFI partition
- Execute a Shell
- Make the mount points
-
mkdir /mnt/usb /mnt/efi
- Mount the usb drive and the efi partition
-
mount /dev/sda1 /mnt/usb
-
mount /dev/sdb1 /mnt/efi
- Copy the usb efi directory to the efi partition
- Setup grub.cfg for your installation
- Exit the shell by typing exit and pressing enter
- Select Finish the installation
- Set the clock to UTC
- Disconnect the usb drive when the Installation Complete box comes up and select continue
- Your mac should now boot into the grub install off of the hard disk