|
From: | Pascal Hambourg |
Subject: | Re: grub-uninstall |
Date: | Wed, 9 Nov 2022 08:47:16 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 |
Le 09/11/2022 à 05:20, Andrei Borzenkov a écrit :
On 08.11.2022 23:12, Pascal Hambourg wrote:Then you can wipe the boot image in the first 440 bytes of the MBR and preserve the partition table with dd if=/dev/zero of=/dev/sda count=1 bs=440This leaves final 0x55aa signature which may fool BIOS into believing there still *is* boot code.
Isn't the signature required for the partition table to be taken into account ?
IMO it is not worth wiping the core image sectors. They are useless without the boot image.Yes, but it is still better to get "no boot device found" from BIOS than blank screen because boot code attempted to load some garbage and silently crashed or looped.
What does it have to do with wiping the core image or not ?
[Prev in Thread] | Current Thread | [Next in Thread] |