home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2004 May / VPR0405.ISO / KNOPPIX / knoppix-cheatcodes.txt < prev    next >
Text File  |  2004-02-18  |  8KB  |  137 lines

  1.                      CHEATCODES AND HINTS FOR KNOPPIX V3.3
  2. ==============================================================================
  3.                          (last update: 09.02.2004)
  4.  
  5. These options (can be combined) work from the SYSLINUX bootprompt:
  6.  
  7. knoppix lang=cn|de|da|es|fr|it|nl   specify language/keyboard
  8. knoppix lang=pl|ru|sk|tr|tw|us      specify language/keyboard
  9. knoppix alsa (or alsa=es1938)       Use ALSA sound driver (at your own risk)
  10. knoppix desktop=fluxbox|icewm       Use specified WM instead of KDE (1)
  11. knoppix desktop=kde|larswm|twm      Use specified WM instead of KDE (2)
  12. knoppix desktop=wmaker|xfce         Use specified WM instead of KDE (3)
  13. knoppix screen=1280x1024            Use specified Screen resolution for X
  14. knoppix xvrefresh=60 (or vsync=60)  Use 60 Hz vertical refresh rate for X
  15. knoppix xhrefresh=80 (or hsync=80)  Use 80 kHz horizontal refresh rate for X
  16. knoppix xserver=XFree86|XF86_SVGA   Use specified X-Server
  17. knoppix xmodule=ati|fbdev|i810|mga  Use specified XFree4-Module (1)
  18. knoppix xmodule=nv|radeon|savage|s3 Use specified XFree4-Module (2)
  19. knoppix xmodule=radeon|svga|i810    Use specified XFree4-Module (3)
  20. knoppix 2                           Runlevel 2, Textmode only
  21. knoppix floppyconfig                Run "knoppix.sh" from a floppy
  22. knoppix myconf=/dev/sda1            Run "knoppix.sh" from a partition
  23. knoppix myconf=scan (or config=scan) Try to find "knoppix.sh" automatically
  24. knoppix home=/dev/sda1/knoppix.img  Mount loopback file as /home/knoppix
  25. knoppix home=scan                   Automatic search for knoppix homedir
  26. knoppix no{apic,agp,apm,audio,ddc}  Skip parts of HW-detection (1)
  27. knoppix no{firewire,isapnpbios}     Skip parts of HW-detection (2)
  28. knoppix no{pcmcia,scsi,swap,usb}    Skip parts of HW-detection (3)
  29. failsafe                            Boot with (almost) no HW-detection
  30. knoppix pci=irqmask=0x0e98          Try this, if PS/2 mouse doesn't work *)
  31. knoppix pci=bios                    Workaround for bad PCI controllers
  32. knoppix ide2=0x180 nopcmcia         Boot from PCMCIA-CD-Rom (some notebooks)
  33. knoppix mem=128M                    Specify Memory size in MByte
  34. knoppix dma                         Enable DMA for ALL IDE-Drives
  35. knoppix noeject                     Do NOT eject CD after halt
  36. knoppix noprompt                    Do NOT prompt to remove the CD
  37. knoppix vga=normal                  No-framebuffer mode, but X
  38. knoppix blind                       Start Braille-Terminal (no X)
  39. knoppix brltty=type,port,table      Parameters for Braille device
  40. knoppix wheelmouse                  Enable IMPS/2 protocol for wheelmice
  41. knoppix nowheelmouse                Force plain PS/2 protocol for PS/2-mouse
  42. fb1280x1024                         Use fixed framebuffer graphics (1)
  43. fb1024x768                          Use fixed framebuffer graphics (2)
  44. fb800x600                           Use fixed framebuffer graphics (3)
  45. knoppix keyboard=us xkeyboard=us    Use different keyboard (text/X)
  46. knoppix splash                      Boot with fancy background splashscreen
  47. knoppix toram                       Copy CD to RAM and run from there
  48. knoppix tohd=/dev/hda1              Copy CD to HD partition and run from there
  49. knoppix fromhd=/dev/hda1            Boot from previously copied CD-Image
  50. knoppix testcd                      Check CD data integrity and md5sums
  51. expert                              Interactive setup for experts
  52.  
  53. Hint: Using the default DE-bootimage, SYSLINUX boots with german keyboard
  54. layout. The '=' letter is located at Shift-0 on this keyboard (just in
  55. case you want to change keyboard and language with lang=us).
  56.  
  57. *) Try "knoppix pci=irqmask=0x0e98" if (you have a notebook and) your
  58. PS/2 mouse doesn't work. (Possibly caused by a BIOS-flaw on your board,
  59. BIOS updates can help.) Sometimes, switching to the text console with
  60. Control-Alt-F1 and back to the X-screen with Control-F5 solves the
  61. problem without rebooting, since the X server reinitializes the mouse
  62. driver during that procedure.
  63.  
  64. If your KNOPPIX CD makes strange noises during boot, or you see
  65. frequent errors like "cloop: read error", or programs on your KDE
  66. desktop keep crashing randomly, then your CD image is probably defective
  67. or incomplete, or your CD-burner created a defective CD due to wrong
  68. writing speed or bad media. This is the most common error reported.
  69. Please boot with "knoppix testcd" to check if the CD is OK, and/or even
  70. better, verify the MD5 checksums that are present on the mirrors before
  71. writing the CD. In some cases, defective IDE controllers cause this
  72. error if you have DMA enabled. Also, please read the KNOPPIX-FAQ.
  73.  
  74. In case of a failing hardware autodetection, try booting with any of
  75. the "no-" options as shown in the table above, like in
  76.    knoppix noagp noaudio noddc noapm noapic nodma nopcmcia noscsi nousb
  77. to skip some critical parts of the autodetection system.
  78.  
  79. The "noswap" option is useful for a forensic analysis without touching
  80. existing swap partitions.
  81.  
  82. Some Boards apparently don't pass the proper memory size to the 
  83. linux-kernel. It may cause the message "Panic: cannot mount root file 
  84. system" and the system hangs. Use "knoppix mem=128M" to solve that 
  85. problem if your system has 128MByte memory for example (caution:
  86. you MUST use a capital "M" here).
  87.  
  88. The "expert" mode provides a very simple interface to loading additional
  89. Kernel modules from floppy disks (ext2 or vfat), plus interactive
  90. configuration of mouse/keyboard/soundcard/xserver. "expert" mode supports
  91. the same boot options as "knoppix".
  92.  
  93. The "floppyconfig" or "(my)config=/dev/partition" options allow you to
  94. reconfigure the system after autoconfiguration by running a bourne
  95. shell script called "knoppix.sh" from the root directory on the given
  96. device (or floppy). There is a GUI to create such a configuration
  97. floppy disk calles "saveconfig" (also located in the KDE menu under
  98. "KNOPPIX", but experts also know how to do this by creating their own
  99. shellscripts. From Version 2.1 and up, a file called "knoppix.sh", if
  100. located in the toplevel KNOPPIX directory on CD, will also be executed
  101. at startup. This makes ist easier to create customized versions without
  102. having to change anything on the compressed filesystem KNOPPIX/KNOPPIX.
  103.  
  104. SCSI-Emulation is active for all CD-Roms, so IDE CD-Writers should
  105. work with the installed versions of cdrecord and cdrdao (or the
  106. graphical frontends thereof, k3b for example).
  107.  
  108. If your BIOS does not support el torito booting from CD, you can create
  109. a bootable floppy disk by issuing (on Linux)
  110. dd if=/cdrom/KNOPPIX/boot.img of=/dev/fd0 bs=18k
  111. or, in case of DOS, use the rawrite.exe program provided in the
  112. KNOPPIX directory on CD.
  113.  
  114. If you wish to remaster the CD, please don't forget to specify
  115.     -b KNOPPIX/boot.img
  116. for the german version of the bootfloppy, or
  117.     -b KNOPPIX/boot-en.img
  118. for the english version, as option to mkisofs. Otherwise your CD
  119. won't be bootable. The directory KNOPPIX, containig the compressed
  120. filesystem file "KNOPPIX", must be located in the top level
  121. directory of the CD.
  122.  
  123. Caution: X-Screensaver: Don't start xlock or any screensaver that
  124. requires a password. There are no default passwords on KNOPPIX,
  125. i.e. all accounts are LOCKED unless you explicitly set a password.
  126. See also README_Security.txt about this issue.
  127. If you accidentially hit the screensaver button in KDE,
  128. switch to one of the textconsoles by Control-Alt-F1 and kill
  129. the screensaver (or just set a password for the knoppix user).
  130.  
  131. If you would like to edit your X-Server configuration manually
  132. (/etc/X11/XF86Config-4 for XFree86 V4.x), use "knoppix 2" to boot
  133. into runlevel 2 (textmode only) and, after changing the X
  134. configuration, start the X environment with "init 5". Note that
  135. you can always leave the graphical environment with "init 2", and
  136. restart it later with "init 5".
  137.