Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 1996 13:25:53 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        cstrati@equalis.it (Carlo Strati)
Cc:        questions@freebsd.com
Subject:   Re: Help for FreeBSD review
Message-ID:  <199607032025.NAA11136@phaeton.artisoft.com>
In-Reply-To: <2.2.32.19960703133255.0067c31c@equalis.it> from "Carlo Strati" at Jul 3, 96 03:32:55 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607032025.NAA11136>