Skip to contentSkip to conversation

Patch: allow booting from 21 sectors/track (1722K) floppies

PATCH Pedro A ARANDA 1 participant 1 message Nov 2, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

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
[email protected]

--------------------------------------

i386/boot/bootsect.S 2002-11-02 16:10:06.000000000 +0100 renamed from i386/boot/bootsect.S.orig 2002-11-02 16:10:06.000000000 +0100 +0 -0
@@ -407,7 +407,11 @@
       ret
 

sectors: .word 0
-disksizes: .byte 36, 18, 15, 9
+#
+# [email protected]: 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