From owner-freebsd-bugs Fri Apr 6 15:20:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5114037B43C for ; Fri, 6 Apr 2001 15:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f36MK3361969; Fri, 6 Apr 2001 15:20:03 -0700 (PDT) (envelope-from gnats) Date: Fri, 6 Apr 2001 15:20:03 -0700 (PDT) Message-Id: <200104062220.f36MK3361969@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Doug Ambrisko Subject: Re: i386/26382: FreeBSD Bootable CDROM won't boot on IBM PC Desktops Reply-To: Doug Ambrisko Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/26382; it has been noted by GNATS. From: Doug Ambrisko 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