>Number: 135918
>Category: bin
>Synopsis: [patch] Make BootEasy compatible with NT Drive Serial Number by default
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 22 14:30:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Eugene Grosbein
>Release: FreeBSD 7-STABLE
>Organization:
Svyaz-Service JSC
>Environment:
System: FreeBSD/Windows multiboot system
>Description:
Release Notes for 7.2 say:
"The boot(8) now supports 4-byte volume ID that certain versions of Windows.
put into the MBR",
http://www.freebsd.org/releases/7.2R/relnotes-detailed.html#BOOT
However, this support is not compiled by default and
7.2 still destroys Serial Number that Windows Vista and later
needs unconditionally (Windows XP needs it when its boot disk
is not C:), so let's enable it. It works perfectly.
>How-To-Repeat:
Make backup of MBR when your system has Windows Vista or later
installed in one of slices then install BootEasy. Your Windows
won't boot until MBR contents restored.
>Fix:
Index: src/sys/boot/i386/boot0/Makefile
===================================================================
RCS file: /home/ncvs/src/sys/boot/i386/boot0/Makefile,v
retrieving revision 1.32
diff -u -r1.32 Makefile
--- src/sys/boot/i386/boot0/Makefile 25 Apr 2005 17:41:35 -0000 1.32
+++ src/sys/boot/i386/boot0/Makefile 22 Jun 2009 13:51:23 -0000
@@ -52,6 +52,7 @@
CFLAGS+=-DFLAGS=${BOOT_BOOT0_FLAGS} \
-DTICKS=${BOOT_BOOT0_TICKS} \
+ -DVOLUME_SERIAL \
-DCOMSPEED=${BOOT_BOOT0_COMCONSOLE_SPEED}
LDFLAGS=-N -e start -Ttext ${BOOT_BOOT0_ORG} -Wl,-S,--oformat,binary
Eugene Grosbein
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"