From 0ef31ec4ac3f4140cb92892bfba42dd8b05b4292 Mon Sep 17 00:00:00 2001 From: hpa Date: Thu, 30 Jan 2003 20:36:05 +0000 Subject: [PATCH] Give us at least a prayer to work with nonpartitioned hard disk devices. --- NEWS | 2 ++ ldlinux.asm | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 30c4c3d..1fa75bb 100644 --- a/NEWS +++ b/NEWS @@ -17,6 +17,8 @@ Changes in 2.01: * Build SYSLINUX into a small library for encapsulation into other programs. * SYSLINUX: Make installer work with "owner" in /etc/fstab. + * SYSLINUX: Fix issue with working on nonpartitioned hard disk + devices. THIS CONFIGURATION IS NOT RECOMMENDED. Changes in 2.00: * ALL: Add support for "COM32" (32-bit COMBOOT) images. diff --git a/ldlinux.asm b/ldlinux.asm index 6de92f1..7306e69 100644 --- a/ldlinux.asm +++ b/ldlinux.asm @@ -336,9 +336,8 @@ floppy: ; Note: di points to beyond the end of PartInfo ; harddisk: -; This sanity check doesn't fit anymore... -; test byte [di-16],7Fh ; Sanity check: "active flag" should -; jnz no_partition ; be 00 or 80 + test byte [di-16],7Fh ; Sanity check: "active flag" should + jnz no_partition ; be 00 or 80 mov eax,[di-8] ; Partition offset (dword) mov [bsHidden],eax no_partition: -- 2.7.4