Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 1999 08:25:18 -0600
From:      "Thomas T. Veldhouse" <veldy@visi.com>
To:        "FreeBSD-Current" <freebsd-current@FreeBSD.ORG>
Subject:   Bootblock and Disklabel problem!!!  READ THIS!!!
Message-ID:  <001201be38b7$38917520$236319ac@w142844.carlson.com>

next in thread | raw e-mail | index | archive | help
I did a CVSUP on 12/29/98 and rebuilt world.  Everything works great.
Yesterday, I followed some instructions to put the new bootblocks and an ELF
kernel on my system and things went bad.  I have two IDE drives with
Windows98 (8 Gigs) on my first drive and my second drive has two slices, the
first is FreeBSD (4 Gigs) and the second is a DOS staging partition (2
Gigs).  Here is what I did.

    I put the following in my /boot/boot.conf(ig) file:

        set currdev = disk2s1a
        load /kernel
        boot

    I then compiled and installed a new ELF kernel.  That worked fine.

    I then ran disklabel:
        disklabel -B -b /boot/boot1 -s /boot/boot2 wd2 (according to
http://www.freebsd.org/~rnordier/boot.txt)

    I rebooted.  I was not happy to see the boot loader on my primary drive,
but it was now there.  When I tried to boot FreeBSD, it found the kernel and
booted it, but the Kernel tried to mount the root partion on the first
drive, which is wrong.  Why is that?  Worse, I found that I now had a
FreeBSD partition and a DOS partition on my first drive also (obviously it
had the old Windows98 information in it and not a true filesystem).  It
appears to me that the partition information from my second disk was copied
to my first disk.  Worse yet, my Windows 98 system became totally
unbootable, even after I reset the partition information (using Linux
bootdisks).  My system was hosed (except for FreeBSD thank God!!!).  Today I
will have to rebuild my Windows 98 system again.

    Was all of this a known problem and fixed in recent days (since 12/29)
or have I stumbled on something unique here?

Tom Veldhouse
veldy@visi.com





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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001201be38b7$38917520$236319ac>