Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 1998 18:39:32 +0300
From:      Plamen Petkov <plamendp@techno-link.com>
To:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Active partition problem - bootin in FreeBSD set it to "non-bootable"
Message-ID:  <35DAF1B4.8706B931@techno-link.com>

next in thread | raw e-mail | index | archive | help
I'll try to be short:

Every time I reboot (BootEasy, FSBD on prim. slave disk;   DOS/W95 on
prim. master disk) somehow  the Partition Flag  of the prim. master disk
is set to  ZERO (instead of 80), i.e.  partition is NOT bootable.

I boot DOS - using fdisk I set it "Active" and reset the computer.
BootEasy presents its menu and I choose  F5 --->>> FreeBSD.
FBSD boots fine. Everythink is (seems) OK.
I run fdisk  and here is the output:

phome# fdisk
******* Working on device /dev/rwd0 *******
parameters extracted from in-core disklabel are:
cylinders=782 heads=128 sectors/track=63 (8064 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=782 heads=128 sectors/track=63 (8064 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 6,(Primary 'big' DOS (> 32MB))
    start 63, size 2048193 (1000 Meg), flag 0
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 253/ sector 63/ head 127
The data for partition 2 is:
sysid 5,(Extended DOS)
    start 2048256, size 4249728 (2075 Meg), flag 0
        beg: cyl 254/ sector 1/ head 0;
        end: cyl 780/ sector 63/ head 127
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
phome#



You see the "flag 0" ???

Ok, now I run fdisk -a wd0 and set the parftition Number 1 as active
(writing the result!! not -t option etc.).
Now reboot.

Successfull!!
I am in FBSD.
Fdisk again -->>> flag is zero again!
fdisk -a wd0  again.
Reboot
Success..
..
etc..

In a word, If I do not set  the partition [active] with  FreeBSD [or
DOS] fdisk -a wd0, computer says at a booting process:

NOT FOUND ANY ACTIVE PARTITION!!

Nothing to do with FBSD but  after  DOS-fdisk-set-active-partition I
boot Win95  as many times as I wish and there is no need to "fdisk"
again.

As far I boot in FBSD, the partition flag is set to 0.

Arrrrgh....



FreeBSD 2.2.6-R
GA 686BX   Pentium II 266MHZ
64 MB
2 x 3GB IDE
S3  3D Virge 2MB

--
! REMOVE THE *SPAM*
---
Plamen Petkov
plamendp*SPAM*@techno-link.com
ICQ: 2214327




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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35DAF1B4.8706B931>