DragonFly BSD
DragonFly submit List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Update boot0 to recognize NTFS partitions


From: "Bill Marquette" <bill.marquette@xxxxxxxxx>
Date: Sun, 25 Jun 2006 17:35:49 -0500

This is more or less straight from revision 1.14 of boot0.S in FreeBSD
by des@.  Swaps out FAT12 for NTFS in the boot0 prompt so you can see
DOS instead of ?? - I'm guessing more people use NTFS vs FAT12 these
days ;)

Diff at http://www.pfsense.org/~billm/dfly/recognize_ntfs_boot0.S.diff
if the inline diff get's hosed.

--Bill

Index: sys/boot/i386/boot0/boot0.S
===================================================================
RCS file: /home/dcvs/src/sys/boot/i386/boot0/boot0.S,v
retrieving revision 1.7
diff -u -r1.7 boot0.S
--- sys/boot/i386/boot0/boot0.S	30 Nov 2005 08:25:07 -0000	1.7
+++ sys/boot/i386/boot0/boot0.S	25 Jun 2006 17:04:16 -0000
@@ -454,7 +454,7 @@
		/*
		 * These values indicate bootable types we know the names of.
		 */
-		.byte 0x1, 0x4, 0x6, 0xb, 0xc, 0xe, 0x83
+		.byte 0x1, 0x6, 0x7, 0xb, 0xc, 0xe, 0x83
		.byte 0x9f, 0xa5, 0xa6, 0xa9

		/*
@@ -464,7 +464,7 @@
		.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_dos-.			# Windows



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]