Wednesday, March 17, 2010

Mayo Clinic Mn Cafeteria

Multiboot Mac OSX, Ubuntu, and Windows 7 by Windows 7 GRUB2

We pay special attention and care when handling the partion table and boot sector of a formatted disk
MBR. In the Master Boot Record are both part of the boot loader is the binary partition table i. If you need
make copies to spare even at different times using a live version of Ubuntu sure, so it can recover the partition table or boot loader.

$ sudo dd if = / dev / sda of = / media / myflashpen / sdaBootSec bs = 512 count = 1
command copies the first 512-byte disk on a USB stick.

Hardware: Laptop Fujitsu-Siemens Amilo Pro v3505, Intel Core2Duo T5500, 1GB RAM, 170GB HD, DVDRW, Wifi BG, Bluetooth.

Partitioning HD with 4 primary partitions:
  • 53 GB - (HFS +) - Mac OS X Leopard 10.5.7 - 32bit
  • 50 GB - (EXT4) - Lucid Lynx Ubuntu 4.10 (Alpha) - 32bit
  • 04 GB - (SWAP)
  • 53 GB - (NTFS) - Windows 7 Home Edition - 32bit
Order of installation of operating systems: Mac OS X
  • Chameleon v2 installed in the boot sector
  • Ubuntu install GRUB2 configured to boot Mac OS X also
  • riseva copy the boot sector (512-byte)
  • Windows 7 install its boot loader ignoring MAC OS X and Ubuntu
  • restore the full 512-byte bootsector would be too upset to say the partition table so I limit myself to the first so that you can restore 446byte GRUB2, there are several ways to restore GRUB2.
After restoring GRUB2 I changed grub.cfg to run MAC OS X, and Windows 7 as follows:

menuentry "Windows 7 Home 32bit on (hd0, 4)" {
insmod ntfs September
root = '(hd0, 4) '
chainloader +1}

menuentry "APPLE MAC OS X 10.5.7 via CHAIN0" {

September insmod ext2 root =' (hd0, 2) '
chainloader / boot / grub / chain0

}
Originally, before Windows 7, the Chameleon was enough to launch a grub.cfg as follows:

menuentry "APPLE MAC OS X on (hd0, 1) {
insmod hfsplus September
root = '(hd0, 1) 'chainloader
/} Usr/standalone/i386/boot0

I had to equip with a CHAIN0 recovered.

0 comments:

Post a Comment