Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 1999 00:31:09 +0930 (CST)
From:      Gregory Lewis <glewis@dartagnan.maths.adelaide.edu.au>
To:        freebsd-questions@freebsd.org
Subject:   Can't mount root -- new boot loader
Message-ID:  <9904051501.AA25937@dartagnan.maths.adelaide.edu.au>

next in thread | raw e-mail | index | archive | help
Hi all,

The FAQ appears to contain an entry (FAQ49.html) which answers my question
for FreeBSD-2.2.x, however the solutions aren't working with 3.1-RELEASE.

Basically, I'm (temporarily) installing FreeBSD on a small ide drive which
is the secondary slave.  After the install the reboot produced the
"panic: can't mount root" error when rebooting.  The FAQ offers three
solutions for this, but all for 2.2 :(.  

I've tried configuring the boot device with the new bootloader by doing
a "set rootdev=wd3", I also tried a "set ask_rootdev" (or something
similar) but I _didn't_ get asked.  I can't move the disk for various
reasons so that rules out solution 2.  I tried recompiling the kernel
(since I need to recompile it anyway) which seemed to work partially.
It now tries to mount from the correct disk, but the /dev entries aren't
there :(.  I tried cp'ing, ln'ing and MAKEDEV'ing to create all of the
wd0 devices instead of the wd3 devices but without luck (it always reports
the devices aren't configured).

I would be most grateful if someone could suggest a solution :).  I've
spent a couple of long days on this installation without luck so far.
I am happy with the recompile the kernel solution if someone could please
tell me how to reproduce all my /dev/wd3* devices to /dev/wd0* devices once
I've hardwired the disk as wd0 (which is where the bootloader looks for
it).

Ignore this part if you know a solution to the above :).  You might have
noted I said "temporary" installation.  My ultimate goal is to install
FreeBSD on the SCSI disks.  Unfortunately I have a 3950U2B SCSI controller
which isn't supported in 3.1-RELEASE (I need 3.1-STABLE from March 23rd or
better).  The problem is of course since the SCSI disks were the only hard
disks I have no way of commencing the installation when I can't detect
them :(.  I tried (on another machine) cvsup'ing the source and making
new mfsroot and kern floppies, but they don't go into the install program
correctly when I boot (must be doing soemthing stupid :().  I've also tried
a lot of different picobsd configurations, none of which seem to get
everything I need.  I've now hooked up this small spare ide disk and hope
to get things going that way which I think is my best chance if I can just
get it to boot after I install!

-- 
Greg Lewis 				glewis@trc.adelaide.edu.au
Computing Officer			+61 8 8303 3237
Teletraffic Research Centre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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