From nobody Wed Oct 28 04:13:48 1998
Received: (from nobody@localhost)
by hub.freebsd.org (8.8.8/8.8.8) id EAA24125;
Wed, 28 Oct 1998 04:13:48 -0800 (PST)
(envelope-from nobody)
Message-Id: <199810281213.EAA24125@hub.freebsd.org>
Date: Wed, 28 Oct 1998 04:13:48 -0800 (PST)
From: digriz@mailcity.com
To: freebsd-gnats-submit@freebsd.org
Subject: BootEasy/FBSDBOOT not recognizing FreeBSD partition
X-Send-Pr-Version: www-1.0
>Number: 8476
>Category: kern
>Synopsis: BootEasy/FBSDBOOT not recognizing FreeBSD partition
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: rnordier
>State: closed
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 28 04:20:00 PST 1998
>Closed-Date: Tue Dec 22 11:29:32 PST 1998
>Last-Modified: Tue Dec 22 11:34:59 PST 1998
>Originator: J DG
>Release: 3.0
>Organization:
>Environment:
N/A
>Description:
Install/bootflop works great. I got the BotEasy Mgr installed on the first hard drive, and BSD installed on the fourth.
System Setup:
IDE0: Master 2 GB Quantum (Fat/NT)
Slave 500 MB Maxtor (Linux: Slack)
IDE1: Master 500 MB Maxtor (Linux: SuSE)
Slave 4 GB Quantum (FAT/BSD)
[OK, I have my own reasons for keeping the drives the way they are]
The CD-ROM is on a WD SCSI adapter that Linux and BSD do not support; I do the install by copying the files to partition 1 of IDE1Slave, then creating a boot floppy.
Everything goes OK, but on reboot after the install the BootEasy Manager locks up when I press F2 (F1 being Dos/95)
So I figure, alright, try the FBSDBOOT program...it works great for launching the install kernel, but gives me a baddisklabelCannotFind/kernel
message when I run it by itself. I have no other kernel with which to load (can GCC linux build a kernel for this, or do you need an assembler? If it can be done
outside of BSD, with what tools and how do I obtain a live file system/unpacked source to do the compile?). My next try was with the dual-floppy boot method,
trying to guess which menmonic would find my partition (actual location: /dev/wd3s3c for /, 3d for swap, and 3e for usr; 3c is toggled bootable).
All guesses proved futile.
>How-To-Repeat:
With 4 IDE drives on a machine, install BSD on the last drive (partition 3 to be exact).
>Fix:
None yet, but I'm working on it. I could force a generic boot manager (LILO, syscomander, the SCO loader) to boot the correct partition. I could compile a kernel and boot it manually with FBSDBOOT. Other than that, I may be out of options...
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->rnordier
Responsible-Changed-By: rnordier
Responsible-Changed-When: Wed Oct 28 15:43:36 PST 1998
Responsible-Changed-Why:
I'll look at this.
From: Daniel Lang
To: freebsd-gnats-submit@freebsd.org, digriz@mailcity.com,
rnordier@freebsd.org
Cc: Subject: Re: kern/8476: BootEasy/FBSDBOOT not recognizing FreeBSD partition
Date: Thu, 10 Dec 1998 13:31:12 +0100
Hi,
I encountered the same problem, but first I thought it's a
Windows Problem (like Windows clobbering the FreeBSD fdisk partition).
Here is the exact description of my version, which is very similar
to the original submitter's, apart that my system configuration
ist really different.
System:
ASUS-P2B-S board with adaptec AIC7890 (?) on board Ultra2
1 IBM Ultra2 HDD (8.5GB)
...
I'm using my disk the following way;
/dev/da0s1 (Winsux95 OSR2.1 ?, C)
/dev/da0s2 (D)
/dev/da0s3 FreeBSD-3.0-RELEASE
Up to now, I've installed 3.0-R 3 times, but here's how the problem appeard.
* Installation runs fine, everything seems to work,
the booteasy works, as well (at the moment)
* I can boot the installed system via booteasy, work with it
e.g. I built a custom kernel, configured X11, added some ports
* it's also possible to boot Win95, play around, boot freebsd, work
etc, at least for the first couple of times.
Then suddenly, FreeBSD won't boot from booteasy, this happened usually
overnight, while the machine was down, but not the first time, when the
machine was powered off. It just doesn't work, while it worked few hours
before. If that happened, Win95 can _still_ be booted, just FreeBSD
can't. Booting from floppy then reveals the same error message:
"bad disk label on /dev/da0s3" (or similar), I even tried to write
the freebsd-partition-label again, using the same layout as before,
but it didn't work, it appeared, that /dev/da0s3 was ruined.
First Idea was, somehow win95 crashed it, by accidently using it
as it's swap partition, but I've been told not even s.th. perverted
like W95 could do that.
I tried to install it 3 times, always trying something different
like using other fdisk partitions, even putting a dummy-fdisk
partition in between, marking it as a linux-partition, so windows
could savely run havoc on it, and the first 3 days it seemed to
work now, but didn't. 2 days ago, same problem again.
Now my last guess was a serious hardware problem, which should
be unlikely, since win95 is not affected at all by this problem.
It's like the freebsd-disklabel magically vanishes from the disk
*sigh*
Well, since a problem with the same symptoms has occured in the
problem database, I hope there is a chance to fix it.
Regards,
Daniel Lang
--
IRCnet: Mr-Spock - Work is for people, who don't surf -
RL: Daniel Lang * dl@leo.org * +49 89 8540017 * http://www.leo.org/~dl/
From: Robert Nordier
To: dl@leo.org, digriz@mailcity.com
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/8476: BootEasy/FBSDBOOT not recognizing FreeBSD partition
Date: Thu, 10 Dec 1998 22:44:56 +0200 (SAT)
Daniel Lang wrote:
> The following reply was made to PR kern/8476; it has been noted by GNATS.
>
> From: Daniel Lang
> To: freebsd-gnats-submit@freebsd.org, digriz@mailcity.com,
> rnordier@freebsd.org
> Cc: Subject: Re: kern/8476: BootEasy/FBSDBOOT not recognizing FreeBSD partition
> Date: Thu, 10 Dec 1998 13:31:12 +0100
>
> Hi,
>
> I encountered the same problem, but first I thought it's a
> Windows Problem (like Windows clobbering the FreeBSD fdisk partition).
>
A good first step towards resolving this might be to try the latest
version of the new boot manager (boot0) in place of booteasy.
There is a binary, with FreeBSD installation utility, at:
http://www.freebsd.org/~rnordier/boot0inst-1.0.2.tar.gz
We presently have two different, but functionally equivalent,
implementations of both the boot manager and the boot blocks: so
swapping these, just as one might swap out hardware components,
may be the quickest way to pinpoint a possible cause.
--
Robert Nordier
State-Changed-From-To: open->closed
State-Changed-By: rnordier
State-Changed-When: Tue Dec 22 11:29:32 PST 1998
State-Changed-Why:
The originally-reported problem is apparently due to misconfiguration.
The disk label corruption reported by Daniel Lang was reported off-line
to have been caused by a Windows game.
>Unformatted: