By Kyle Rankin
Book Price: $34.99 USD
£21.99 GBP
PDF Price: $27.99
Cover | Table of Contents | Colophon
boot: prompt. All new computers support booting from an optical (CD or DVD) drive, and many 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 and from the network.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 support booting from an optical (CD or DVD) drive, and many 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 and from the network.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.autorun is configured to open the Knoppix page within a web browser, but close that and then open My Computer, find the DVD drive, and right-click on it and select Explore. Open the qemu directory that is the root of the DVD filesystem and then click on the start.bat file you see within. That's it! Qemu will automatically start and you will be greeted with the Knoppix boot screen (). Click within the window if you want to enter any cheat codes, or otherwise just wait and it will boot automatically. Hit Ctrl-Alt at any point if you want your mouse and keyboard focus to leave the Qemu environment and go back to your desktop.
boot: prompt, type the following command:
knoppix testcd
boot: prompt using cheat codes.Cheat Code | Purpose |
|---|---|
knoppix testcd | Check CD/DVD data integrity and MD5sums |
knoppix desktop=beryl|fluxbox|gnome|icewm|kde|lg3d|larswm|twm|openbox|wmaker|xfce|xfce4 | Use specified window manager |
knoppix 2 | Runlevel 2, Textmode only |
knoppix noeject | Do NOT eject CD after halt |
knoppix noprompt | Do NOT prompt to remove the CD |
knoppix splash | Boot with fancy background splashscreen |
boot: prompt: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 a different console keyboard |
knoppix xkeyboard=us | Use a different X keyboard |
knoppix tz=America/Los_Angeles | Use a particular time zone |
boot: prompt:
lang=es
keyboard or xkeyboard cheat code, keep in mind that the Z and Y keys on the German keyboard are swapped compared to their English counterparts.keyboard and xkeyboard cheat codes. These options change the keyboard language used on the console and graphical desktop respectively.tz cheat code to specify a particular time zone to use. You can get the proper name for a particular time zone within Knoppix—just open a terminal and run the 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: even after copying the CD to RAM, Knoppix still needs a good portion of the RAM for loading applications and writing temporary files. To load the entire DVD to RAM, you will need at least 4.4 GB available. Knoppix will detect whether you have enough RAM for this cheat code as it boots, and if you don't have enough, 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, FAT32, and NTFS. Keep in mind that FAT filesystems don't support DVD-sized files, so if you use the DVD you can only use the Cheat Code | Purpose |
|---|---|
knoppix screen=1280x1024 | Use specified screen resolution for X |
knoppix depth=16 | Use specified color depth for X |
knoppix xvrefresh=60 (or vsync=60) | Use 60 Hz vertical refresh rate for X |
knoppix xhrefresh=80 (or hsync=80) | Use 80 kHz horizontal refresh rate for X |
knoppix xmodule=ati|fbdev|mga|nv|radeon|savage|s3|svga|i810 | Use specified Xorg module |
knoppix wheelmouse | Enable IMPS/2 protocol for wheel mice |
knoppix nowheelmouse | Force plain PS/2 protocol for PS/2 mouse |
knoppix vga=normal | No-frame-buffer mode, but X |
fb1280x1024 | Use fixed frame-buffer graphics (1) |
fb1024x768 | Use fixed frame-buffer graphics (2) |
fb800x600 | Use fixed frame-buffer graphics (3) |
screen cheat code lets you specify exactly at which resolution to run X. For instance, if your 15-inch monitor can support 1024 by 768, but 800 by 600 is more comfortable on your eyes, type the following at the boot: prompt:screen= 800x600
depth cheat code lets you configure how many bits per pixel for X to use to display color (for instance, the cheat code Cheat Code | Purpose |
|---|---|
knoppix no{acpi,apic,agp,apm,audio,detectionddc,firewire,isapnpbios,pcmcia,scsi,swap,usb} | Skip parts of hardware |
Failsafe | Boot with (almost) no hardware detection |
knoppix pci=bios | Workaround for bad PCI controllers |
knoppix mem=128M | Specify memory size in megabytes |
knoppix dma | Enable DMA for all IDE drives |
knoppix noideraid | Disable IDE RAID detection |
no followed by the type of hardware to disable, such as noaudio to disable sound card detection. If you aren't sure which phase of hardware detection is failing, the expert mode [] walks you through each phase step by step so you can see how far along Knoppix gets before running into trouble.
fb1024x768
xmodule cheat code doesn't work, but the console displays fine, boot with boot: prompt, followed by any other cheat codes you might want to use:
expert
memtest kernel mode option. Instead of booting into Knoppix, you boot directly into the Memtest86+ software and start the scan. Memtest86+ runs a number of different types of memory tests in an indefinite loop, but a single pass should be sufficient to determine whether a system has bad memory and should be replaced. RAM errors can lead to frustrating system instability and random lockups. Memtest86+ runs several relatively quick tests that include writing different patterns of data to RAM and checking that the patterns were written correctly, and checking that neighboring blocks of RAM weren't influenced by what was written. Even if you have bad RAM, you might pass many—if not most—of the tests Memtest86+ performs, so by default Knoppix will have Memtest86+ perform all of its tests, each designed to highlight different potential RAM problems.