From owner-freebsd-questions Mon Apr 5 8: 3:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dartagnan.maths.adelaide.edu.au (dartagnan.maths.adelaide.edu.au [129.127.44.41]) by hub.freebsd.org (Postfix) with SMTP id DC38E14D21 for ; Mon, 5 Apr 1999 08:03:07 -0700 (PDT) (envelope-from glewis@dartagnan.maths.adelaide.edu.au) Received: by dartagnan.maths.adelaide.edu.au (5.64+1.3.1+0.50/UA-5.19) id AA25937; Tue, 6 Apr 1999 00:31:09 +0930 From: Gregory Lewis Message-Id: <9904051501.AA25937@dartagnan.maths.adelaide.edu.au> Subject: Can't mount root -- new boot loader To: freebsd-questions@freebsd.org Date: Tue, 6 Apr 1999 00:31:09 +0930 (CST) X-Mailer: ELM [version 2.4ME+ PL32 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 2407 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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