NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/51230: 'gpt biosboot' needs to mark protective mbr partition as 'active'
The following reply was made to PR bin/51230; it has been noted by GNATS.
From: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost
Subject: Re: bin/51230: 'gpt biosboot' needs to mark protective mbr
partition as 'active'
Date: Fri, 10 Jun 2016 11:55:38 +0200
On Fri, 10 Jun 2016 09:50:00 +0000 (UTC), John Nemeth wrote:
> } I noted, btw, that 'gpt restore' will restore the gpt from a backup,=
=3D20
> } but it will not restore the protecting mbr. Since that can lead to=3D=
20
> } nasty surprises later, it probably should.
> =20
> Actually, it will restore the "protecting mbr", and it will
> automatically adjust it if you are restoring to a disk of a different
> size. 'gpt backup' produces a text file, so you can look at it to
> see what is saved. However, you should not edit it.
Sorry, the above was meant to say "gpt recover".
I just retried with -current gpt, and while it will restore a=20
dd(8)ed-over primary gpt from the secondary copy, it will not restore=20
the PMBR.
Cheerio,
hauke
--=20
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut f=FCr Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344
Home |
Main Index |
Thread Index |
Old Index