Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 1998 11:39:59 +1100 (EST)
From:      Andrew Cagney <cagney@tpgi.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   i386/5594: System not bootable when bad partition type present.
Message-ID:  <199801290039.LAA01071@b1.tpgi.com.au>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801290039.LAA01071>