From owner-freebsd-current@FreeBSD.ORG Fri Aug 29 20:53:16 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A52D9106567B for ; Fri, 29 Aug 2008 20:53:16 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 314B28FC16 for ; Fri, 29 Aug 2008 20:53:15 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 366A0A06BA for ; Fri, 29 Aug 2008 22:53:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 274F1A06B7 for ; Fri, 29 Aug 2008 22:53:14 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 11CCAA06AF for ; Fri, 29 Aug 2008 22:53:14 +0200 (CEST) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.1HF110) with ESMTP id 2008082922531325-18254 ; Fri, 29 Aug 2008 22:53:13 +0200 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Fri, 29 Aug 2008 22:53:13 +0200 From: "Alexey Shuvaev" Date: Fri, 29 Aug 2008 22:53:13 +0200 To: freebsd-current@freebsd.org Message-ID: <20080829205313.GA30330@wep4017.physik.uni-wuerzburg.de> MIME-Version: 1.0 Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 08/29/2008 10:53:13 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 08/29/2008 10:53:13 PM, Serialize complete at 08/29/2008 10:53:13 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Subject: Booting from gpt on i386/amd64? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2008 20:53:16 -0000 Hello list! I have tried to install a system with pure gpt partitioning, but haven't managed to boot from it. Partition table: => 34 976773101 ad6 GPT (500.1GB) 34 1571840 1 freebsd-ufs (804.8MB) 1571874 8388608 2 freebsd-swap (4.3GB) 9960482 1024 3 freebsd-boot (524.3KB) 9961506 8388608 4 freebsd-ufs (4.3GB) 18350114 524288 5 freebsd-ufs (268.4MB) 18874402 134217728 6 freebsd-ufs (68.7GB) 153092130 823681005 - free - (421.7GB) All necessary files are already installed (ad6p1 = /, ad6p4 = /var, and so on). The system is 8.0-CURRENT from 8 August (bootable usb flash). Computer is Core2Duo E8400 3.0 GHz, 4 Gb RAM, ICH9, 500 GB SATA. What have been done: gpart bootcode -b /path/to/pmbr ad6 [Successful] gpart bootcode -p /path/to/gptboot -i 3 ad6 gpart: /dev/ad6p3: Invalid argument I have tried to 'newfs /dev/ad6p3' and then mounting it and copying gptboot into 'boot' directory on ad6p3, but looking at the sources it seems to be wrong. Then I tried to 'dd if=gptboot of=/dev/ad6p3 bs=512', but in all cases during the boot the blinking cursor moves 1 line down and computer freezes here. Is it my local problem? What is the correct procedure of preparing gpt-only BIOS-bootable system? Thanks, Alexey.