On Tue, 23 Aug 2016, Phil Manuel wrote:

On Tue, 23 Aug 2016 at 02:18 Gordon Messmer <gordon.mess...@gmail.com>
wrote:

On 08/21/2016 11:56 PM, Phil Manuel wrote:
part /boot/efi --fstype="efi" --size=200 --ondisk=sda
And I have tried the latter with location as mbr still fails
What am I missing ?

... lots of troubleshooting deleted ...

If all else fails, you can pull out the sledgehammer: dd. Add a %pre section to your kickstart.

%pre --interpreter=/usr/bin/bash
# nuke all MBR and partition info. season list of
# block devices to taste.
for BLKDEV in sda sdb; do
  dd if=/dev/zero of=/dev/$BLKDEV bs=512 count=4
done
%end

This will execute prior to anaconda trying to partition the disk. Note that it will erase or obfuscate all data on the disk(s) so it's definitely unsuited for systems on which you want to retain data.

--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W
_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to