home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2005 September / NessusLiveCD.iso / KNOPPIX / knoppix-cheatcodes.txt < prev    next >
Encoding:
Text File  |  2004-10-19  |  9.7 KB  |  170 lines

  1.                      CHEATCODES AND HINTS FOR KNOPPIX V3.7
  2. ==============================================================================
  3.                          (last update: 20.10.2004)
  4.  
  5. These options (can be combined) work from the ISOLINUX 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 gmt                         Use GMT-based time
  10. knoppix tz=Europe/Berlin            Use this timezone for TZ
  11. knoppix atapicd                     Do NOT use SCSI-Emulation for IDE CD-Roms
  12. knoppix alsa (or alsa=es1938)       Use ALSA sound driver (at your own risk)
  13. knoppix desktop=fluxbox|icewm       Use specified WM instead of KDE (1)
  14. knoppix desktop=kde|larswm|twm      Use specified WM instead of KDE (2)
  15. knoppix desktop=wmaker|xfce         Use specified WM instead of KDE (3)
  16. knoppix screen=1280x1024            Use specified Screen resolution for X
  17. knoppix xvrefresh=60 (or vsync=60)  Use 60 Hz vertical refresh rate for X
  18. knoppix xhrefresh=80 (or hsync=80)  Use 80 kHz horizontal refresh rate for X
  19. knoppix xserver=XFree86|XF86_SVGA   Use specified X-Server
  20. knoppix xmodule=ati|fbdev|i810|mga  Use specified XFree4-Module (1)
  21. knoppix xmodule=nv|radeon|savage|s3 Use specified XFree4-Module (2)
  22. knoppix xmodule=radeon|svga|i810    Use specified XFree4-Module (3)
  23. knoppix 2                           Runlevel 2, Textmode only
  24. knoppix floppyconfig                Run "knoppix.sh" from a floppy
  25. knoppix myconf=/dev/sda1            Run "knoppix.sh" from a partition
  26. knoppix myconf=scan (or config=scan) Try to find "knoppix.sh" automatically
  27. knoppix home=/dev/sda1/knoppix.img  Mount loopback file as /home/knoppix
  28. knoppix home=scan                   Automatic search for knoppix homedir
  29. knoppix no{apic,agp,apm,audio,ddc}  Skip parts of HW-detection (1)
  30. knoppix no{dhcp,fstab,firewire}     Skip parts of HW-detection (2)
  31. knoppix no{pcmcia,scsi,swap,usb}    Skip parts of HW-detection (3)
  32. knoppix pnpbios=off                 No PnP Bios initialization
  33. knoppix acpi=off                    Disable ACPI Bios completely
  34. knoppix usb2                        Try to initialize USB 2.x controller(s)
  35. failsafe                            Boot with (almost) no HW-detection
  36. knoppix pci=irqmask=0x0e98          Try this, if PS/2 mouse doesn't work *)
  37. knoppix pci=bios                    Workaround for bad PCI controllers
  38. knoppix ide2=0x180 nopcmcia         Boot from PCMCIA-CD-Rom (some notebooks)
  39. knoppix mem=128M                    Specify Memory size in MByte
  40. knoppix dma                         Enable DMA accelleration for ALL IDE-Drives
  41. knoppix noeject                     Do NOT eject CD after halt
  42. knoppix noprompt                    Do NOT prompt to remove the CD
  43. knoppix vga=normal                  No-framebuffer mode, but X
  44. knoppix blind                       Start Braille-Terminal (no X)
  45. knoppix brltty=type,port,table      Parameters for Braille device
  46. knoppix wheelmouse                  Enable IMPS/2 protocol for wheelmice
  47. knoppix nowheelmouse                Force plain PS/2 protocol for PS/2-mouse
  48. fb1280x1024                         Use fixed framebuffer graphics (1)
  49. fb1024x768                          Use fixed framebuffer graphics (2)
  50. fb800x600                           Use fixed framebuffer graphics (3)
  51. knoppix keyboard=us xkeyboard=us    Use different keyboard (text/X)
  52. knoppix splash                      Boot with fancy background splashscreen 
  53.                                     + animations + progress bar **)
  54. knoppix toram                       Copy CD to RAM and run from there
  55. knoppix tohd=/dev/hda1              Copy CD to HD partition and run from there
  56. knoppix fromhd                      Skip checking for Knoppix on CD-ROM
  57. knoppix fromhd=/dev/hda1            Boot from previously copied CD-Image
  58. knoppix bootfrom=/dev/hda1          Access Image then boot from previously 
  59.                                     copied CD-Image (enables booting from 
  60.                                     NTFS / ReiserFS) ***)
  61. knoppix bootfrom=/dev/hda1/KNX.iso  Access image, boot from ISO-Image. ***)
  62. knoppix knoppix_dir=KNOPPIX         Directory to search for on the CD. 
  63. knoppix knoppix_name=KNOPPIX        Cloop-File to search for on the CD.
  64. knoppix testcd                      Check CD data integrity and md5sums
  65. expert                              Interactive setup for experts
  66.  
  67. NEW Kernels and Options in version 3.4:
  68. knoppix26 [Options...]              Boots with Kernel 2.6 (2.4 is default)
  69. expert26  [Options...]              Same for expert mode
  70. knoppix26 acpi=off                  Disable ACPI configuration in Kernel 2.6
  71. memtest                             Run memtest86 instead of Linux
  72.  
  73. Hint: Using the default DE-bootimage, SYSLINUX boots with german keyboard
  74. layout. The '=' letter is located at Shift-0 on this keyboard (just in
  75. case you want to change keyboard and language with lang=us).
  76.  
  77. *) Try "knoppix pci=irqmask=0x0e98" if (you have a notebook and) your
  78. PS/2 mouse doesn't work. (Possibly caused by a BIOS-flaw on your board,
  79. BIOS updates can help.) Sometimes, switching to the text console with
  80. Control-Alt-F1 and back to the X-screen with Control-F5 solves the
  81. problem without rebooting, since the X server reinitializes the mouse
  82. driver during that procedure.
  83.  
  84. **)
  85. You can also have your own splash-screen in putting an executable shell-
  86. script to /cdrom/KNOPPIX/splash.sh. For an example how to do this see:
  87. /usr/bin/splash-knoppix.sh. (Feature added by Fabian Franz.)
  88.  
  89. ***) Bootfrom needs access to a running Knoppix-System with the same Kernel
  90. as the Bootkernel, before it is able to mount the partition / ISO-Image.
  91. This should allow a poor mans install from NTFS-Partitions and makes it
  92. also possible to boot an ISO-Image directly. You can also use wildcards
  93. in the ISO-Filename, but it must be unique. So: If you have just one
  94. KNOPPIX.iso on /dev/hda1 you can access it as: bootfrom=/dev/hda1/K*.iso,
  95. but if there are several, you need to make clear, which one you want.
  96. (Feature added by Fabian Franz.)
  97.  
  98. If your KNOPPIX CD makes strange noises during boot, or you see
  99. frequent errors like "cloop: read error", or programs on your KDE
  100. desktop keep crashing randomly, then your CD image is probably defective
  101. or incomplete, or your CD-burner created a defective CD due to wrong
  102. writing speed or bad media. This is the most common error reported.
  103. Please boot with "knoppix testcd" to check if the CD is OK, and/or even
  104. better, verify the MD5 checksums that are present on the mirrors before
  105. writing the CD. In some cases, defective IDE controllers cause this
  106. error if you have DMA enabled. Also, please read the KNOPPIX-FAQ.
  107.  
  108. In case of a failing hardware autodetection, try booting with any of
  109. the "no-" options as shown in the table above, like in
  110.    knoppix noagp noaudio noapm noapic acpi=off nodma nopcmcia noscsi nousb
  111. to skip some critical parts of the autodetection system.
  112.  
  113. The "noswap" option is useful for a forensic analysis without touching
  114. existing swap partitions.
  115.  
  116. Some Boards apparently don't pass the proper memory size to the 
  117. linux-kernel. It may cause the message "Panic: cannot mount root file 
  118. system" and the system hangs. Use "knoppix mem=128M" to solve that 
  119. problem if your system has 128MByte memory for example (caution:
  120. you MUST use a capital "M" here).
  121.  
  122. The "expert" mode provides a very simple interface to loading additional
  123. Kernel modules from floppy disks (ext2 or vfat), plus interactive
  124. configuration of mouse/keyboard/soundcard/xserver. "expert" mode supports
  125. the same boot options as "knoppix".
  126.  
  127. The "floppyconfig" or "(my)config=/dev/partition" options allow you to
  128. reconfigure the system after autoconfiguration by running a bourne
  129. shell script called "knoppix.sh" from the root directory on the given
  130. device (or floppy). There is a GUI to create such a configuration
  131. floppy disk calles "saveconfig" (also located in the KDE menu under
  132. "KNOPPIX", but experts also know how to do this by creating their own
  133. shellscripts. From Version 2.1 and up, a file called "knoppix.sh", if
  134. located in the toplevel KNOPPIX directory on CD, will also be executed
  135. at startup. This makes ist easier to create customized versions without
  136. having to change anything on the compressed filesystem KNOPPIX/KNOPPIX.
  137.  
  138. SCSI-Emulation is active for all CD-Roms (unless you switch it off by
  139. using the "atapicd" option), so IDE CD-Writers should work with the
  140. installed versions of cdrecord and cdrdao (or the graphical frontends
  141. thereof, k3b for example).
  142.  
  143. If your BIOS does not support el torito booting from CD, you can create
  144. two bootable floppy disks by issuing (from Knoppix running on a different
  145. machine) the command "mkbootfloppy", which will create a bootable
  146. Kernel-disk plus a disk containing the initial ramdisk, which will be
  147. prompted for at boottime.
  148.  
  149. If you wish to remaster the CD, please don't forget to specify
  150.     -no-emul-boot -boot-load-size 4 -boot-info-table \
  151.     -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat
  152. as option to mkisofs. Otherwise your CD won't be bootable. The
  153. directory KNOPPIX, containig the compressed filesystem file "KNOPPIX",
  154. must be located in the top level directory of the CD.
  155.  
  156. Caution: X-Screensaver: Don't start xlock or any screensaver that
  157. requires a password. There are no default passwords on KNOPPIX,
  158. i.e. all accounts are LOCKED unless you explicitly set a password.
  159. See also README_Security.txt about this issue.
  160. If you accidentially hit the screensaver button in KDE,
  161. switch to one of the textconsoles by Control-Alt-F1 and kill
  162. the screensaver (or just set a password for the knoppix user).
  163.  
  164. If you would like to edit your X-Server configuration manually
  165. (/etc/X11/XF86Config-4 for XFree86 V4.x), use "knoppix 2" to boot
  166. into runlevel 2 (textmode only) and, after changing the X
  167. configuration, start the X environment with "init 5". Note that
  168. you can always leave the graphical environment with "init 2", and
  169. restart it later with "init 5".
  170.