From owner-freebsd-questions Wed Jul 3 13:27:52 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA22597 for questions-outgoing; Wed, 3 Jul 1996 13:27:52 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA22587 for ; Wed, 3 Jul 1996 13:27:49 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id NAA11136; Wed, 3 Jul 1996 13:25:54 -0700 From: Terry Lambert Message-Id: <199607032025.NAA11136@phaeton.artisoft.com> Subject: Re: Help for FreeBSD review To: cstrati@equalis.it (Carlo Strati) Date: Wed, 3 Jul 1996 13:25:53 -0700 (MST) Cc: questions@freebsd.com In-Reply-To: <2.2.32.19960703133255.0067c31c@equalis.it> from "Carlo Strati" at Jul 3, 96 03:32:55 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I'm a freelance technical editor working for PC Professionale (the italian > version of Ziff Davis' PC Magazine). Well, I'd like to write some articles > about FreeBSD, but I have some installation problems... Cool. The writer part, not the problem part. 8-). > This is the current configuration of my system: > > = First disk (primary EIDE channel, master) = > Quantum FireBall 1280MB: 100% of space Primary DOS Partition (C:) > > = Second disk (secondary EIDE channel, master) = > Quantum FireBall 1280MB: - 800MB Extended DOS Partition > (200MB for D: and 600MB for E:) > - 480MB FreeBSD Partition > (250MB for /, 120MB for /usr and 90MB for swap) > --------------------------------------------------------------------------- > > I've installed FreeBSD from CD-ROM after booting from floppy and selected a > void partition on my second hard drive. When I look at my partitions within > the installation program of FreeBSD I can see: wd0s1 (PRI-DOS), wd2s1 > (EXT-DOS), wd2s2a (root FreeBSD), wd2s3e (/usr FreeBSD) and wd2s4b (swap > FreeBSD). Why do I have my first disk named "wd0" and my second disk named > "wd2"? Where is "wd1"? wd1 is the slave channel on your first controller. > After the installation, the boot manager goes well and let me start with > FreeBSD from my second hard drive, but the system cannot mount the root. Why > the message tell me "changing root device to wd1a even if I selected wd2s2 > for the root? > > May be I can't install FreeBSD onto secondary EIDE channel? Or what else > goes wrong? I've tried to re-install FreeBSD, but nothing changes. I've also > tried to force the boot with "hd(2,a)/kernel" but it hangs... What can I do? > > I'd really like to have FreeBSD on my PC to let the readers know the > advantages of Unix-like systems and FreeBSD itself as a good alternative to > Linux, so please help me as soon as possible. The root device is not expected to be on wd2. You should be able to specify wd2 at the boot prompt; if that doesn't work, you will need to (temporarily) replug your drives so that FreeBSD can come up, and you need to rebuild a kernel. Here is the line from your current kernel (compiled with GENERIC): ============================================================================== config kernel root on wd0 ============================================================================== Here is the LINT description (/sys/i386/conf/LINT): ============================================================================== # # This directive defines a number of things: # - The compiled kernel is to be called `kernel' # - The root filesystem might be on partition wd0a # - Crash dumps will be written to wd0b, if possible. Specifying the # dump device here is not recommended. Use dumpon(8). # config kernel root on wd0 dumps on wd0 ============================================================================== I *think* that you can say "root on wd2", and it will work. If not, you will need to change machdep.c to hard code 0x82, or set up the drive as the slave on the primary controller. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.