From owner-freebsd-current Thu Feb 17 9:55:48 2000 Delivered-To: freebsd-current@freebsd.org Received: from pan.ch.intel.com (pan.ch.intel.com [143.182.246.24]) by hub.freebsd.org (Postfix) with ESMTP id 7C28037B6C6; Thu, 17 Feb 2000 09:55:40 -0800 (PST) (envelope-from jreynold@sedona.ch.intel.com) Received: from sedona.intel.com (sedona.ch.intel.com [143.182.218.21]) by pan.ch.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.19 2000/01/29 00:15:43 dmccart Exp $) with ESMTP id KAA07230; Thu, 17 Feb 2000 10:55:39 -0700 (MST) Received: from hip186.ch.intel.com (hip186.ch.intel.com [143.182.225.68]) by sedona.intel.com (8.9.1a/8.9.1/d: sendmail.cf,v 1.10 2000/02/10 21:38:16 steved Exp $) with ESMTP id KAA14101; Thu, 17 Feb 2000 10:55:39 -0700 (MST) X-Envelope-From: jreynold@sedona.ch.intel.com Received: (from jreynold@localhost) by hip186.ch.intel.com (8.9.1a/8.9.1/d: client.m4,v 1.3 1998/09/29 16:36:11 sedayao Exp sedayao $) id MAA13651; Thu, 17 Feb 2000 12:55:39 -0500 (EST) X-Authentication-Warning: hip186.ch.intel.com: jreynold set sender to jreynold@sedona.ch.intel.com using -f From: John Reynolds~ MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14508.13850.725857.718236@hip186.ch.intel.com> Date: Thu, 17 Feb 2000 10:55:38 -0700 (MST) To: freebsd-qa@freebsd.org, freebsd-current@freebsd.org Subject: question regarding root_disk_unit ... X-Mailer: VM 6.75 under Emacs 20.3.11 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello all, Aside from the feedback on the install of 4.0-RC2 I gave earlier this morning, I have a few related questions to things I saw after putting my machine "back the way it was." Before I installed the new EIDE HDD, my machine had two scsi disks on an aic controller. The root partition is da0s2a. I had previously unconnected the scsi disks when installing 4.0-RC2 on the new HDD because I wanted absolutely no chance of hosing anything on this -STABLE box (I'm not quite ready yet to "take the plunge" :). So, after I install 4.0-RC2 and write down everything for my report earlier, I tried to reboot back into 3.4-S. When I rebooted, chose "F5" to get to the scsi disk's boot options, chose "F2" (since I dual-boot with Ebola '98) and it proceeded to boot 3.4-S. However, things got confused and I received a panic, error 22, cannot mount root (2). I remembered seeing messages like this flying in current-digest and 10 minutes of reading the "help" stuff within the boot loader led me to figure out to say "set root_disk_unit=0" at the boot prompt and put that variable in my /boot/loader.conf for future use. No problem. My question is, is root_disk_unit set for somebody in /boot/loader.conf during an install if there is a chance of things being confused (i.e. IDE and scsi disks in a machine such as mine)? I think I remember somebody saying that they were putting that code into either sysinstall or something so that machines with this disk configuration (or wierder ones) would happily boot after exiting sysinstall. My install was flawless simply because I yanked the scsi disks out of the machine before proceeding. Comments? Also, a non-related-to-freebsd question (but I know somebody will have the answer), the root_disk_unit=0 thing fixed me up for booting FreeBSD off my scsi disk, but when I tried to boot Ebola '98 with the F1 option (also located on da0, da0s1) it just "sat there" ... I assume this is confusion on its part because there is a new disk in the system and Ebola '98 is too stupid to do the Right Thing(tm)? Anybody experienced this behavior with a dual-boot system after adding an IDE disk to what was an an all-scsi disk system? Thanks, -Jr ps: Again, kudos to all contributors to 4.0! It looks very, very good. We just need to do some "polishing" around the corners and it'll be as shiny as a new dime! -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | John Reynolds WCCG, CCE, Higher Levels of Abstraction | | Intel Corporation MS: CH6-210 Phone: 480-554-9092 pgr: 602-868-6512 | | jreynold@sedona.ch.intel.com http://www-aec.ch.intel.com/~jreynold/ | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message