From owner-freebsd-questions Tue Jul 20 18:21:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.prod.itd.earthlink.net [207.217.121.85]) by hub.freebsd.org (Postfix) with ESMTP id 82A6A14BE5 for ; Tue, 20 Jul 1999 18:21:55 -0700 (PDT) (envelope-from hubbardj@earthlink.net) Received: from tellico (1Cust108.tnt2.montgomery.al.da.uu.net [208.254.156.108]) by gull.prod.itd.earthlink.net (8.9.3/8.9.3) with SMTP id SAA13141 for ; Tue, 20 Jul 1999 18:19:36 -0700 (PDT) From: "Thatcher Hubbard" To: "'FreeBSD questions'" Subject: RE: Disappointment with FreeBSD :-( Date: Tue, 20 Jul 1999 20:12:08 -0500 Message-ID: <000801bed316$0dfd5500$0500a8c0@tellico> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This isn't a bug per se, and it may be something that's been gone over here on the mailing list before, I've mailed a couple people the solution that worked for me. BTW, wd1 is actually your second drive, wd0 is the primary master. The question is, do you have a primary slave? If you do, the root is probably on wd2s1a. Anyway, I'll include the relevant text of a message I posted here awhile ago. Give it a try. >> Hah. I booted of the fixit floppy because of this for two months. I finally dug the >>following (a /boot/loader.rc file) out of the mailing list archives after a couple hours >>of searching: >>load /kernel >>load -t userconfig_script /boot/kernel.conf >>set num_ide_disks=1 >>set root_device_unit=1 >>autoboot 5 So edit your /boot/loader.rc, but don't copy verbatim what I have. If you only have two HD's, and they're both IDE, change the 'set num_ide_disks' line to 2. The 'root_device_unit' should stay at one in that case if it's on your second drive, because it starts its numbering at zero. > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Bond, Jeffery > Sent: Tuesday, July 20, 1999 8:58 AM > To: 'alan17@wizard.net' > Cc: 'FreeBSD questions' > Subject: RE: Disappointment with FreeBSD > > > Hi Alan, > > I reckon it's a bug in FreeBSD also because I had the same > problem ages ago. > I believe there is some file in the root directory that you can edit, but > that didn't work for me. I hate to say it, but Redhat 6 is far easier to > install in my opinion. > > Try moving your secondary master onto the primary controller as a > slave and > see if that works. The way I got round it was to boot it using 'wd2a' (or > similar) at the Boot: prompt, and then recompiling the kernel > with the root > fs hard coded to wd2a. I'm no expert at this, maybe Doug White can help??? > > By the way, if you can mount and read the FreeBSD root fs using > linux, what > does your /etc/fstab say? Does that say that root is on wd2a? > > Jeff > > > -----Original Message----- > > From: alan17@wizard.net [SMTP:alan17@wizard.net] > > Sent: Tuesday, July 20, 1999 2:49 PM > > To: Jeff.Bond@nectech.co.uk > > Subject: Disappointment with FreeBSD > > > > Hi, Jeff, Now I can't even get my mail to questions@freebsd.org! > > > > Could you forward this on please? Thanks, Alan > > > > I am still having problems with booting FreeBSD, despite much > > anguish and trial. > > > > As I previously reported: When I turn on my machine, and enter "bsd" > > at the LILO prompt, BSD certainly seems to be booting. The screen > > messages start with "Loading bsd . . . " and continue on, using a lot > > of terminology that a 'umble Linuxian like meself cannot fathom. But at > > the end of the process, here are the lines that appear on the screen: > > changing root device to wd1s1a > > changing root device to wd1a > > error 6: panic: cannot mount root (2) > > syncing disks . . . done > > > > and then I am offered the chance to reboot. > > > > It seems _extremely_ strange to me that the BSD kernel, installed on > > my secondary IDE master, at the beginning of the 6.3 gig hard drive, > > thinks that its root partition is on the primary master. Indeed I would > > call this a bug in the booting procedure. > > > > I also find it passing strange that there are AFAIK no boot/root floppy > > pairs for BSD. We've had these in Linux for aeons. > > > > I have just upgraded my Linux kernel to 2.2.10, and I've compiled in > > support for just about every file system that is offered, including > > UFS. And I can, from Linux, mount the first partition(=slice?) of > > my FreeBSD installation, and read/write files there. > > > > So I have two questions: > > > > 1. Can anyone suggest an addendum to my lilo.conf that would enable the > > "stupid" FreeBSD boot procedure to find where the '/' partition is? > > [ Here is the relevant part of my lilo.conf: > > # BSD bootable partition config begins > > other = /dev/hdc1 > > label = bsd > > table = /dev/hdc > > loader = /boot/chain.b > > # BSD bootable partition config ends > > ] > > > > 2. Is there any thing that I can write/delete to, e.g. the stuff in my > > FreeBSD /boot directory that will help the FreeBSD boot properly? I > > can, as stated, read/write in the FreeBSD directories because I can > > mount and read/write the UFS files. > > > > Do the Free BSD developers read this E-list? Has any developer any > > remedy to suggest? > > > > TIA for help! > > > > Continuing to struggle . . > > > > Alan > > > > -- > > Alan McConnell If it can't be abused, it's not freedom. > > Pixel Analysis Do not destroy what you cannot create.(L. Szilard) > > alan17@wizard.net What a giftless bastard! (Tchaikovsky, > about Brahms) > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message