From owner-freebsd-questions Sat Oct 14 22: 7:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 8543137B503 for ; Sat, 14 Oct 2000 22:07:20 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sat, 14 Oct 2000 22:05:34 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.11.0/8.11.0) id e9F56oM22156; Sat, 14 Oct 2000 22:06:50 -0700 (PDT) (envelope-from cjc) Date: Sat, 14 Oct 2000 22:06:50 -0700 From: "Crist J . Clark" To: Zhiui Zhang Cc: "Peter I. Hansen" , questions@FreeBSD.ORG Subject: Re: boot from floppy Message-ID: <20001014220650.F25121@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <20001014184024.E25121@149.211.6.64.reflexcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from zzhang@cs.binghamton.edu on Sat, Oct 14, 2000 at 10:06:37PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Oct 14, 2000 at 10:06:37PM -0400, Zhiui Zhang wrote: > > > On Sat, 14 Oct 2000, Crist J . Clark wrote: > > > On Sun, Oct 15, 2000 at 02:56:51AM +0200, Peter I. Hansen wrote: > > > Hi > > > > > > I just Installed a freeBSD 4.1 on my slave harddrive, and wonder how I > > > can make a boot floppy for it. > > > I don't want to write in my MBR because i'm totally paranoid (I've > > > messed it up before), and would like to make my OS selection by > > > inserting the right floppy. > > > I'm currently not able to boot my freeBSD. > > > > > > I'm very new tu this OS and need very precise instructions for creating > > > the floppy. > > > I have access to a working Linux, and a win98 system. > > > My freeBSD is installed on the first partition on my slave harddrive. I > > > think its called ad1sd1 or somethong like that. > > > > ITYM, ad1s1. > > > > Start with a floppy with the kern.flp image on it. First, nuke some of > > the stuff on it, > > > > # mount /dev/fd0a /mnt > > # rm /mnt/kernel.gz /mnt/boot/loader.rc > > > > The easiest thing to do is to make the system boot from the second > > drive from the start, > > > > # echo '1:ad(1,1,a)/boot/loader' > /mnt/boot.config > > Should it be: > > # echo '1:ad(1,a)/boot/loader' > /mnt/boot.config ? That will work too. However, in the syntax I used, the second "1" is for the slice. You can specify which slice to boot from starting back in 3.. However, it looks like it is still undocumented. If you only have one FreeBSD slice on a disk, the specification is not needed. If there is more than one, IIRC, the first one boots. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message