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

[debian-knoppix] small patch to knx-hdinstall



For those of us with many linux partitions 
on the hard disk, I have attached a small
patch to knx-hdinstall.  

knx-hdinstall currently chokes on the partition 
structure given below, when a dialog box overflows.

Conrad

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

[root@viszla conrad]# /sbin/fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
   /dev/hda1   *         1      1530  12289693+  83  Linux
   /dev/hda2          1531      3060  12289725   83  Linux
   /dev/hda3          3061      4590  12289725   83  Linux
   /dev/hda4          4591      9729  41279017+   5  Extended
   /dev/hda5          4591      4845   2048256   82  Linux swap
   /dev/hda6          4846      4871    208813+  83  Linux
   /dev/hda7          4872      5381   4096543+  83  Linux
   /dev/hda8          5382      5891   4096543+  83  Linux
   /dev/hda9          5892      6401   4096543+  83  Linux
   /dev/hda10         6402      6911   4096543+  83  Linux
   /dev/hda11         6912      7166   2048256   83  Linux
   /dev/hda12         7167      7421   2048256   83  Linux
   /dev/hda13         7422      7676   2048256   83  Linux
   /dev/hda14         7677      7931   2048256   83  Linux
   /dev/hda15         7932      8186   2048256   83  Linux
   /dev/hda16         8187      9729  12394116   83  Linux
   
--- knx-hdinstall.orig	2003-01-02 05:04:51.000000000 +0100
+++ knx-hdinstall.new	2003-02-17 14:25:34.000000000 +0100
@@ -603,7 +603,7 @@
 M1="Choose the root partition:"
 ;;
 esac
-$DIA --backtitle "$BT" --title "$T1" --radiolist "$M1" 16 60 $NUMEXT2 \
+$DIA --backtitle "$BT" --title "$T1" --radiolist "$M1" 20 60 $NUMEXT2 \
   $EXT2PART 2> $TMP
 FSCHOICE="`cat $TMP`"
 case "$ORIG_LANGUAGE" in

Reply to: