![](https://seccdn.libravatar.org/avatar/fcddee211ea9dd5e95f4be2d0c89273f.jpg?s=120&d=mm&r=g)
On 2021-06-15 3:12 a.m., Carlos E. R. wrote:
On 14/06/2021 23.17, Felix Miata wrote:
James Knott composed on 2021-06-14 15:39 (UTC-0400):
Felix Miata wrote:
I have BOOTSECT.BAK in sda1, dated Feb 10. I suspect this may be it.
That's her.
Now to figure out how to put it back. It's been about 25 years since I did anything with boot sectors and that was only in a class room. I suppose dd could be used. The file is 8K.
8k is 16 sectors. What I expected would be only 446 bytes (or less). Were it that, this would fix it:
dd if=/boot/BOOTSECT.BAK of=/dev/sda
Warning! That may overwrite the partition table. It is:
dd if=backup of=/dev/sda bs=446 count=1
There is a trick for an MBR to be used with Windows. From my archive:
https://nwrickert2.wordpress.com/2015/06/15/generic-boot-code/
Seek this post in the mail list archive:
Date: Thu, 21 Apr 2016 08:42:55 -0500 From: Neil Rickert <nrickert@ameritech.net> Reply-To: OS-en <opensuse@opensuse.org> To: opensuse@opensuse.org Subject: Re: [opensuse] A small nuisance I'm seeing with double boot of Windows 10 and openSUSE 13.1. Message-ID: <5718D8DF.1050702@ameritech.net>
This method works perfectly.
That link appears to be broken. I get a server error.