From owner-freebsd-questions@FreeBSD.ORG Thu Oct 15 18:42:23 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 610B11065672 for ; Thu, 15 Oct 2009 18:42:23 +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 3A1058FC0C for ; Thu, 15 Oct 2009 18:42:23 +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-MR001.ip.videotron.ca (Sun Java(tm) System Messaging Server 6.3-4.01 (built Aug 3 2007; 32bit)) with ESMTP id <0KRK0014JJYM26O0@VL-MH-MR001.ip.videotron.ca> for freebsd-questions@freebsd.org; Thu, 15 Oct 2009 14:42:22 -0400 (EDT) Message-id: <4AD76D10.2040408@videotron.ca> Date: Thu, 15 Oct 2009 14:42:24 -0400 From: PJ User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: Polytropon References: <4AD74198.9010301@videotron.ca> <4AD74A14.9010403@videotron.ca> <20091015200626.c1dee87b.freebsd@edvax.de> In-reply-to: <20091015200626.c1dee87b.freebsd@edvax.de> Cc: freebsd-questions@freebsd.org 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 18:42:23 -0000 Polytropon wrote: > On Thu, 15 Oct 2009 12:13:08 -0400, PJ wrote: > >> add another thought... >> >> If I change the mbr on the ad12 then mount ad4s1a to /mnt copy >> /mnt/boot/boot0 to /boot/boot0.tmp and then copy the modified >> /boot/boot0 (for ad4) back to /mnt/boot/ and then umount ad4s1a --- I >> should be ok, OK? Have I got it? >> > > Why not just remove the "active" marking from the disk you do > not want to be booted from? Furthermore, I'm not sure if the > desired operation can be performed UFS-file-wise... > > The easiest way really is to use sysinstall. It's the lazy man's > swiss army knife. :-) > > > Yeh, but even with a swill army knife you can cut yourself. ;-) But sysinstall will overwrite all the info on the disk and that defeats the whole purpose of the exercise. What complicates matters is the use of GAG as boot manager. If I select to boot from ad4 and the boot is from ad12, then there is something wrong. It indicates to me that the mbr is loading the wrong disk. I noticed this when trying to boot a disk on my other computer... it was looking for ad12 when there was no ad12 installed. I found that strange, but then I recalled thatManolis Klagias had warned about something of the sort. Now, I'll have to sort that out. And you think you're lazy... this is back-braking work for me... :-D