[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MBR
From: |
Andrei Borzenkov |
Subject: |
Re: MBR |
Date: |
Thu, 29 Oct 2020 08:55:52 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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, 2020/10/28
- Re: MBR,
Andrei Borzenkov <=
- Prev by Date:
MBR
- Previous by thread:
MBR
- Index(es):