Invalid signature in boot block:0000. How to fix?

Well, it is obvious I screwed up...again.

First, I was trying to build a second installation of FreeBSD 14.3 on a much larger, 6TB, HDD, on my desktop computer.

I had to tweak the mobo settings to get the bios to recognize the 6TB drive, and in doing so, obviously corrupted the bootblock on my previously-working system, which is installed on a 320 GB drive.

One of the tweaks I tried was to activate "safe boot" or CSM. Undoubtedly, this is what caused the error. I have since turned that back off.

After looking for a solution, I tried the following commands:

gpart bootcode -b /boot/pmbr -p

But that command string is not recognized by gpart.

So, how do I fix the original error message and what other info might folks here need to help me figure out a solution?

BTW, due to some serious problems with Windows 10, I have been forced to have my FreeBSD installation become my daily driver. I like it very much despite there being a rather steep learning curve to all the unfamiliar software.

Ken Gordon
 
I tried was to activate "safe boot" or CSM
Turn off "safe boot". CSM can be on or off, CSM "on" is the traditional BIOS boot, off will probably only allow UEFI boot. Depends a bit on what you used for the disk, GPT + freebsd-boot partition, or an efi partition, or even both.

what other info might folks here need
gpart show of the disk in question might be nice.
 
I will post that asap. And thanks....again.

Oh. And I have turned off both CSM and safeboot, as far as I can tell.

Ken Gordon
 
root0:~ # gpart show ada1
+> 40 625140256 ada1 GPT (298G)
40 532380 1 efi (269M)
532520 1024 2 freebsd-boot (512K)
533544 984 - free - (492K)
534528 4195304 3 freebsd-swap (2.06G)
4728832 610420880 4 freebsd-zfs (296G)
625139712 584 - free - (292K)


Formatting didn't work out as I wished.

Ken Gordon
 
Back
Top