Вы находитесь на странице: 1из 4

CHEATCODES AND HINTS FOR KNOPPIX V7.

2
==============================================================================
(last update: 16.06.2013)
These options (can be combined) work from the boot prompt:
### General ###
adriane
debug
expert
knoppix
knoppix64
knoppix 2
### Language/Country ###
knoppix lang=ch|cn|de|da|es|fr|it
knoppix lang=nl|pl|ru|sk|tr|tw|us
knoppix keyboard=us xkeyboard=us
knoppix utc
knoppix tz=Europe/Berlin

Start blind-friendly, talking desktop


Debug boot process step-by-step
Interactive setup for experts
(Default) Knoppix startup
Knoppix w/ 64bit Kernel
Runlevel 2, Textmode only
specify language/keyboard
specify language/keyboard
Use different keyboard (text/X)
Use Universal Time
Use this timezone for TZ
(default: tz=localtime)

### Hardware/Workarounds ###


knoppix ide1=reset

Try this if knoppix can't find the


CD/DVD drive on old computers
knoppix no{apic,lapic,acpi,apm}
Skip parts of HW-detection (1)
knoppix no{hwsetup,udev,dhcp,fstab} Skip parts of HW-detection (2)
knoppix no{pcmcia,sound,swap}
Skip parts of HW-detection (3)
knoppix nousb
Skip parts of HW-detection (4)
knoppix nolapic
Disable local APIC (differs from noapic)
knoppix noideraid
Disable IDE-Raiddisk detection
knoppix pnpbios=off
No PnP Bios initialization
knoppix acpi=off
Disable ACPI Bios completely
knoppix acpi=noirq
Disable ACPI IRC routing only
knoppix acpi=force
FORCE ACPI Bios initialization
knoppix noacpid
Do not start ACPI even daemon
failsafe
Boot with (almost) no HW-detection
knoppix pci=irqmask=0x0e98
Try this, if PS/2 mouse doesn't work *)
knoppix pci=bios
Workaround for bad PCI controllers
knoppix ide2=0x180 nopcmcia
Boot from PCMCIA-CD-Rom (some notebooks)
knoppix mem=512M
Specify Memory size in MByte
knoppix wheelmouse
Enable IMPS/2 protocol for wheelmice
knoppix nowheelmouse
Force plain PS/2 protocol for PS/2-mouse
### Desktop ###
knoppix desktop=kde|gnome|icewm
knoppix desktop=fluxbox|openbox
knoppix desktop=larswm|evilwm|twm
knoppix no3d
knoppix 3d
### Graphics ###
knoppix screen=1280x1024
knoppix hsync=95
knoppix vsync=60
knoppix xmodule=fbdev|vesa|svga
knoppix xmodule=nouveau|radeon
knoppix xmodule=intel|vmware|s3
knoppix norandr

Use specified WM instead of LXDE (1)


Use specified WM instead of LXDE (2)
Use specified WM instead of LXDE (3)
Don't use compiz 3d fuctions
Try compiz even on slow cards w/o dri
Use specified Screen resolution for X
Use 95 kHz horizontal X refresh rate
Use 60 Hz vertical refresh rate for X
Use specified Xorg-Module (1)
Use specified Xorg-Module (2)
Use specified Xorg-Module (3)
Disable Xorg RandR feature (may be
useful if wrong resolution was detected)

knoppix noddc
knoppix nocomposite
knoppix vga=normal
knoppix nodrm
knoppix nofb
knoppix nomodeset
fb1280x1024
fb1024x768
fb800x600
fb640x480

Don't query monitor for resoution


Don't use Xorg Composite extension
No-framebuffer mode, but X
Don't load graphics acceleration modules
Don't load framebuffer modules
Don't use Kernel Mode Settings for X
Use fixed framebuffer graphics (1)
Use fixed framebuffer graphics (2)
Use fixed framebuffer graphics (3)
Use fixed framebuffer graphics (4)

### Configuration / Persistent image ###


knoppix nonetworkmanager
Don't start network manager
knoppix toram
Copy to RAM and run from there
knoppix tohd=/dev/sda1
Copy to Harddisk and run from there
knoppix fromhd=/dev/sda1
Boot from previously copied CD-Image
knoppix bootfrom=/dev/sda1/KNX.iso Access image, boot from ISO-Image. ***)
knoppix knoppix_dir=KNOPPIX
Directory to search for on the CD.
knoppix knoppix_name=KNOPPIX
Cloop-File to search for on the CD.
knoppix noswap
Don't use existing swap partitions
knoppix nozram
Don't use zram compressed swap-in-ram
knoppix forensic
Don't use swap and mount read-only
knoppix secure
Disable root access
knoppix noimage
Ignore persistent image or partition
### Knoppix Terminalserver/Client ###
knoppix nfsdir=hostip:path
Use
knoppix hostname=name
Set
knoppix hostname=auto-mac
Set
knoppix hostname=auto-clock
Set
### Various ###
knoppix noeject
knoppix noprompt
knoppix testcd|testdvd
knoppix splash
knoppix trace

