From owner-freebsd-bugs Wed Jan 28 16:40:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA01787 for freebsd-bugs-outgoing; Wed, 28 Jan 1998 16:40:05 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA01775; Wed, 28 Jan 1998 16:40:02 -0800 (PST) (envelope-from gnats) Received: from random.tpgi.com.au (random.tpgi.com.au [203.12.160.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA01285 for ; Wed, 28 Jan 1998 16:37:58 -0800 (PST) (envelope-from cagney@tpgi.com.au) Received: (from smtpd@localhost) by random.tpgi.com.au (8.8.4/8.8.6) id LAA26594 for ; Thu, 29 Jan 1998 11:37:47 +1100 (EST) Received: from mel-ppp-065.tpgi.com.au(203.12.163.65), claiming to be "b1.tpgi.com.au" via SMTP by random.tpgi.com.au, id smtpdAAAa006Um; Thu Jan 29 11:37:33 1998 Received: (from cagney@localhost) by b1.tpgi.com.au (8.8.7/8.7.3) id LAA01071; Thu, 29 Jan 1998 11:39:59 +1100 (EST) Message-Id: <199801290039.LAA01071@b1.tpgi.com.au> Date: Thu, 29 Jan 1998 11:39:59 +1100 (EST) From: Andrew Cagney Reply-To: cagney@tpgi.com.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: i386/5594: System not bootable when bad partition type present. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 5594 >Category: i386 >Synopsis: System not bootable when bad partition type present. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 28 16:40:01 PST 1998 >Last-Modified: >Originator: Andrew Cagney >Organization: >Release: FreeBSD 2.2.5-RELEASE i386 >Environment: x486 PC, 2 IDE interfaces 1.1 - 3.5gb disk 1.2 - IDE cdrom 2.1 - 2gb disc Old BIOS - can only see first disk. I don't think that the presence of the CD-ROM and the second disk are relevant to the problem. >Description: Given a hard disk partitioned as: 1: Type DOS-LARGE 2gb 2: Type 81 1gb (not 0x81 or MINIX) 3: 386BSD/FreeBSD 500mb and the FreeBSD pre-boot loader installed into the hard disk bootblock, then the pre-boot loader is not able to select partition 3 for booting. --- Second possibly related problem. Given a hard disk with only partitions 1 & 2 above I somehow (pressing F keys) managed to get partition 1's type changed to BSD from DOS! I've not tried to re-produce this one. >How-To-Repeat: Set up partition table as above. The preboot prompt: F1 . . . dos F2 . . . ?? F3 . . . BSD Default: F1 appears. Press F3, the prompt changes to: F1 . . . dos F2 . . . ?? F3 . . . BSD Default: F? (BSD wasn't booted). Pressing F4 we get: F1 . . . dos F2 . . . ?? F3 . . . BSD Default: F4 (Wierd!) Pressing F1 we get: Windows 95 .... >Fix: The workaround is to set the second partition type to 0x81 as it should have been. >Audit-Trail: >Unformatted: