Difference between revisions of "Bugs/5.1.1CD"


From Knoppix Documentation Wiki
Jump to: navigation, search
m (Timezone issue in autoconfig)
m
Line 9: Line 9:
 
APPEND initrd=/boot/isolinux/balder.img
 
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.
+
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)
 
(see discussion by clicking "discussion" above)
Line 18: Line 18:
 
MYCONFIG="$(ls -1d /cdrom/KNOPPIX/[Kk][Nn][Oo][Pp][Pp][Ii][Xx].[Ss][Hh] 2>/dev/null)"
 
MYCONFIG="$(ls -1d /cdrom/KNOPPIX/[Kk][Nn][Oo][Pp][Pp][Ii][Xx].[Ss][Hh] 2>/dev/null)"
 
To:
 
To:
MYCONFIG="$(ls -1d /KNOPPIX/[Kk][Nn][Oo][Pp][Pp][Ii][Xx].[Ss][Hh] 2>/dev/null)"
+
  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
+
  This will allow a default myconfig (e.g. if the myconfig= argument is not given)  
of the knoppix.sh script.
+
  to detect the presence of the knoppix.sh script.
 +
 
 
--[[User:Hanumant|Hanumant]] 16:04, 14 Jun 2007 (UTC)
 
--[[User:Hanumant|Hanumant]] 16:04, 14 Jun 2007 (UTC)
  

Revision as of 16:07, 14 June 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)