From owner-freebsd-stable@FreeBSD.ORG Sun Apr 1 23:48:34 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7801F106564A for ; Sun, 1 Apr 2012 23:48:34 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 01F178FC08 for ; Sun, 1 Apr 2012 23:48:33 +0000 (UTC) Received: by wern13 with SMTP id n13so1797733wer.13 for ; Sun, 01 Apr 2012 16:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Xd4Nkf7/WZJDT4pH/DQbzyZIA0h+gTvPmI37xOHOC5M=; b=N8TogY9NXTMbukCByYJLhqb4y6f6UzcZWFE6GibhBwdTbQdTfnBnKUMmfy0xu8Jt7m By+CU6bOh1PpcRpYxr29qITrJCtwJOFh8X+g1O2r8BaB54+UKIh1Oyi8CEBP+73Ly3Dd kNlsEU2mhyDgVGAU6N/W/ZybKbuku0VvunMegYHK9ILPV2cJd9qULuR4y8khJygumqvE ucRkA/7dcF+0BjlK2Dey5Hp+Zj+c6cfGOPggcPQwI1w6RwncLqykHMENMYaaT2m8zhZl oDVqrTICy46LeUtaAGF9dm8oEuGuqTRiMBfWijX1y00VWoaUE9IzZZTrpC6rRNxOoHox nrBA== MIME-Version: 1.0 Received: by 10.180.107.132 with SMTP id hc4mr18858017wib.21.1333324112373; Sun, 01 Apr 2012 16:48:32 -0700 (PDT) Received: by 10.223.54.207 with HTTP; Sun, 1 Apr 2012 16:48:32 -0700 (PDT) In-Reply-To: <20120401231107.62577f2f.torfinn.ingolfsen@broadpark.no> References: <20120324172603.ee066e06.torfinn.ingolfsen@getmail.no> <20120401231107.62577f2f.torfinn.ingolfsen@broadpark.no> Date: Sun, 1 Apr 2012 16:48:32 -0700 Message-ID: From: Kevin Oberman To: Torfinn Ingolfsen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD 9.0 - GPT boot problems? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2012 23:48:34 -0000 On Sun, Apr 1, 2012 at 2:11 PM, Torfinn Ingolfsen wrote: > On Sat, 24 Mar 2012 17:26:03 +0100 > Torfinn Ingolfsen 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