From owner-freebsd-current@FreeBSD.ORG Fri Aug 29 21:16:07 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 E1F951065678 for ; Fri, 29 Aug 2008 21:16:07 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id B688C8FC13 for ; Fri, 29 Aug 2008 21:16:07 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1371094rvf.43 for ; Fri, 29 Aug 2008 14:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=jI0YfUxU6SSpzIMWu9rjZxBdQIj43A9qWybX5VTkYKw=; b=OZsyHsmS3ByvJVNGqVdj3u9O+EyaUsheDfENmYGWwlV7s9E+nO9STO3W1t26w7ZziC Dor3ITPGnpADit8acT8mIqRbGlMhL3MeBWLyC4mp6ysonXhEtACtlfxeuAbSdlstVqft Eg75cUuj1U+pif5p2wnoqkOKlmoHt63J9snFw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=t9P7j0XFDgCKCL+tcDAyveFNYwjKzY2bxNWziTvV3Jar40zZQNjFgkySyViK2tAHIx ivFvVFrHjPrryYjkXk3C9tuJFCjKTzWftoqrwwKj7+Sg/RbzsQyYxCnzkAeFVkzRGk7K vxnsrcjGu0lwmDqSi9fG4JK6OtHPlfQvPv9NA= Received: by 10.140.170.12 with SMTP id s12mr1777115rve.101.1220044567132; Fri, 29 Aug 2008 14:16:07 -0700 (PDT) Received: by 10.141.86.19 with HTTP; Fri, 29 Aug 2008 14:16:07 -0700 (PDT) Message-ID: <3a142e750808291416o25b6678bm2b6fa75d0f8e4714@mail.gmail.com> Date: Fri, 29 Aug 2008 23:16:07 +0200 From: "Paul B. Mahol" To: "Alexey Shuvaev" In-Reply-To: <20080829205313.GA30330@wep4017.physik.uni-wuerzburg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080829205313.GA30330@wep4017.physik.uni-wuerzburg.de> Cc: freebsd-current@freebsd.org Subject: Re: 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 21:16:08 -0000 On 8/29/08, Alexey Shuvaev wrote: > 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? > You have all following lines (from gpart manual) in your >> custom << kernel? options GEOM_PART_APM options GEOM_PART_BSD options GEOM_PART_GPT options GEOM_PART_MBR options GEOM_PART_PC98 options GEOM_PART_VTOC8 > Thanks, > Alexey. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >