From owner-freebsd-questions Wed Aug 19 08:34:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA02291 for freebsd-questions-outgoing; Wed, 19 Aug 1998 08:34:03 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.techno-link.com (ns.techno-link.com [212.36.0.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA02248 for ; Wed, 19 Aug 1998 08:33:40 -0700 (PDT) (envelope-from plamendp@ns.techno-link.com) Received: from techno-link.com (pool2-var.techno-link.com [212.36.1.193]) by mail.techno-link.com (8.8.8/8.8.602) with ESMTP id SAA30050 for ; Wed, 19 Aug 1998 18:32:09 +0300 Posted-Date: Wed, 19 Aug 1998 18:32:09 +0300 Message-ID: <35DAF1B4.8706B931@techno-link.com> Date: Wed, 19 Aug 1998 18:39:32 +0300 From: Plamen Petkov Organization: ILKOM Ltd X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.ORG" Subject: Active partition problem - bootin in FreeBSD set it to "non-bootable" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: The data for partition 4 is: 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