[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What all does grub2-install copy?
From: |
Jordan Uggla |
Subject: |
Re: What all does grub2-install copy? |
Date: |
Tue, 13 Mar 2012 02:26:38 -0700 |
On Tue, Mar 13, 2012 at 2:08 AM, Michael D. Setzer II
<address@hidden> wrote:
>
> Did a test on a system.
> Copied the mbr sector.
> blanked out the first 1M of disk.
> Copied back the mbr sector
> did a grub2-install.
> copied the first 1M.
>
> Mbr being the first sector with core.img after that.
> Core.img went from byte 200 to 7D9C, but other code continued
> to F9FF before it got to the all zeroed out code.
As of grub 1.99, grub uses reed-solomon error correction,
http://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction for
its embedding area, so that when DRM from Windows software like Adobe
Photoshop (Flexnet) overwrites sectors of the boot track, grub can
still recover and continue booting.
--
Jordan Uggla (Jordan_U on irc.freenode.net)