Difference between revisions of "Bugs/5.1.1CD"


From Knoppix Documentation Wiki
Jump to: navigation, search
m (Reverted edit of HylF66, changed back to last version by Johntobey)
Line 36: Line 36:
 
Here is a fix:
 
Here is a fix:
 
   --- /usr/sbin/rebuildfstab.orig      2007-06-26 09:16:54.972750170 -0400
 
   --- /usr/sbin/rebuildfstab.orig      2007-06-26 09:16:54.972750170 -0400
      /usr/sbin/rebuildfstab    2007-06-26 09:17:42.095435539 -0400
+
  +++ /usr/sbin/rebuildfstab    2007-06-26 09:17:42.095435539 -0400
   @@ -75,2 75,3 @@
+
   @@ -75,2 +75,3 @@
 
   count=0
 
   count=0
  scanpartitions | \
+
  +scanpartitions | \
 
   while read device mountpoint fstype relax; do
 
   while read device mountpoint fstype relax; do
   @@ -98,5 99,3 @@
+
   @@ -98,5 +99,3 @@
 
       echo "$device $mountpoint $fstype $options 0 0"; }
 
       echo "$device $mountpoint $fstype $options 0 0"; }
 
   -done >>"$TMP" <<EOT
 
   -done >>"$TMP" <<EOT
 
   -$(scanpartitions)
 
   -$(scanpartitions)
 
   -EOT
 
   -EOT
  done >>"$TMP"
+
  +done >>"$TMP"
 
--[[User:Johntobey|Johntobey]] 13:32, 26 Jun 2007 (UTC)
 
--[[User:Johntobey|Johntobey]] 13:32, 26 Jun 2007 (UTC)

Revision as of 01:28, 9 July 2007

1) There are two problems with option label dos for loading FreeDos balder.img. There is no memdisk file in /boot/isolinux folder and the isolinux.cfg sintax is wrong

The correct syntax is

LABEL dos

KERNEL /boot/isolinux/memdisk

APPEND initrd=/boot/isolinux/balder.img

2) KNOPPIX incorrectly guesses that my serial mouse uses the "Microsoft" protocol, with the result that my mouse pointer hops around almost at random. It works correctly if I edit /etc/X11/xorg.conf replacing the mouse protocol "Microsoft" with "MouseSystems" or "auto". Since the "auto" protocol would presumably work with a "Microsoft" mouse, too, that would seem to be a better default for KNOPPIX to use.

(see discussion by clicking "discussion" above)

Knoppix 5.1.1's knoppix-autoconfig script has an error with regard to "default" myconfig. In the case where knoppix has been remastered with knoppix.sh and configs.tbz in the CD root (/) the test for knoppix.sh is wrong. Line 1310 should be changed from: MYCONFIG="$(ls -1d /cdrom/KNOPPIX/[Kk][Nn][Oo][Pp][Pp][Ii][Xx].[Ss][Hh] 2>/dev/null)" To:

 MYCONFIG="$(ls -1d /KNOPPIX/[Kk][Nn][Oo][Pp][Pp][Ii][Xx].[Ss][Hh] 2>/dev/null)"
 This will allow a default myconfig (e.g. if the myconfig= argument is not given) 
 to detect the presence of the knoppix.sh script.

--Hanumant 16:04, 14 Jun 2007 (UTC)

Knoppix 5.1.1's knoppix-autoconfig script has an omission with regard to setting the timezone. The script set /etc/local time around line 557. It should also update the file /etc/timezone:

 rm -f /etc/timezone
 echo "$TZ" > /etc/timezone

--Hanumant 16:06, 14 Jun 2007 (UTC)

3) rebuildfstab adds the following garbage to /etc/fstab on a system with no hard drive:

 # Added by KNOPPIX
    noauto,users,exec 0 0

Here is a fix:

 --- /usr/sbin/rebuildfstab.orig       2007-06-26 09:16:54.972750170 -0400
 +++ /usr/sbin/rebuildfstab    2007-06-26 09:17:42.095435539 -0400
 @@ -75,2 +75,3 @@
  count=0
 +scanpartitions | \
  while read device mountpoint fstype relax; do
 @@ -98,5 +99,3 @@
     echo "$device $mountpoint $fstype $options 0 0"; }
 -done >>"$TMP" <<EOT
 -$(scanpartitions)
 -EOT
 +done >>"$TMP"

--Johntobey 13:32, 26 Jun 2007 (UTC)