From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 16:56:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 405E3106564A for ; Mon, 10 Jan 2011 16:56:09 +0000 (UTC) (envelope-from markand@live.fr) Received: from blu0-omc4-s11.blu0.hotmail.com (blu0-omc4-s11.blu0.hotmail.com [65.55.111.150]) by mx1.freebsd.org (Postfix) with ESMTP id 06A018FC1E for ; Mon, 10 Jan 2011 16:56:08 +0000 (UTC) Received: from BLU0-SMTP153 ([65.55.111.136]) by blu0-omc4-s11.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 10 Jan 2011 08:56:08 -0800 X-Originating-IP: [84.102.21.65] X-Originating-Email: [markand@live.fr] Message-ID: Received: from Melon.malikania.fr ([84.102.21.65]) by BLU0-SMTP153.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 10 Jan 2011 08:56:06 -0800 Date: Mon, 10 Jan 2011 17:55:53 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101212 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Jan 2011 16:56:07.0099 (UTC) FILETIME=[462588B0:01CBB0E7] X-Mailman-Approved-At: Mon, 10 Jan 2011 17:08:20 +0000 Subject: gpart bootcode manually X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2011 16:56:09 -0000 Hello, Because I wanted to crypt a /home partition, I tried to make my partition and slice using gpart in the fixit environment. There is the partition I've made : Fixit # gpart show ad0 => 63 625142385 ad0 MBR (298G) 63 625142385 1 freebsd [active] (298G) Fixit # gpart show ad0s1 => 0 625142385 ad0s1 BSD (298G) 0 63 - free - (32K) 63 1048576 1 freebsd-ufs (512M) 1048639 4194304 2 freebsd-swap (2.0G) 5242943 524288 4 freebsd-ufs (256M) 5767231 524288 5 freebsd-ufs (256M) 6291519 20971520 6 freebsd-ufs (10G) 27263039 597879346 7 freebsd-ufs (285G) To install the boot1, I tried this : gpart bootcode -b /mnt2/boot/boot1 ad2s1 gpart bootcode -b /mnt2/boot/boot1 ad2 But nothing happens, there is not the / spinning, just a blinking underscore. What did I wrong ? Cheers, -- David Demelier