Date: Fri, 6 Apr 2001 15:20:03 -0700 (PDT) From: Doug Ambrisko <ambrisko@whistle.com> To: freebsd-bugs@FreeBSD.org Subject: Re: i386/26382: FreeBSD Bootable CDROM won't boot on IBM PC Desktops Message-ID: <200104062220.f36MK3361969@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/26382; it has been noted by GNATS.
From: Doug Ambrisko <ambrisko@whistle.com>
To: freebsd-gnats-submit@FreeBSD.org, ambrisko@whistle.com
Cc:
Subject: Re: i386/26382: FreeBSD Bootable CDROM won't boot on IBM PC Desktops
Date: Fri, 06 Apr 2001 15:00:55 -0700
Here is the updated structure in boot1.s to fix FreeBSD CDROM booting on
ThinkPads 770Z, 600E.
/* From OpenBSD biosboot.S with tuned values from Doug Ambrisko so
ThinkPads can boot from CDROM. I think the critical part
is setting the media type.
*/
.org 0x03, 0x00
.asciz "FreeBSD"
/* BPB */
.org 0x0b, 0x00
bpb: .word 512 /* sector size */
.byte 1 /* sectors/cluster */
.word 1 /* reserved sectors */
.byte 2 /* # of FAT */
.word 224 /* root entries */
.word 2880 /* small sectors */
.byte 0xf0 /* media type (fd) */
.word 144 /* sectors/fat */
.word 18 /* sectors per track */
.word 2 /* # of heads */
/* EBPB */
.org 0x1c, 0x00
ebpb: .long 16 /* hidden sectors */
.long 0 /* large sectors */
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104062220.f36MK3361969>
