uname -a
Code:
FreeBSD MACH1 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 19:31:38 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
A new disk was GPT formatted as an external drive through a USB port. The system disk was cloned onto it, but failed to boot the system.
I followed up by doing a clean install on the disk
Booting stalled, or hung repeatedly: A rapid display of the device probe, bright bold white text is observed (normal) then nothing after. In some instances a
Code:
No Boot Loader
frequent error messages were received ==>
Code:
ATA1: error issuing ATA PACKET command
/boot/loader.conf entry. Then a new error message popped up - A
Code:
gptboot: invalid backup GPT header
This is usually indicative of the disk been previously partitioned with GPT, then re-partitioned to MBR with persistent MBR metadata fragments and GPT table at the end of the disk. Well, there was no MBR on this disk, it was a new disk - except for GPT formatting as an external USB disk and the protected PMBR insertion with the bootcode. However, before the re-install I did perform a gpart delete of all partitions. [???]
I decided to start over de novo, from scratch. I did a
gpart delete i <n> /dev/ada0 of each of the partitions. Then did a gpart destroy -F /dev/ada0I decided on doing a zeroing of the disk with a
dd if=/dev/zero of=/dev/ada0 bs=4MB prior to another reinstallation. On completion gpart show etc. revealed nothing, but on running fdisk /dev/ada0 it showed some disk info in slice 1 (Sysid, start & end data, CHS) and then listed partition 2 - 4 as having <unused> data, which implies that partition data persisted as the count is correct.
I would have expected all of this, partition and boot info to be cleaned out.
What have I missed? How can I get a cleaned disk for installation? to avoid this GPT header problem.
Thanks!