Date: Mon, 9 Jul 2012 18:49:16 -0600 (MDT) From: Warren Block <wblock@wonkity.com> To: dweimer <dweimer@dweimer.net> Cc: freebsd-questions@freebsd.org Subject: Re: Invalid GPT backup header Message-ID: <alpine.BSF.2.00.1207091842440.63114@wonkity.com> In-Reply-To: <764fd164b77f32257135e1ab4f4fb501@dweimer.net> References: <764fd164b77f32257135e1ab4f4fb501@dweimer.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 9 Jul 2012, dweimer wrote: > I have had a few virtual machine installations come up with "gptboot: invalid > GPT backup header" error message while booting. (some immediately on first > boot after install) They still boot fine, and run without problems, but I > would like to find a way to fix the problem. Does anyone know how you can > write a new GPT backup header to the partition table. See the gpart recover command covered in the RECOVERING section in gpart(8). > I have even gone to the extent of adding a second virtual disk, using > gpart to create a partition table and then add new partitions and > setup bootstrap then use cpio to copy data over and switched the drive > SCSI IDs within the virtual machines configuration to boot from the > second drive instead. Still same error message when booting off the > new drive. I did however leave out the size option when creating the > last UFS partition so it may have filled to the end and overwrote the > backup GPT table. gpart will not overwrite the backup GPT with a partition. Other stuff may not be GPT-aware.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1207091842440.63114>