Home arrow Journal arrow Repair boot GPT partitions
Repair boot GPT partitions PDF
Tuesday, 07 October 2014
If you somehow damaged boot partition you can repair (restore) boot on GPT partition types by running:

  gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0

where 1 is partition number you boot from.

If you have a MBR partition you can restore boot by running:

  /sbin/gpart bootcode -b /boot/pmbr ada0

Last Updated ( Tuesday, 07 October 2014 )
 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?