| Summary: | FreeBSD Bootable CDROM won't boot on IBM PC Desktops | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | ambrisko <ambrisko> | ||||
| Component: | i386 | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Unspecified | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
ambrisko
2001-04-06 17:30:01 UTC
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 */
State Changed From-To: open->closed Committed, thanks! |