From owner-freebsd-questions Thu Feb 3 12:30:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from janus.afccc.af.mil (janus.afccc.af.mil [209.22.30.2]) by builder.freebsd.org (Postfix) with ESMTP id 2C65C41A4 for ; Thu, 3 Feb 2000 12:30:21 -0800 (PST) Received: from janus.afccc.af.mil (root@localhost) by janus.afccc.af.mil with ESMTP id UAA26520; Thu, 3 Feb 2000 20:01:18 GMT Received: from thor.afccc.af.mil (thor.afccc.af.mil [209.22.31.24]) by janus.afccc.af.mil with ESMTP id UAA26516; Thu, 3 Feb 2000 20:01:17 GMT Received: by thor.afccc.af.mil with Internet Mail Service (5.5.2448.0) id ; Thu, 3 Feb 2000 14:57:29 -0500 Message-ID: From: "Havener, Kevin" To: Alejandro Ramirez , freebsd-questions@FreeBSD.ORG Subject: RE: Booting from 2nd disk Date: Thu, 3 Feb 2000 14:57:28 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'll re-verify this when I get home, but I did see this variable set in some file under /boot. Thanks, I'll let you know if it works. Kevin > -----Original Message----- > From: Alejandro Ramirez [SMTP:ales@megared.net.mx] > Sent: Thursday, February 03, 2000 2:39 PM > To: Havener, Kevin; freebsd-questions@FreeBSD.ORG > Subject: RE: Booting from 2nd disk > > Hi, > > Try with "set root_disk_unit=2" without the quotes, and put this in > "/boot/loader.rc" for keep booting the system without typing it again. > > Have Fun... > Ales > > ----- Original Message ----- > From: Havener, Kevin > To: > Sent: Thursday, February 03, 2000 11:10 AM > Subject: Booting from 2nd disk > > > > In The Complete FreeBSD, 3rd ed, p102, Lehey says about the message: > > "panic: cannot mount root" > > > > "You have two IDE disks, each configured as the master on their > respective > > IDE busses ... FreeBSD is on the second disk" Describes my situation > > perfectly. > > > > "To tell the loader how to find it, stop it before booting and enter: > > boot 1:wd(2,a)kernel" This works. > > > > However, he goes on to say: "You don't have to do this every time: once > > you have determined the correct values to use, put the command exactly > as > > you would have typed it in the file /boot.config. FreeBSD uses the > > contents of this file as the default response to the boot: prompt." > Does > > anyone know why this wouldn't work as Lehey describes. > > > > I start my boot from LILO, interrupt it immediately after I select > FreeBSD > > from my available OSes, type the command, except I just type the > > "1:wd(2,a)kernel" without the "boot". It doesn't seem to like the > "boot" > > part. > > I have tried it both ways in the boot.config file with no luck. I've > been > > unable to completely automate the booting of FreeBSD, is there something > > else I'm missing? BTW, I've not had any luck doing this with either > 3.2R > or > > > > 3.4R, maybe the book describes an earlier boot process? > > > > Thanks, > > Kevin > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message