From owner-freebsd-current@FreeBSD.ORG Thu Jan 15 17:29:20 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5D55106566B for ; Thu, 15 Jan 2009 17:29:20 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.156]) by mx1.freebsd.org (Postfix) with ESMTP id 65D678FC14 for ; Thu, 15 Jan 2009 17:29:20 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: by yx-out-1718.google.com with SMTP id 36so486408yxh.0 for ; Thu, 15 Jan 2009 09:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:cc :references:subject:date:mime-version:content-type :content-transfer-encoding:x-priority:x-msmail-priority:x-mailer :x-mimeole; bh=sAHqrfI1NlSQRIq+oPP9HHxyyBgWql5DvijsQi0zNwI=; b=gQ4MLcczAuSIHivol5YAJDDQmNjumKGU3/r4hIY/5/oX27/DGrUjbQoR7DYaFOJJmz igQkQx4jGFDqDbMsRc2KTmBhDmZKTTjTnSD61M55O+ej1dV7xh5Off5GOExgpcVxgFVa tab32PfJJEzD4Ph+U/lwj2zHVGY7m7/Oymb9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:cc:references:subject:date:mime-version :content-type:content-transfer-encoding:x-priority:x-msmail-priority :x-mailer:x-mimeole; b=P9sLH41DGMg4tRbf97VQN2XhnZsuqERvfQXqAGaN9T6Ep1S9ztSPtrqnsS4M8agHMp N6vr6fEoMJJd8ea+7n97N0Q9wI5tt2etm9xUhm1fBYe1dg1g0dmIF6f8R7JjvVBUkCGD XObBkbhPyz2exRSD8WD20+KGkUGeJGVfaH+vA= Received: by 10.90.63.6 with SMTP id l6mr894768aga.98.1232040559695; Thu, 15 Jan 2009 09:29:19 -0800 (PST) Received: from adnote989 (189-46-93-120.dsl.telesp.net.br [189.46.93.120]) by mx.google.com with ESMTPS id 6sm135179agb.17.2009.01.15.09.29.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 15 Jan 2009 09:29:19 -0800 (PST) Message-ID: <4465FEDC68154E66AD569B18D668880F@adnote989> From: "Luiz Otavio O Souza" To: "Marcel Moolenaar" , "Dimitry Andric" , References: <496D0364.2060505@psg.com> <47d0403c0901131335h46e7b151p3768de9a3e2c2027@mail.gmail.com> <085BEE07-BAE5-4A45-A14D-9587987FAA5C@mac.com> <496F44FA.1070004@andric.com> <48C1C477-B7BE-43B0-AC57-9DEB7BF9AA88@mac.com> Date: Thu, 15 Jan 2009 15:29:08 -0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: Randy Bush , George Neville-Neil , Ben Kaduk Subject: Re: GEOM and moving to CURRENT from 7.1 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: Thu, 15 Jan 2009 17:29:21 -0000 > On Jan 15, 2009, at 6:15 AM, Dimitry Andric wrote: > >> On 2009-01-14 17:34, Marcel Moolenaar wrote: >>>> The only way i've found to boot my system again is to compile a new >>>> kernel with GEOM_BSD and GEOM_MBR, instead of GEOM_PART_*. >>> >>> Wipe out your second sector on the disk. You have a >>> stale BSD disklabel that prevents the MBR from being >>> used. >> >> Hmm, in my case I can't do so, since I have a "Dangerously Dedicated" >> FreeBSD MBR partition. > > You don't have a DD installation if your root file system > is mounted on ad0s1a. You have a DD installation if your > root file system is mounted on ad0a. > > In the DD case, the BSD disklabel in the 2nd sector is the > one that's being used. In the non-DD case the BSD disklabel > is in the 2nd sector of the first slice (sector 64 on the > disk in the most common case). > > -- > Marcel Moolenaar > xcllnt@mac.com Yep, This do the magic here: # sysctl kern.geom.debugflags=16 kern.geom.debugflags: 0 -> 16 # dd if=/dev/zero of=/dev/ad0 seek=1 count=1 1+0 records in 1+0 records out 512 bytes transferred in 0.000266 secs (1924269 bytes/sec) Now i'm booting from geom_part_* Thanks Marcel. Luiz