Fdisk Boot Partition

Home » CentOS » Fdisk Boot Partition
CentOS 3 Comments

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

3 thoughts on - Fdisk Boot Partition

  • 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.


    J Martin Rushton MBCS