Copy the MacOS USB Install to the HDD

Allan Kelly : Copy the MacOS USB Install to the HDD

Previous page Next page

4. Copy the MacOS USB Install to the HDD

There is, I know, more than one way to do this. But this is how I did it, which is all I can vouch for...

Remember that the USB is GUID partitioned. There's a small partition (the "EFI" partition) created on the USB that's not used by MacOSX. Your installation is on the 2nd partition of the USB stick. So, below we copy from USB partition 2 to HDD partition 2. Here's how.

With the MacOSX install USB plugged in, boot from the HDD into Linux. Get a terminal open. Now use parted's cp facility to copy your MacOSX install to the 2nd HDD partition. Like this:

  • sudo parted and supply your password
  • print devices and note the usb device: /dev/sd[bcd]
  • select /dev/sda we're targetting the HDD
  • cp /dev/sdc 2 2 copy from USB 2 to HDD 2
  • quit parted will say it can't resize the partition. Good!

You now have a MacOSX installation on your HDD. But we're not done yet. Currently the HDD bootloader is Grub, which lists Linux and Windows. (Running grub-mkconfig will now pick up the MacOSX install, but as I've said it didn't work for me so I'll ignore that). If you reboot now you'll see that Chameleon on the MacOSX USB install will boot Windows or MacOSX, but not Linux. The solution below puts Chameleon on the HDD as bootloader and Grub in the Linux partition as bootloader just for Linux. This works and looks good in practice. So, let's put Grub onto the Linux Partition. Since we're in Linux let's do it now.

Previous page Next page
www.flickr.com
allanpaulkelly's items Go to allanpaulkelly's photostream
   
Last Updated
Sun Sep 26 21:18:35 2010