28.10.2020 23:17, steve finkel via Support requests for the GRand
Unified Bootloader пишет:
> At times I have removed GRUB from the MBR by overwriting the first 446
> bytes of the MBR using
> 
> |dd if=/dev/zero of=/dev/sdX bs=446 count=1|
> 
> |My understanding is removing just the first 446 bytes will leave the
> partition table, 64 bytes, and the signature, 2 bytes, in tact.
> |
> 
> |However, I see in the GRUB manual that the boot.img file is 512 bytes.
> |
> 
> |Wouldn't this boot.img file overwrite the partition table?|
> 
> |
> |
> 

grub-setup copies current partition table from disk into this image
before writing it back.

  • MBR steve finkel via Support requests for the GRand Unified Bootloader
    • Re... Andrei Borzenkov

Reply via email to