Hi,
this is a crosspost from the GhostBSD forum, I didn't get an answer there.
I had a working GhostBSD installation, but suddenly I'm getting "Missing boot loader".
So I put the current ISO of GhostBSD MATE 64-bit on an USB stick and booted from it.
My disk configuration:
It is a rather old computer with no UEFI, so I think the partition bios-boot is right, although I read everywhere that there should be a freebsd-boot partition.
Then I did:
But it didn't change anything. I still can't boot my system.
So where is my boot loader gone? And how do I get it back?
this is a crosspost from the GhostBSD forum, I didn't get an answer there.
I had a working GhostBSD installation, but suddenly I'm getting "Missing boot loader".
So I put the current ISO of GhostBSD MATE 64-bit on an USB stick and booted from it.
My disk configuration:
Code:
ghostbsd@ghostbsd:~ % gpart show
=> 34 976773101 ada0 GPT (466G)
34 6 - free - (3.0K)
40 2048 1 bios-boot (1.0M)
2088 960043008 2 freebsd-zfs (458G)
960045096 16723968 3 freebsd-swap (8.0G)
976769064 4071 - free - (2.0M)
=> 34 7814037101 ada1 GPT (3.6T)
34 2014 - free - (1.0M)
2048 7814033408 1 freebsd-ufs (3.6T)
7814035456 1679 - free - (840K)
=> 40 5860533088 ada2 GPT (2.7T)
40 5860533080 1 freebsd-zfs (2.7T)
5860533120 8 - free - (4.0K)
=> 64 30282881 da0 GPT (14G)
64 1552 1 ms-basic-data (776K)
1616 5760 2 efi (2.8M)
7376 4903580 3 ms-basic-data (2.3G)
4910956 25371989 - free - (12G)
=> 63 5697 da0p2 MBR (2.8M)
63 5697 - free - (2.8M)
=> 64 30282881 iso9660/GhostBSD GPT (14G)
64 1552 1 ms-basic-data (776K)
1616 5760 2 efi (2.8M)
7376 4903580 3 ms-basic-data (2.3G)
4910956 25371989 - free - (12G)
=> 63 5697 gpt/EFI%20boot%20partition MBR (2.8M)
63 5697 - free - (2.8M)
=> 63 5697 iso9660/GhostBSDp2 MBR (2.8M)
63 5697 - free - (2.8M)
Then I did:
Code:
ghostbsd@ghostbsd:~ % sudo gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0
partcode written to ada0p1
bootcode written to ada0
So where is my boot loader gone? And how do I get it back?