Maintenance

  • Home
  • Log in
  • « Bootpicker on Leopard - notes
  • How to get Fetch FTP to show system files (begin with .) »

Multi-boot Macs

Posted by gregster on 07 Jan 2008 in Labs, Activity log, Documentation

Problems getting a 4-partition, 3OS machine set up.
Because Bootcamp will only create 2 partitions it isn't simple to build a triple-booter in the approved manner.
Formatting the drive as 4 partitions (using GUID map) leaves Windows unbootable, but adding an MBR meant that Mac OS didn't show up in the Startup disk pref pane. As a result, I was not able to make Bootpicker work the way I had hoped: the machine would either only boot in to Windows (or Linux, depending on GRUB) or I'd get a blue screen when I tried to boot in to Windows (using the keyboard to choose OS on boot). Adjusting GRUB or boot.ini works, but is not elegant.
The solution (found here: http://www.twocanoes.com/forums ) is to set the LAST partition on the disk to be Windows. Apparently the Intel Macs won't recognize the bootability of Windows unless it's last on the list. Also, when cloning the new Windows install to another machine, the new machine needs to be partitioned in the same way:
e.g.
partition 1: Storage
partition 2: Mac OS
partition 3: Linux
partition 4: Windows
or boot.ini will need to be adjusted to point to the right partition.

So, what I'm doing right now:
1: boot from external Leopard
2: Format drive as above (4 partitions with Windows last)
3: Use NetRestore to build Mac OS partition from Leopard_clean.dmg on external drive
4: Boot to Windows install disk and install Windows (make sure to format partition as NTFS)
5: Boot in to Windows and install Windows drivers from Leopard disk.
6: Boot in to Leopard and install/configure Bootpicker
6b: If it is a dual-booter (no Linux), run this command in OS X to disable the Linux choice in Bootpicker:
sudo defaults write /Library/Preferences/com.apple.education.bootpicker linuxPartition -bool FALSE

UPDATE: 4 partitions won't work. MBR only supports 4 primary partitions and GPT does not support extended partitions. Combining these two limitations means that a dual partition system disk can have a maximum of 4 primary partitions. In addition, Apple reserves the first primary partition for the "EFI System Partition". That leaves us with only three partitions to play with, one for each OS.
(from http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp )
So, I'm going with 2 partitions (in the case of the labs, no Linux). 30GB for Windows, at the end of the disk and the rest for Mac OS.

Useful disk commands:
sudo diskutil mergePartitions "Journaled HFS+" "Mac OS" disk0s2 disk0s3
which will merge partitions 2 & 3 using journaled hfs+ and name the resulting partition Mac OS.
and
sudo diskutil resizeVolume disk0s2 60G "Linux" "Linux" 17G "MS-DOS FAT32" "Windows" 15G
which will resize disk0s2 (the main partition volume) to 60GB and create a 17GB volume called Linux with linux formatting and a 15GB FAT32 volume called Windows.

This entry was posted by Greg and filed under Labs, Activity log, Documentation.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2022 by admin • Help • Open Source CMS