From owner-freebsd-questions@FreeBSD.ORG Thu Oct 15 16:07:17 2009 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 8B15A106568D for ; Thu, 15 Oct 2009 16:07:17 +0000 (UTC) (envelope-from af.gourmet@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.freebsd.org (Postfix) with ESMTP id 64C048FC24 for ; Thu, 15 Oct 2009 16:07:17 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=UTF-8 Received: from [192.168.0.51] ([96.21.103.185]) by VL-MH-MR002.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KRK00GN6CS40G70@VL-MH-MR002.ip.videotron.ca> for freebsd-questions@freebsd.org; Thu, 15 Oct 2009 12:07:16 -0400 (EDT) Message-id: <4AD748B5.8020504@videotron.ca> Date: Thu, 15 Oct 2009 12:07:17 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: freebsd-questions@freebsd.org, Polytropon References: <4AD74198.9010301@videotron.ca> In-reply-to: <4AD74198.9010301@videotron.ca> Cc: Subject: Re: booting from wrong disk 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: Thu, 15 Oct 2009 16:07:17 -0000 PJ wrote: > While trying to learn and understand the dump-retore process, I messed > up the ad4s1a partition and could not boot. To fix it I restored a > dumpfile of ad12s1a which is, for all intents and purposes, the same as > ad4s1a. I then boot from ad4 and surprise, surprise... > #df shows we have been booted from ad12 and all partitions are ad12.... > Booting from ad12s1a gives exactly the same results. > So, how can I get ad4s1a to boot from ad4? > I imagine it is something in the boot files... but how to fix that? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I see from the boot process that this should fix it... # fdisk -B -b /boot/boot0 ad4 but... how do I get this onto the right disk? If I boot from ad4 or ad12 and change the mbr, then it will be the ad12 that will be booting from ad4 and vice versa... or have I got it wrong? But in the end, I suppose it really doesn't matter, or does it?