From owner-freebsd-fs@FreeBSD.ORG Wed May 20 09:25:41 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 B3233106566C for ; Wed, 20 May 2009 09:25:41 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by mx1.freebsd.org (Postfix) with ESMTP id 409658FC1F for ; Wed, 20 May 2009 09:25:40 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: by fk-out-0910.google.com with SMTP id f33so159448fkf.11 for ; Wed, 20 May 2009 02:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Mk+88Eej3TsvRPA0P4uPtZPhF9Nah/QpD8DFltmwxd8=; b=hlQl25BdU8kSU7iuMN42ZILTnwqLjxeec7MUsKIuu7khUUaTgYkWizlkV6Gic4DNSs wY2UET5tIagQjMlk/GmbpyMRSCfB0kawAc7ums8IUcYg/iem2LKjXn1EANYn5wRqywsu j7ypWlfYvDBrJ/mmVOxeaoWEaHuE/Jz60MBos= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SWEUAVPB05yYqilGX1IpMRGSdo50IgN1ZFstu+sEz27/gMpxCTA/+IGHrf7K6HGGyP qTRXRe/gXf+ygxR7e6LGpbrIy+kudEW6TSerwTFNMpf2WxcDU3BMQDIsadAB4KnU9ftt Jt7ONlgXTjWW940whPxEMbfhM/aeHEFg6Yn+4= MIME-Version: 1.0 Received: by 10.102.247.10 with SMTP id u10mr534110muh.76.1242809551165; Wed, 20 May 2009 01:52:31 -0700 (PDT) In-Reply-To: <90a5caac0905191210p7cdd57b5p5c1eb78727484784@mail.gmail.com> References: <9e20d71e0905190705re842e2fl3af1220a658ca8ae@mail.gmail.com> <90a5caac0905191210p7cdd57b5p5c1eb78727484784@mail.gmail.com> Date: Wed, 20 May 2009 11:52:31 +0300 Message-ID: <9e20d71e0905200152v5aa1d440of914795751e4b6c3@mail.gmail.com> From: Artis Caune To: Lucius Windschuh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: fs@freebsd.org 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: Wed, 20 May 2009 09:25:41 -0000 > 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. Thanks Lucius, # echo "a 1" |fdisk -qf- ${dev} did the trick. I also found PR for this: http://www.freebsd.org/cgi/query-pr.cgi?pr=133493 Actually, there is a gpart command to set partition active, but it works only for MBR: # gpart set -a active -i 1 ${dev} -- Artis Caune Everything should be made as simple as possible, but not simpler.