nfsdir as
TS client
TS client
TS client

/mnt-system for TS client


hostname
hostname from MAC address
hostname from clock

Do NOT eject CD after halt


Do NOT prompt to remove the CD
Check live medium for defects
Use splash.ppm in initrd as boot pic
create an open() trace in /open.trace

Hint: Using the default DE-bootimage, SYSLINUX boots with german


keyboard layout. The '=' letter is located at Shift-0 on this keyboard
(just in case you want to change keyboard and language with lang=us). If
you need to change the keyboard layout later in X, and can't find a
convenient tool in the preferences, use "setxkbmap 'ca(multi)'" in order
to set up a new (multi-language canadian, in this example) keyboard
layout
*) Try "knoppix pci=irqmask=0x0e98" if (you have an old notebook and)
your PS/2 mouse doesn't work, Possibly caused by a BIOS-flaw on your
board, BIOS updates can sometimes help.
If your KNOPPIX CD produces strange noises during boot, or you see
frequent errors like "cloop: read error", or programs on your desktop
are crashing randomly, then your CD image is probably defective or
incomplete, or your CD-burner created a defective CD due to wrong
writing speed or bad media. This is actually the most common error
reported. Please boot with "knoppix testcd" to check if the CD or DVD is
OK. Installing and starting Knoppix from flash disk is recommended and
much faster than running from CD or DVD.
In case of a failing hardware autodetection, try booting with any of

the "no-" options as shown in the table above, like in


knoppix nodrm nomodeset no3d noaudio noapm noapic nolapic
acpi=off pci=bios pnpbios=off nodma nopcmcia noscsi nousb ...
to skip some critical parts of the autodetection system.
The "noswap" and/or "forensic" boot option is useful for a forensic
analysis without touching existing swap partitions.
Some Boards apparently don't pass the proper memory size to the
linux-kernel. It may cause the message "Panic: cannot mount root file
system" and the system hangs. Use "knoppix mem=512M" to solve that
problem if your system has 512MByte memory for example (caution:
you MUST use a capital "M" here).
When installing to read/write media, such as flash disks (using
flash-knoppix), you can add a swap file in order to replace missing
physical RAM by persistent storage space. You can create this swap
file like this from the running system:
dd if=/dev/zero of=/mnt-system/KNOPPIX/knoppix.swp
mkswap /mnt-system/KNOPPIX/knoppix.swp
swapon /mnt-system/KNOPPIX/knoppix.swp
Please be aware that swapping on flash media can be painfully slow, and
is no perfect replacement for real RAM. The zram ram-compression feature
(available from Knoppix 7.0.1) can extend the usable ram range to a
certain degree.
--If you need additional modules for starting controllers needed at boot
time, just copy the corresponding *.ko files from /lib/modules/* over to
/modules in the initial ramdisk (remaster needed).
If you place an update*.zip or update*tar.gz file on the medium holding
the KNOPPIX data, it will be unpacked onto the overlayed filesystem
before starting "init", thus allowing quick reconfiguration of the
system.
The file "knoppix.sh", if residing in the main KNOPPIX directory, will
be execuded after autoconfiguration and before starting the graphical
desktop. It can be used in order to start additional services.
If you wish to remaster the CD, please don't forget to specify
-no-emul-boot -boot-load-size 4 -boot-info-table \
-b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat
as option to mkisofs. Otherwise your CD or DVD won't be bootable. The
directory KNOPPIX, containig the compressed filesystem file "KNOPPIX",
must be located in the top level directory of the CD.
Caution: X-Screensaver: Don't start xlock or any screensaver that
requires a password. There are no default passwords on KNOPPIX,
i.e. all accounts are LOCKED unless you explicitly set a password.
See also README_Security.txt about this issue.
If you accidentially hit the screensaver button in KDE,
switch to one of the textconsoles by Control-Alt-F1 and kill
the screensaver (or just set a password for the knoppix user).
If you would like to edit your X-Server configuration manually
(config file /etc/X11/xorg.conf), use "knoppix 2" to boot
into runlevel 2 (textmode only) and, after changing the X
configuration, start the X environment with "init 5". Note that

you can always leave the graphical environment with "init 2", and
restart it later with "init 5".

Вам также может понравиться