Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2012 16:48:32 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD 9.0 - GPT boot problems?
Message-ID:  <CAN6yY1vbr8pKhJXhZYTCmw_u1atxZTyzog82Q237CoTcAvuHkg@mail.gmail.com>
In-Reply-To: <20120401231107.62577f2f.torfinn.ingolfsen@broadpark.no>
References:  <20120324172603.ee066e06.torfinn.ingolfsen@getmail.no> <20120401231107.62577f2f.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 1, 2012 at 2:11 PM, Torfinn Ingolfsen
<torfinn.ingolfsen@broadpark.no> wrote:
> On Sat, 24 Mar 2012 17:26:03 +0100
> Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no> wrote:
>
>> Hi,
>> I just installed FreeBSD 9.0-release / amd64 on a new machine (Acer Aspi=
re X1470).
>> I installed from a usb memory stick (the default amd64 image), which I b=
ooted 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 ma=
chine), 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 thi=
s 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 av=
ailable), still no dice.
>
> Just an update:
> today I connected another disk to the machine (I used a sata-to-usb adapt=
er, but I think that doesn't matter), this disk is MBR-partitioned,
> and the machine boots from this with no problems using the boot menu (via=
 F12).
> root@kg-vm2# gpart show -p da1
> =3D> =A0 =A0 =A0 63 =A0117210177 =A0 =A0da1 =A0MBR =A0(55G)
> =A0 =A0 =A0 =A0 63 =A0 29350692 =A0da1s1 =A0freebsd =A0(14G)
> =A0 29350755 =A0 29360079 =A0da1s2 =A0freebsd =A0[active] =A0(14G)
> =A0 58710834 =A0 58499406 =A0 =A0 =A0 =A0 - free - =A0(27G)
>
> The non-working disk looks like this:
> root@kg-vm2# gpart show -p ada0
> =3D> =A0 =A0 =A0 34 =A0250069613 =A0 =A0ada0 =A0GPT =A0(119G)
> =A0 =A0 =A0 =A0 34 =A0 =A0 =A0 =A0128 =A0ada0p1 =A0freebsd-boot =A0(64k)
> =A0 =A0 =A0 =A0162 =A0119537664 =A0ada0p2 =A0freebsd-ufs =A0(57G)
> =A0119537826 =A0 =A08388608 =A0ada0p3 =A0freebsd-swap =A0(4.0G)
> =A0127926434 =A0121634816 =A0ada0p4 =A0freebsd-ufs =A0(58G)
> =A0249561250 =A0 =A0 508397 =A0 =A0 =A0 =A0 =A0- free - =A0(248M)

Just for reference, my GPT disk boots fine on my ThinkPad with the followin=
g:
> gpart show /dev/ada1
=3D>        34  1465149101  ada1  GPT  (698G)
          34           6        - free -  (3.0k)
          40         128     1  freebsd-boot  (64k)
         168     2097152     2  freebsd-ufs  (1.0G)
     2097320     8388608     3  freebsd-swap  (4.0G)
    10485928    10217472     4  freebsd-ufs  (4.9G)
    20703400     1048576     5  freebsd-ufs  (512M)
    21751976   124539712     6  freebsd-ufs  (59G)
   146291688    31134928        - free -  (14G)
   177426616  1287722512     7  freebsd-ufs  (614G)
  1465149128           7        - free -  (3.5k)

The disk has native 4K sectors, so the partitions are aligned
accordingly. That is why the free chunk at the beginning. the second
free chunk is due to my error which I'll get around to adding to p6
some day. I use traditional partitions (root, tmp, var, bin, and home)
and the home partition is GELI encrypted. (I I had hardware crypto
support, I'd encrypt everything.)

The disk does have the protective MBR installed, though it's not
really part of the GPT. (See the "GUID Partition Table" article on
Wikipedia for more information.)
--=20
R. Kevin Oberman, Network Engineer
E-mail: kob6558@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vbr8pKhJXhZYTCmw_u1atxZTyzog82Q237CoTcAvuHkg>