From owner-freebsd-newbies Thu Mar 25 11:10:50 1999 Delivered-To: freebsd-newbies@freebsd.org Received: from toxic.magnesium.net (toxic.magnesium.net [204.188.6.238]) by hub.freebsd.org (Postfix) with SMTP id 9D0171544D for ; Thu, 25 Mar 1999 11:10:47 -0800 (PST) (envelope-from unfurl@toxic.magnesium.net) Received: (qmail 23827 invoked by uid 1001); 25 Mar 1999 19:10:27 -0000 Date: 25 Mar 1999 11:10:27 -0800 Date: Thu, 25 Mar 1999 11:10:27 -0800 From: Bill Swingle To: greg strockbine Cc: newbies@freebsd.org Subject: Re: 3.1 Install Giving Up - Hello Linux? Message-ID: <19990325111027.A23708@dub.net> References: <36FA8549.CEEE241B@dpc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <36FA8549.CEEE241B@dpc.com>; from greg strockbine on Thu, Mar 25, 1999 at 10:49:45AM -0800 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Your problem lies in the fact taht you installed FreeBSD on the drive when it was the primary. The file system table in FreeBSD thinks that all it's partitions ore on the primary disk. You boot into FreeBSD, it finds the kernel but when it tries to mount it's partitons it can't find them. The solution is to make a fixit floppy and boot off of it so you can get to your partitions. You need to mount the original root partition under a different directory and edit the /etc/fstab file. You will see something like this in it: # Device Mountpoint FStype Options Dump Pass# /dev/wd0s1b none swap sw 0 0 /dev/wd0s1a / ufs rw 1 1 /dev/wd0s1f /usr ufs rw 2 2 /dev/wd0s1e /var ufs rw 2 2 proc /proc procfs rw 0 0 The wd0 on each line indicates that these filesystems are expected to be on the primary disk. Change them all to wd1 (or what ever drive spec it is supposed to be on. This way the kernel will be able to find the root partition (and the other partitions) at boot time. This happened to me a few years ago. It's a little tricky but definatly not impossible to fix. Please let me know if you need any more help. -Bill On Thu, Mar 25, 1999 at 10:49:45AM -0800, greg strockbine wrote: > "Panic can't mount /" > > for the past week I have been trying to install > 3.1 fbsd on a second IDE drive, set up as a > secondary master. This drive is dedicated to > Fbsd. > > the FAQ identifies this problem as a disagreement between > boot block and kernel about how the drives are > numbered. The work around however doesn't work, > "at the boot prompt enter 1:wd(a,2) kernel". I > suspect that solution is for a pre 3.1 release. > > I was successful installing 3.1 on my 2nd drive > when I had the drive installed as a primary slave. > However, I want the drive on its own channel. > When it is connected as a primary slave it sounds > like it never spins down when I'm running win98 > from the 1st drive. > > I tried something goofy, after installing fbsd on > the drive as a primary slave, I moved the drive > to secondary master. Now the system goes into > perpetual reboot. > > I wonder if I would have the same problem with Linux? > I am about to abandon Fbsd. This is my first attempt > at installing a unix on my home pc. At my regular > job I've been using unix for about 15 years, but never > messed around with kernel stuff. > > Any suggestions? > --- > greg strockbine > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message -- -=| Bill Swingle - -=| "I hate quotations." -- Ralph Waldo Emerson -=| FreeBSD - The Power to Serve! - http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message