Re: [CentOS] fdisk boot partition

2020-07-01 Thread J Martin Rushton via CentOS

On 01/07/2020 08:42, Warren Young wrote:

On Jun 30, 2020, at 1:25 PM, John Pierce  wrote:


On Tue, Jun 30, 2020 at 12:12 PM Jerry Geis  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.

--
J Martin Rushton MBCS
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fdisk boot partition

2020-07-01 Thread Warren Young
On Jun 30, 2020, at 1:25 PM, John Pierce  wrote:
> 
> On Tue, Jun 30, 2020 at 12:12 PM Jerry Geis  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.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fdisk boot partition

2020-06-30 Thread John Pierce
On Tue, Jun 30, 2020 at 12:12 PM Jerry Geis  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.



-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] fdisk boot partition

2020-06-30 Thread Jerry Geis
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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos