From owner-freebsd-questions Wed Apr 17 22:42:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 266A037B404 for ; Wed, 17 Apr 2002 22:42:41 -0700 (PDT) Received: (qmail 8851 invoked by uid 100); 18 Apr 2002 05:42:40 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15550.23759.751462.189341@guru.mired.org> Date: Thu, 18 Apr 2002 00:42:39 -0500 To: Peter Leftwich Cc: Patrick O'Reilly , mpd , FreeBSD Questions Subject: Re: MBR, mfsroot.flp, handbook, and list fail me, partially... In-Reply-To: <20020411200205.B76458-100000@earl-grey.cloud9.net> References: <200204071557.1177@.perimeter.co.za> <20020411200205.B76458-100000@earl-grey.cloud9.net> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.51 (Python 2.2 on FreeBSD/i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <20020411200205.B76458-100000@earl-grey.cloud9.net>, Peter Leftwich typed: > On Sun, 7 Apr 2002, Patrick O'Reilly wrote: > > Oops - time to eat humble pie! Mike is right. I think I tried 'boot0cfg -B ad0', which installed the FreeBSD boot manager with the boot menu, etc. When reading the man page for 'fdisk' it all looked so similar that I _assumed_ their behaviour was similar! MY BAD! > Can a command similar to 'boot0cfg -B ad0' be issued effectively while > logged in regularly to the box, as root, or must I boot to a floppy? You have to be root. > > I just tried 'fdisk -B ad0', and it has correctly 'demoted' the boot manager to just go ahead and boot the first partition. > Is there any risk of munging an entire system when tossing around fdisk and > bootcfg commands? Do I have to "relabel" slices as bootable in > /stand/sysinstall or just use `fdisk -B [device containing Fbsd OS here]` ? boot0cfg should be save. If you give the wrong argument to fdisk, you can destroy the partition information. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message