Strange booting problem
Chris Murphy
lists at colorremedies.com
Tue Jun 30 23:42:54 UTC 2015
On Tue, Jun 30, 2015 at 5:38 PM, jd1008 <jd1008 at gmail.com> wrote:
>
>
> On 06/30/2015 05:33 PM, Chris Murphy wrote:
>>
>> On Tue, Jun 30, 2015 at 5:26 PM, Gordon Messmer
>> <gordon.messmer at gmail.com> wrote:
>>
>>> So you could dd 512 bytes of /dev/zero to the drive, or use "wipefs -a
>>> /dev/sdX", then use parted to "mktable gpt" and set up partitions.
>>
>> That will not work. Parted replaces the PMBR in such a case. So does
>> gdisk.
>>
>> wipefs -a after parted or gdisk will cause both PMBR and GPT primary
>> and backup headers to be invalidated. So to wipe or invalidate the
>> PMBR has to be done with dd.
>>
>>
> OK, so after I partition with parted, I clobber the first 512 byte sector
> with zeros, then the drive will retain partitioning info?
GPT partitioning info, yes. If you're using an OS that doesn't know
what GPT is (?) then you have just two options remaining which is BIOS
boot order or the one time boot menu.
--
Chris Murphy
More information about the users
mailing list