发信人: huanghwh(五云人)
整理人: sungang(2003-04-02 19:54:26), 站内信件
|
【 在 -pl 的大作中提到:】
:【 在 zhcharles 的大作中提到:】
::【 在 -pl 的大作中提到:】
:::我安装了FBSD后,
:::我的XP被识别成 F1 ??
:::请问如何弄好它。
:
:......
只能改代码/sys/boot/i386/boot0/boot0.s
把0xb 该为0x7(0x7 是ntfs), 再把
os_dos: .ascii "DO"; .byte 'S'|0x80
改为
os_dos: .ascii "XP"; .byte ' '|0x80
不过意义不大
#
.byte 0x1, 0x4, 0x6, 0xb, 0xc, 0xe, 0x63, 0x83
.byte 0x9f, 0xa5, 0xa6, 0xa9
#
# These are offsets that match the known names above and point to the strings
# that will be printed.
#
.byte os_misc-. # Unknown
.byte os_dos-. # DOS
.byte os_dos-. # DOS
.byte os_dos-. # DOS
.byte os_dos-. # Windows
.byte os_dos-. # Windows
.byte os_dos-. # Windows
.byte os_unix-. # UNIX
.byte os_linux-. # Linux
.byte os_bsd-. # BSD/OS
.byte os_freebsd-. # FreeBSD
.byte os_bsd-. # OpenBSD
.byte os_bsd-. # NetBSD
#
# And here are the strings themselves. 0x80 or'd into a byte indicates
# the end of the string. (not so great for Russians but...)
#
os_misc: .ascii "?"; .byte '?'|0x80
os_dos: .ascii "DO"; .byte 'S'|0x80
os_unix: .ascii "UNI"; .byte 'X'|0x80
os_linux: .ascii "Linu"; .byte 'x'|0x80
os_freebsd: .ascii "Free"
os_bsd: .ascii "BS"; .byte 'D'|0x80
---- Power OS is FreeBSD.
Network is computing.
Java is network language.
Web is Application. |
|