个人工具

UbuntuHelp:MactelSupportTeam/AppleIntelInstallation

来自Ubuntu中文

Wikibot讨论 | 贡献2008年12月16日 (二) 19:22的版本 (新页面: {{From|https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation}} {{Languages|UbuntuHelp:MactelSupportTeam/AppleIntelInstallation}} This page aims to describe the steps ...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

This page aims to describe the steps needed to install Ubuntu on an Intel Mac computer.

Introduction

It is recommended that you keep an install of OS X, even if you do not plan to use it in order to install firmware updates in the future that may be required for your Mac to operate properly. If you are using a computer that does not have a cd-rom such as the Mac``Book Air, you should see the guide at FIXME. FIXME: Recommended Ubuntu version to install

OS X and Ubuntu dual boot

AppleIntelInstallation?action=AttachFile&do=get&target=OSX.png AppleIntelInstallation?action=AttachFile&do=get&target=Linux.png

  1. Download Ubuntu Live CD and burn it
  2. Install rEFIt (this step is optional, you can hold 'Alt' to select partition everytime instead)
  3. Use Boot Camp Assistant (it's in Applications/Utilities on Leopard, OSX 10.5) to create new partition. Allocate whatever space you want for Ubuntu, given what you have free
    1. Alternatively, re-partitioning can be done from the command-line in OSX. Use diskutil resizevolume (check diskutil help for information)
  4. Insert the live CD into the drive and reboot
  5. Hold down ‘C’ button at the black screen to boot from CD
  6. Follow usual Ubuntu installation step. In keyboard selection screen, choose “macintosh”
  7. In partitioning screen, choose ‘manually edit partition table’
    1. Delete the Windows partition just created from Boot``Camp. Then create the ext3 partition at the same size. Mount it as ‘/’. Note where this partition is created (/dev/sdaX)
  8. On the last screen, click on the "Advanced" button and select instead /dev/sdaX (from previous step) in the drop-down list for installing GRUB (see picture below)
  9. Complete the installation process and reboot
  10. If you installed rEFIt, you have to activate it under OS X. Run enable.sh from the rEFIt installation. You can also choose to boot Linux first in the configuration file of rEFIt. Reboot. Choose the partition tool from rEFIt to sync the MBR with EFI. (If you don't have an english keyboard, note that the keys "Z" and "Y" are swaped in the partition tool)

https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation?action=AttachFile&do=get&target=step7.png

Triple Boot Methods

Ubuntu, OS X, & Vista (Boot Camp with rEFIt)

AppleIntelInstallation?action=AttachFile&do=get&target=OSX.png AppleIntelInstallation?action=AttachFile&do=get&target=Vista.png https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation?action=AttachFile&do=get&target=Linux.png

  1. Assuming that OS X is installed, use bootcamp to install Windows XP or Vista. NOTE: MAKE ENOUGH SPACE FOR BOTH WINDOWS AND UBUNTU WITH BOOT CAMP!
  2. Install windows normally.
  3. Start your computer with the Ubuntu disk in the drive. Install Ubuntu by partitioning the boot camp drive that Windows is located on, and install both Ubuntu and GRUB bootloader onto the new partition. (If you want more compatibility with mac, format to ex2, not ex3. There are programs that allow mac to write to that)
  4. Start the computer and boot back into Mac and install rEFIt. This will allow you to boot into every operating system on boot.

Ubuntu, OS X, & Vista (rEFIt without Boot Camp)

https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation?action=AttachFile&do=get&target=OSX.png https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation?action=AttachFile&do=get&target=Vista.png https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation?action=AttachFile&do=get&target=Linux.png

  1. Startup your laptop with Ubuntu Desktop CD inserted into the drive.
  2. In rEFIt menu, choose to boot the Ubuntu CD.
  3. Select English as the language to be used.
  4. Select the 2nd option, the one that says : "Install Ubuntu"
  5. After the loading, on the install screen, select the O.S. Language (English) and hit "Forward" button, then select your country location.
  6. On the Keyboard layout, choose your keyboard language, and on the other window select the variant Macintosh (mine is Portugal - Macintosh), and test the typing if you want.
  7. On the "Prepare Disk Space" menu, select the 1st option: "Guided - Resize SCSI3 (0,1,0), Partition #3 (sda) and use Free Space", and with your mouse select the desired partition size (I set mine to 80% Windows Vista & 20% Ubuntu), and hit "Forward" button.
  8. On "Migrate Documents and Settings" menu, just hit "Forward".
  9. On "Ready to Install" menu, select "Advanced..." and select to install Grub boot loader to the last partition "/dev/sda4" and hit "OK" button, and then hit "Install" button to begin the installation process.
  10. After the installation as finished, hit "Restart Now" button, it will exit the installer and eject your CDROM, then press "Enter" key to restart. After the reboot, select the Linux icon on rEFIt to boot into Ubuntu.
  11. Don't forget not to install the ATI accelerated graphics drivers, that is auto-detected by Hardware Drivers application, we'll cover the installation of the latest and official ATI drivers on the next section.
  12. Go to 'System' > 'Administration' > 'Software Sources' and check all boxes on the "Third party software", and also on the "Updates" tab. Then hit "Close" button to reload the sources.
  13. Go to 'System' > 'Administration' > 'Update Manager' and check and install the new updates.

Ubuntu, OS X, & Vista (Boot Camp without rEFIt)

https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation?action=AttachFile&do=get&target=OSX.png https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation?action=AttachFile&do=get&target=Vista.png https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation?action=AttachFile&do=get&target=Linux.png

  1. Make sure you use Leopard and have it updated (10.5.2).
  2. Start Boot``Camp and create a partition for Windows XP (15G is enough).
  3. Don't install it through Bootcamp.
  4. Insert Windows CD and reboot holding C when you hear the beeping sound.
  5. Windows installation should start, follow the usual installation process of Windows.
  6. If it reboots during installation, you press ALT during reboot so that you can pick Windows installation.
  7. After Windows is installed, insert your Leopard DVD and it should install all your Apple drivers and stuff.
  8. Update your Apple Software (there will be an option on the start menu to do so).
  9. Update Windows XP.

Ubuntu, OS X, & Windows XP (Triple Boot with rEFIt)

https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation?action=AttachFile&do=get&target=OSX.png https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation?action=AttachFile&do=get&target=Vista.png https://help.ubuntu.com/community/MactelSupportTeam/AppleIntelInstallation?action=AttachFile&do=get&target=Linux.png

  1. Now that Windows is installed, get back to MacOS, we are going to install Linux now.
  2. Start Disk Utility and create a new partition on Machintosh HD, name it Linux
  3. Insert Linux CD and reboot holding C
  4. On Linux installation, delete the partition you created (Linux) because its HFS, and set it as ext3 and mount /. Don't need to create swap (I know its going to warn you, but ignore it).
  5. At the last step of setup, click advanced because you need to change where GRUB is going to be installed, choose sdaX (which X is your Linux partition).
  6. Let it install Ubuntu.
  7. Get back to MacOS, install rEFIt, reboot and run the partition manager of rEFIt, which should take care of every detail of booting for each OS.
  8. Reboot and that's it.

Troubleshooting

  1. In case you are stuck with a "No bootable device" message or a blank screen, reboot and select the Partitioning Tool in rEFIt and let it update the MBR
  2. If you did not install rEFIt, hold down Alt/Option to choose whether to boot into OSX / Ubuntu. The Boot Camp-installed boot menu will recognize the Ubuntu installation as "Windows," but will boot Ubuntu normally regardless
  3. Note on a bug that prevents booting after a successful install (a blank screen or blinking cursor) can be found here

Obtaining Help

For further assistance please refer to the Ubuntu Apple Users forum.


[[UbuntuHelp:]]


<
><
>

IconsPage?action=AttachFile&do=get&target=IconUsers.png> Please update this page, if you have figured out anything, that is not mentioned here!

<
><
>

IconsPage?action=AttachFile&do=get&target=IconUsers.png> The MactelSupportTeam is about to restructure and reorganize the documentation for Intel-based Macs. If you are interested in helping, please visit our team|page for information. For all Mactel wikis, there is a starting place here.|There is also a thread about planning the Mactel docummentation going on.

<
><
>