Well, I have come across a very strange issue that I can not fix. I hope someone on here can help me! I have been with FreeBSD from before version 1 when it was called 386BSD! I am at a loss on how to get this box back working!
Some very strange reason after a reboot the GPT boot for the SSD on p1 stop booting on the second reboot. The box has been running fine and has been rebooted several time. All drives will fsck the SSD does not have any issues. So I am at a loss at to why this has happen. Never have had this happen to me before and I have been running FreeBSD for a VERY LONG TIME....
When using the cd to restore the boot part of p1 on the ssd did not fix the SSD and it will now just give the _ at boot and sit there forever!
Spending hours and hour with the CD I finally gave up and took a USB drive and loaded the OS on the USB drive so I have a working OS to try and fix the bad OS boot on the SSD.
this is the usb drive:
this is the boot on usb drive:
this is the
This show "gptboot: invalid backup gpt header" on boot for USB Drive....do not understand that...but it does boot
The SSD that refuses too boot is:
SSD:
root@db:~ # diskinfo -v /dev/ada0
SSD Boot part is:
It appears ada0p1 and da2p1 are the same. If one was to dd(1) da2p1 to ada0p1 would this solve the problem and allow the SSD to boot?
Running all the standard commands like
Should solve the problem but it does not fix the BTX Loader... something is stopping the BTX Loader from getting called. I do not understand what is going on and why this is not working. If anyone out there has any idea or has run across the problem with other version of FreeBSD and you have fixed a non booting system to boot via BTX Loader then I would like to know what steps you took to get BTX Loader to get called?
Some very strange reason after a reboot the GPT boot for the SSD on p1 stop booting on the second reboot. The box has been running fine and has been rebooted several time. All drives will fsck the SSD does not have any issues. So I am at a loss at to why this has happen. Never have had this happen to me before and I have been running FreeBSD for a VERY LONG TIME....
When using the cd to restore the boot part of p1 on the ssd did not fix the SSD and it will now just give the _ at boot and sit there forever!
Spending hours and hour with the CD I finally gave up and took a USB drive and loaded the OS on the USB drive so I have a working OS to try and fix the bad OS boot on the SSD.
this is the usb drive:
Code:
root@db:~ # diskinfo -v /dev/da2
/dev/da2
512 # sectorsize
256060514304 # mediasize in bytes (238G)
500118192 # mediasize in sectors
0 # stripesize
0 # stripeoffset
31130 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
5111611150441B970020 # Disk ident.
Not_Zoned # Zone Mode
Code:
root@db:~ # diskinfo -v /dev/da2p1
/dev/da2p1
512 # sectorsize
524288 # mediasize in bytes (512K)
1024 # mediasize in sectors
0 # stripesize
20480 # stripeoffset
0 # Cylinders according to firmware.
255 # Heads according to firmware.
63 # Sectors according to firmware.
5111611150441B970020 # Disk ident.
gpart show
of the USB drive:
Code:
root@db:~ # gpart show /dev/da2
=> 40 500118112 da2 GPT (238G)
40 1024 1 freebsd-boot (512K)
1064 490732544 2 freebsd-ufs (234G)
490733608 8388608 3 freebsd-swap (4.0G)
499122216 995936 - free - (486M)
The SSD that refuses too boot is:
Code:
root@db:~ # gpart show /dev/ada0
=> 40 4000797280 ada0 GPT (1.9T)
40 1024 1 freebsd-boot [bootme] (512K)
1064 3992976376 2 freebsd-ufs [bootme] (1.9T)
3992977440 7819879 3 freebsd-swap (3.7G)
4000797319 1 - free - (512B)
root@db:~ # diskinfo -v /dev/ada0
Code:
/dev/ada0
512 # sectorsize
2048408248320 # mediasize in bytes (1.9T)
4000797360 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
3969045 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
S2KMNWAG701314T # Disk ident.
Not_Zoned # Zone Mode
Code:
root@db:~ # diskinfo -v /dev/ada0p1
/dev/ada0p1
512 # sectorsize
524288 # mediasize in bytes (512K)
1024 # mediasize in sectors
4096 # stripesize
0 # stripeoffset
1 # Cylinders according to firmware.
16 # Heads according to firmware.
63 # Sectors according to firmware.
S2KMNWAG701314T # Disk ident.
Running all the standard commands like
Code:
gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0
gpart set -a active -i 1 ada0
Last edited by a moderator: