How to boot from a disk image that's been copied to a partition?
January 5, 2006 1:54 AM Subscribe
I'm trying to boot the Mac OS X Intel installer CD from a hard drive partition (I have no DVD drive). I used dd to write the ISO to /dev/sda6, and I configured grub to boot from it. But grub won't boot it.
posted by jbb7 to computers & internet (5 answers total)
First, I created a new (logical) unformatted partition of 20 GB at /dev/sda6. I ran 'dd if=macosx.iso of=/dev/sda6' and then edited grub to boot like:
(I've also tried hd0,5 and hd0,7 and others, so that's not the problem.)
When the grub screen comes on, I try to boot the MacOSX-Intel entry. Here's the error I get with the corresponding entry from the grub manual.
13 : Invalid or unsupported executable format
This error is returned if the kernel image being loaded is not recognized as Multiboot or one of the supported native formats (Linux zImage or bzImage, FreeBSD, or NetBSD).
How can I get this bootable disk image to boot from a hard drive partition instead a DVD? I have the full set of Unix tools at my disposal, and I have no problem mucking around at a low level if I need to.