Quadruple system Windows 7, OSX Snow Leopard, Ubuntu Lucid and FreeBSD 8 on GPT with BURG (supports UEFI/Apple EFI/PCBIOS)
Introduction
This guide shows how to install the four OS on GPT and boots with BURG. In preparation, you needs to have:
The following installation process requires to remove all partitions and create new disk layout, make sure to backup important data first !
UEFI
My test environment: HP ProBook 4510s
grub-install --force /dev/sda update-grub set prefix=(hd0,5)/boot/burg insmod normal normal
This would bring you to the normal burg menu, press 'c' to enter a console windows, and enter these commands:
#!/bin/sh exec tail -n +3 $0# This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. menuentry "Boot Snow Leopard" --class macosx { set root=(hd0,4) multiboot /boot} menuentry "Boot Leopard" --class macosx { set root=(hd0,9) multiboot /boot} menuentry "Boot FreeBSD" --class freebsd { set root=(hd0,8) kfreebsd /boot/loader} menuentry "Reboot to EFI mode" { gptsync hd0 reboot} then use update-burg to update the configuration file. Mount the EFI partition and create burg directory:sudo mount /dev/sda1 /mnt sudo mkdir /mnt/EFI/burgDownload the latest burg-efi64 and burg-themes package from: http://code.google.com/p/burg/downloads/list, extract to /mnt/EFI/burg directory, and rename /mnt/EFI/burg/burg_uefi.cfg as /mnt/EFI/burg/burg.cfg.
sudo apt-get install efibootmgr Then use this to add a new EFI boot item for burg:sudo efibootmgr -v -c -L "BURG" -l "\\EFI\\burg\\burg64.efi"burg would be the default boot loader for EFI now, you don't need to use "Boot From UEFI File" to choose it.
newfs -O2 -U /dev/da4p8 mount /dev/sda8 /mnt Exit fixit shell. In Options, change install root from / to /mnt. Choose "Configure" and "Distribution" to install. Make sure you don't touch the "Fdisk" and "Disklabel" as they'd mess up the MBR. After it, reopen a fixit shell, cd to /mnt/boot, and rename GENERIC directory to kernel. You also need to create /mnt/etc/fstab as follows:/dev/ad4p7 none swap ew 0 0 /dev/ad4p8 / ufs rw 1 1
Apple EFI
My test environment: Mac Mini 3.1 (early 2009 version)
grub-install --force /dev/sda update-grub #!/bin/sh exec tail -n +3 $0# This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. menuentry "Boot Windows" --class windows { set root=(hd0,2) chainloader +1 } menuentry "Boot FreeBSD" --class freebsd { set root=(hd0,8) kfreebsd /boot/loader} then use update-burg to update the configuration file.
gptsync hd0 2+ 3 4 reboot The advantage of BURG's gptsync is that you can choose which partition to mapped into MBR slots. For example, if you have a data partition at (hd0,10), you can use this to make it visible to Windows:gptsync hd0 2+ 3 10
burg-install --force /dev/sda update-burg set root=(hd0,6) kfreebsd /fbsd_install/kernel kfreebsd_module /fbsd_install/mfsroot.gz type=mfs_root kfreebsd_loadenv /fbsd_install/devices.hintset FreeBSD.vfs.root.mountfrom=ufs:/dev/md0 boot After that, install FreeBSD using similar method described in UEFI section. PCBIOS
Install in PCBIOS machine is a combination of the above methods, here are highlights:
|
Quadruple system Windows 7, OSX Snow Leopard, Ubuntu Lucid and FreeBSD 8 on GPT with BURG (supports UEFI/Apple EFI/PCBIOS)
ref: http://code.google.com/p/burg/wiki/QuadBoot