I am trying to use CentOS 8 host to boot an image (OS X) that I created using dd.
First I tried fdisk -l image_file.img - all looks good so I did fdisk image_file.img - this works - but seems in CentOS 8 fdisk there is no longer a toggle bootable flag option.
How do I do that ?
Thanks,
Jerry
On Tue, Jun 30, 2020 at 12:12 PM Jerry Geis jerry.geis@gmail.com wrote:
I am trying to use CentOS 8 host to boot an image (OS X) that I created using dd.
First I tried fdisk -l image_file.img ...
fdisk has been deprecated for quite a long time, I think parted is the preferred command line tool now.
On Jun 30, 2020, at 1:25 PM, John Pierce jhn.pierce@gmail.com wrote:
On Tue, Jun 30, 2020 at 12:12 PM Jerry Geis jerry.geis@gmail.com wrote:
I am trying to use CentOS 8 host to boot an image (OS X) that I created using dd.
First I tried fdisk -l image_file.img ...
fdisk has been deprecated for quite a long time, I think parted is the preferred command line tool now.
Even to the extent that it works, it’d only support MBR partitioning, and you almost certainly want GPT for a macOS boot image.
…and then “bootable” flags go out the window anyway, because EFI doesn’t care about that.
On 01/07/2020 08:42, Warren Young wrote:
On Jun 30, 2020, at 1:25 PM, John Pierce jhn.pierce@gmail.com wrote:
On Tue, Jun 30, 2020 at 12:12 PM Jerry Geis jerry.geis@gmail.com wrote:
I am trying to use CentOS 8 host to boot an image (OS X) that I created using dd.
First I tried fdisk -l image_file.img ...
fdisk has been deprecated for quite a long time, I think parted is the preferred command line tool now.
Even to the extent that it works, it’d only support MBR partitioning, and you almost certainly want GPT for a macOS boot image.
…and then “bootable” flags go out the window anyway, because EFI doesn’t care about that.
fdisk has been updated: # fdisk /dev/sdb ... Welcome to fdisk (util-linux 2.23.2). ... Command (m for help): m Command action ... g create a new empty GPT partition table ...
How good it is, I leave to others.