By Kyle Rankin
Cover | Table of Contents | Colophon
boot: prompt. All new computers should support
booting from the CD-ROM drive,
and most computers attempt to boot directly from a CD rather than
from the hard drives on the system. In case your computer
doesn't support booting directly from a CD, I have
included instructions for booting Knoppix from a floppy disk.boot: prompt in Knoppix to change its behavior.
When talking about cheat codes, I'm really talking
about ways in which Knoppix's hardware detection and
support might fail and how to work around such failures. By the end
of this chapter, you should be comfortable with booting Knoppix on a
variety of computers and be ready to use the desktop environment.boot: prompt. All new computers should support
booting from the CD-ROM drive,
and most computers attempt to boot directly from a CD rather than
from the hard drives on the system. In case your computer
doesn't support booting directly from a CD, I have
included instructions for booting Knoppix from a floppy disk.boot: prompt in Knoppix to change its behavior.
When talking about cheat codes, I'm really talking
about ways in which Knoppix's hardware detection and
support might fail and how to work around such failures. By the end
of this chapter, you should be comfortable with booting Knoppix on a
variety of computers and be ready to use the desktop environment.http://www.knopper.net/knoppix-mirrors/index-en.html
provides CD images in ISO form over http, ftp, or rsync. If you use
Bittorrent (a
peer-to-peer file-sharing application designed for sharing large
files), you can use the Knoppix torrent link on this page. When you
click on a mirror you are taken to a licensing agreement page. Have
your lawyer read through the software license (your lawyer reviews
all of your software licenses before you accept, right?), click
Accept to proceed, and then choose a file from the list that is
presented. In addition to the latest version of Knoppix, most mirrors
host a few past CD images with their MD5sum.boot: prompt, type the following command:
knoppix testcd
boot:
prompt using cheat codes:|
Cheat code
|
Purpose
|
|---|---|
knoppix testcd
|
Check CD data integrity and MD5sums
|
|
Cheat code
|
Purpose
|
|---|---|
knoppix lang=cn|de|da|es|fr|it|nl| pl|ru|sk|tr|tw|us
|
Specify language/keyboard
|
knoppix keyboard=us
|
Use different console keyboard
|
Knoppix xkeyboard=us
|
Use a different X keyboard
|
lang
cheat code is the main cheat code to
use. To change the default language to Spanish, for instance, simply
pass the cheat code at the boot: prompt:
lang=es
toram
cheat code instructs Knoppix, before
it does anything else, to create a large ramdisk and copy the
complete CD there. A ramdisk
is a
virtual hard disk that your operating system creates by setting aside
a certain amount of your RAM. When you boot with this cheat code,
Knoppix warns you that it might take some time to copy the full image
and provides a progress bar while the image is copying. The Knoppix
CD image is approximately 700 MB by itself, so this option is only
for those of you with 1 GB or more RAM in your system, because even
after copying the CD to RAM, Knoppix still needs a good portion of
the RAM for loading applications and writing temporary files. If
Knoppix runs out of space to copy, it alerts you that it ran out of
space and cannot complete the copy and drops back to loading directly
from the CD-ROM.tohd
cheat code. Similar to the
toram cheat code, this cheat code copies the
complete CD image to a partition on your hard drive. This partition
can be almost any filesystem that the Knoppix supports, including
Windows
filesystems such
as FAT and FAT32.
NTFS (the default
filesystem for Windows 2000 and Windows XP) cannot be written to
directly, and it will not work with the |
Cheat code
|
Purpose
|
|---|---|
knoppix screen=1280x1024
|
Use specified screen resolution for X
|
16
|
Use specified color depth for X
|
60
60
)
|
Use 60 Hz vertical refresh rate for X
|
80
80
)
|
Use 80 kHz horizontal refresh rate for X
|
XFree86
XF86_SVGA
|
Use specified X-Server
|
ati
fbdev
mga|nv
radeon
savage|s3
|
|
Cheat code
|
Purpose
|
|---|---|
knoppix26
|
Boot with the 2.6 Linux kernel
|
knoppix atapicd
|
Do not use SCSI emulation for IDE CD-ROMs
|
es1938
)
|
Use ALSA sound driver
|
knoppix no{acpi,apic,agp,apm,audio,ddc, firewire,isapnpbios,pcmcia,scsi,swap,usb}
|
Skip parts of hardware detection
|
failsafe
|
Boot with (almost) no hardware detection
|
knoppix pci=bios
|
Workaround for bad PCI controllers
|
fb
cheat code is useful in these cases, because on some displays,
running the console below the maximum resolution results in the text
still being displayed with black bands around it. To display a
framebuffer console on a laptop that has an ideal resolution of 1024
768, boot Knoppix with:
fb1024x768
boot: prompt,
along with any other cheat codes you might want to use:
expert
expert26
cheat code that, like the knoppix26 cheat code,
lets you boot with a 2.6 kernel. When booting in expert mode, Knoppix
appears to boot normally—you should see a picture of Tux in the
corner of the screen and the Linux kernel starting to detect
hardware. Once the kernel loads, however, Knoppix begins to ask you
questions.
http://www.kdelook.org.http://www.knoppix.org, which maintains a FAQ
you can view at http://www.linuxtag.org/2005/index.php.
Corporate users of Knoppix might be interested in official commercial
support provided by ed-media's Knoppix hotline
located at http://www.ed-media.org/knoppix/en/index.html.http://www.linuxtag.org/2005/index.php