this simple patch will allow booting from 21 sectors/track floppies.
With all things growing at the pace they are, making bootdisks,
rescue disks, and small distributions is getting a lot harder. With
this small patch, I've been able to boot from floppies formatted at
82 tracks, 21 sectors/track, which gives 1722K space. These nearly
300K really make a difference.
The patch was tested and generated against a 2.4.19 kernel.
Cheers,
Pedro A. Aranda Gutiérrez
paaguti@hotmail.com
--------------------------------------
--- arch/i386/boot/bootsect.S.orig 2002-11-02 16:10:06.000000000 +0100
+++ arch/i386/boot/bootsect.S 2002-11-02 16:10:06.000000000 +0100
@@ -407,7 +407,11 @@
ret
sectors: .word 0
-disksizes: .byte 36, 18, 15, 9
+#
+# paaguti@hotmail.com: try 21 sectors too for fd01722 et.al.
+# 02-Nov-2002
+#
+disksizes: .byte 36, 21, 18, 15, 9
msg1: .byte 13, 10
.ascii "Loading"
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/