[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What to backup before installing GRUB on a GPT disk?
From: |
Jordan Uggla |
Subject: |
Re: What to backup before installing GRUB on a GPT disk? |
Date: |
Tue, 27 May 2014 13:00:35 -0700 |
On Fri, May 23, 2014 at 1:15 AM, Ariszló <address@hidden> wrote:
> What does GRUB overwrite on a GPT disk?
>
> On MBR disks, backing up the first 440 bytes would allow to later restore
> the original MBR:
>
> sudo dd if=/dev/sda of=mbr bs=440 count=1 #backup
> sudo dd if=mbr of=/dev/sda #restore
>
> What should one backup on a GPT disk before installing GRUB?
Generally nothing. grub-install won't touch the partition table, and
there has never been a guarantee (even with an msdos label) that
restoring the first 440 bytes to the MBR would actually result in your
old bootloader working again.
What is your end goal?
--
Jordan Uggla (Jordan_U on irc.freenode.net)