FreeBSD 9.0 - GPT boot problems?

Torfinn Ingolfsen torfinn.ingolfsen at getmail.no
Sat Mar 24 17:26:12 UTC 2012


Hi,
I just installed FreeBSD 9.0-release / amd64 on a new machine (Acer Aspire X1470).
I installed from a usb memory stick (the default amd64 image), which I booted by pressing "F12" and selecting it from the boot menu on the machine.
I installed on a SSD (which replaced the hard drive originally in the machine), using the default scheme for 9.0 (GPT).
The installation was painless (many thanks to all who made it that way), but when I try to boot the machine from the SSD afterwards, I just get this message from the BIOS:
"ERROR: No boot disk has been detected or the disk has failed."
I tried selecting the SSD from the boot menu (via F12) instead (it shows up as "EFI: M4-CT128M4SSD2"), but got the same message.
I upgraded the BIOS from version P01-A3 to version P01-A4 (the newest available), still no dice.

If I use the usb stick I installed from, I can select the boot device, and actually boot from it, so there doesn't seem to be anything wrong with the SSD.
I tried:
kg-vm2# gpart bootcode -b /boot/pmbr -p /boot/gptboot -i 1 ada0
bootcode written to ada0

in case there was something wrong with the bootcode, but I still get the message "ERROR: No boot disk has been detected or the disk has failed."
gpart shows this:
root at kg-vm2# gpart show ada0
=>       34  250069613  ada0  GPT  (119G)
         34        128     1  freebsd-boot  (64k)
        162  119537664     2  freebsd-ufs  (57G)
  119537826    8388608     3  freebsd-swap  (4.0G)
  127926434  121634816     4  freebsd-ufs  (58G)
  249561250     508397        - free -  (248M)
and root is on ada0p2, with swap on ada0p3:
root at kg-vm2# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ada0p2     56G    2.3G     49G     4%    /
devfs          1.0k    1.0k      0B   100%    /dev
root at kg-vm2# swapinfo -h
Device          1K-blocks     Used    Avail Capacity
/dev/ada0p3       4194304       0B     4.0G     0%

Has anyone seen anything like this before?
Any hints on what I can do?

References:
1) http://sites.google.com/site/tingox/aspire_x1470_fbsd
-- 
Torfinn Ingolfsen <torfinn.ingolfsen at getmail.no>


More information about the freebsd-stable mailing list