From owner-freebsd-fs@FreeBSD.ORG Tue May 19 19:35:37 2009 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BEB4010656B0 for ; Tue, 19 May 2009 19:35:37 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: from mail-gx0-f166.google.com (mail-gx0-f166.google.com [209.85.217.166]) by mx1.freebsd.org (Postfix) with ESMTP id 7ABB78FC13 for ; Tue, 19 May 2009 19:35:37 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: by gxk10 with SMTP id 10so6033gxk.19 for ; Tue, 19 May 2009 12:35:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=YRyf1q744lVlLvxkU36pUhCflUVceSVcecfZ1G8tk2Y=; b=cnxUnamn09//MyRw5gAIFP8M7jCzr/EBwjkQTrqaV+dIKvSPWvEpHVo7ZfG0fhJ9FJ eorN5kdmAoGP4/E8KDsnHDD6PmVL9VxU4P9scY5DUVzt+WRZu3gCkVIYfMN78WGJKDlb AYJY4a6BtFm3wx9ijsD78xjWsyCma7gHZT+S4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=uWT4sG9bS60/Gg/Ydx0vePSOiyXtaslO2gpm6tbiUBKCUcLgveJscQBuJhcQ4KI97Y Cu91b5vhjc/4mptVtXydeT8cOFmAYj7cuwHrlxoEvyB5bxB/6hxWC7iagvCe0chdyyO8 /tsUcEn3vKbtvhxYIVdWyB7KnI8bz9BJV/3pc= MIME-Version: 1.0 Received: by 10.150.151.7 with SMTP id y7mr875468ybd.33.1242760221608; Tue, 19 May 2009 12:10:21 -0700 (PDT) In-Reply-To: <9e20d71e0905190705re842e2fl3af1220a658ca8ae@mail.gmail.com> References: <9e20d71e0905190705re842e2fl3af1220a658ca8ae@mail.gmail.com> Date: Tue, 19 May 2009 21:10:21 +0200 Message-ID: <90a5caac0905191210p7cdd57b5p5c1eb78727484784@mail.gmail.com> From: Lucius Windschuh To: Artis Caune , fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: booting from GPT X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 19:35:38 -0000 2009/5/19 Artis Caune : > Hi, > > I'm playing with GPT on amd64/stable7 (r192123). > > My workstation (no-name, Core2duo), IBM T60 laptop and IBM x3650/x3550 > servers are booting fine, but Intel Entry Server (SE7230NH1-E) can not > boot: > =A0 =A0"No bootable device -- insert boot disk and press any key" > > kernel is compiled with: > =A0# Default partitioning schemes > -options =A0 =A0 =A0 =A0GEOM_BSD > -options =A0 =A0 =A0 =A0GEOM_MBR > +options =A0 =A0 =A0 =A0GEOM_PART_BSD > +options =A0 =A0 =A0 =A0GEOM_PART_MBR > > and bootable install usb is created with: > > # dev=3D"da0" > # gpart create -s GPT ${dev} > # gpart bootcode -b /boot/pmbr ${dev} > # gpart add -b 34 -s 128 -t freebsd-boot ${dev} > # gpart bootcode -p /boot/gptboot -i 1 ${dev} > # gpart add -b 162 -s $(gpart show ${dev} |grep 'free -' |awk '{print > $2}') -t freebsd-ufs ${dev} > # newfs -n ${dev}p2 > > > Maybe box is too old? I ran into a similar problem with an Atom board here. The problem was here that the BIOS sees a MBR partition table (the protective MBR with 1 GPT partition) without a booblable partition. If you mark this GPT partition to bootable inside the protective MBR with sfdisk on ${dev} or something similar, it should work. Lucius Lucius