| | 365 | BOOT OPTIONS |
|---|
| | 366 | ------------ |
|---|
| | 367 | |
|---|
| | 368 | ### AVAILABLE KERNELS ### |
|---|
| | 369 | |
|---|
| | 370 | #### linux #### |
|---|
| | 371 | |
|---|
| | 372 | The default (32-bit on the x86 CD, 64-bit on the x86_64 CD) kernel. |
|---|
| | 373 | |
|---|
| | 374 | #### linux64 #### |
|---|
| | 375 | |
|---|
| | 376 | On the x86 CD, this is the alternative (64-bit) kernel, for use with |
|---|
| | 377 | Cross-Compiled Linux From Scratch <http://trac.cross-lfs.org/>. |
|---|
| | 378 | |
|---|
| | 379 | Don't use this kernel for building the regular version of LFS -- it will fail, |
|---|
| | 380 | because the x86 CD does not contain a 64-bit capable compiler, and because |
|---|
| | 381 | the included book on the x86 CD does not support x86_64 yet. |
|---|
| | 382 | |
|---|
| | 383 | On the x86_64 CD, this is the same as the default kernel. |
|---|
| | 384 | |
|---|
| | 385 | After the kernel name, options may be specified, as in the following example: |
|---|
| | 386 | |
|---|
| | 387 | linux LANG=ru_RU.UTF-8 TZ=Asia/Yekaterinburg UTC=1 |
|---|
| | 388 | |
|---|
| | 389 | See the list of available options below. |
|---|
| | 390 | |
|---|
| | 391 | ### GRAPHICS AND SOUND ### |
|---|
| | 392 | |
|---|
| | 393 | #### vga=[resolution] #### |
|---|
| | 394 | |
|---|
| | 395 | Examples: |
|---|
| | 396 | |
|---|
| | 397 | vga=795 (1280x1024x24) vga=792 (1024x768x24) vga=789 (800x600x24) |
|---|
| | 398 | vga=794 (1280x1024x16) vga=791 (1024x768x16) vga=788 (800x600x16) |
|---|
| | 399 | |
|---|
| | 400 | This parameter enables the framebuffer console. |
|---|
| | 401 | |
|---|
| | 402 | #### volume=[volume] #### |
|---|
| | 403 | |
|---|
| | 404 | Examples: |
|---|
| | 405 | |
|---|
| | 406 | volume=50% |
|---|
| | 407 | volume=-15dB |
|---|
| | 408 | |
|---|
| | 409 | Ths parameter sets the Master, Front and Headphone volume controls on all sound |
|---|
| | 410 | cards to the specified value. The default is 74%. PCM and similar controls are |
|---|
| | 411 | always set to 0dB, or, if the driver doesn't know about dB, to 74%. |
|---|
| | 412 | |
|---|
| | 413 | ### DATE AND TIME ### |
|---|
| | 414 | |
|---|
| | 415 | #### TZ=[timezone] #### |
|---|
| | 416 | |
|---|
| | 417 | Examples: |
|---|
| | 418 | |
|---|
| | 419 | TZ=EDT-4 TZ=America/New_York |
|---|
| | 420 | |
|---|
| | 421 | The first example means that the timezone is named "EDT" |
|---|
| | 422 | and is 4 hours behind (west) of UTC. |
|---|
| | 423 | |
|---|
| | 424 | #### UTC=[0,1] #### |
|---|
| | 425 | |
|---|
| | 426 | Example: |
|---|
| | 427 | |
|---|
| | 428 | UTC=1 |
|---|
| | 429 | |
|---|
| | 430 | Use UTC=1 if the hardware clock is set to UTC or |
|---|
| | 431 | use UTC=0 (default) if the hardware clock is set to local time. |
|---|
| | 432 | |
|---|
| | 433 | If no TZ parameter is passed at the kernel command line, the CD asks |
|---|
| | 434 | for the above settings during boot. |
|---|
| | 435 | |
|---|
| | 436 | ### LOCALIZATION BASICS ### |
|---|
| | 437 | |
|---|
| | 438 | #### LANG=[locale] #### |
|---|
| | 439 | |
|---|
| | 440 | Example: |
|---|
| | 441 | |
|---|
| | 442 | LANG=fr_FR.UTF-8 |
|---|
| | 443 | |
|---|
| | 444 | If you don't specify your locale at the boot prompt, a configuration dialog |
|---|
| | 445 | will appear later during boot. |
|---|
| | 446 | |
|---|
| | 447 | The CD attempts to guess the keymap and the screen font based on the LANG |
|---|
| | 448 | variable. If the default guess is wrong, you can override it, as described |
|---|
| | 449 | in the "FINE-TUNING LOCALIZATION" section below. |
|---|
| | 450 | |
|---|
| | 451 | UTF-8 locales don't work well on Linux text console. Copying and pasting |
|---|
| | 452 | non-ASCII characters is impossible, as well as using dead keys for entering |
|---|
| | 453 | characters outside of the Latin-1 range of Unicode. |
|---|
| | 454 | |
|---|
| | 455 | UTF-8 locales don't work at all with accessibility software (brltty and |
|---|
| | 456 | speakup) due to the same kernel limitation. |
|---|
| | 457 | |
|---|
| | 458 | ### FINE-TUNING LOCALIZATION ### |
|---|
| | 459 | |
|---|
| | 460 | #### KEYMAP=[keymap] #### |
|---|
| | 461 | |
|---|
| | 462 | Example: |
|---|
| | 463 | |
|---|
| | 464 | KEYMAP=es+euro1 |
|---|
| | 465 | |
|---|
| | 466 | Specifies the console keymap(s) to load, separated by the "+" sign. |
|---|
| | 467 | |
|---|
| | 468 | #### LEGACY_CHARSET=[charset] #### |
|---|
| | 469 | |
|---|
| | 470 | Example: |
|---|
| | 471 | |
|---|
| | 472 | LEGACY_CHARSET=iso-8859-15 |
|---|
| | 473 | |
|---|
| | 474 | Instructs the CD to convert an existing keymap from this charset to UTF-8 |
|---|
| | 475 | with the "dumpkeys" program. |
|---|
| | 476 | |
|---|
| | 477 | #### FONT=[screen_font] #### |
|---|
| | 478 | |
|---|
| | 479 | Example: |
|---|
| | 480 | |
|---|
| | 481 | FONT=LatArCyrHeb-16+-m+8859-15 |
|---|
| | 482 | |
|---|
| | 483 | Specifies the screen font to set (actually, the arguments to the "setfont" |
|---|
| | 484 | program, separated by the "+" sign). |
|---|
| | 485 | |
|---|
| | 486 | ### ACCESSIBILITY: BRLTTY ### |
|---|
| | 487 | |
|---|
| | 488 | #### brltty=drv[,dev[,tbl]] #### |
|---|
| | 489 | |
|---|
| | 490 | Example: |
|---|
| | 491 | |
|---|
| | 492 | brltty=bm,usb: |
|---|
| | 493 | |
|---|
| | 494 | Enables a refreshable Braille display supported by driver drv, connected to |
|---|
| | 495 | device dev, with a translation table tbl. The example specifies a BAUM |
|---|
| | 496 | SuperVario 40 Braille display connected viw USB with default Braille table. |
|---|
| | 497 | |
|---|
| | 498 | Available drivers: |
|---|
| | 499 | |
|---|
| | 500 | al, at, bd, bl, bm, bn, cb, ec, eu, fs, ht, il, |
|---|
| | 501 | lt, mb, md, mn, pm, tn, ts, vd, vo, vr, vs. |
|---|
| | 502 | |
|---|
| | 503 | Available tables: |
|---|
| | 504 | |
|---|
| | 505 | brf, cz, da-1252, da-lt, da, de, en_UK, en_US, es, |
|---|
| | 506 | fi1, fi2, fr-2007, fr_CA, fr-cbifs, fr_FR, it, nabcc, |
|---|
| | 507 | no-h, no-p, pl, pt, ru, se-old, simple, visiob. |
|---|
| | 508 | |
|---|
| | 509 | The charset of the selected locale must match the charset of the Braille table. |
|---|
| | 510 | |
|---|
| | 511 | BRLTTY is not compatible with UTF-8 locales. |
|---|
| | 512 | |
|---|
| | 513 | ### ACCESSIBILITY: SPEAKUP ### |
|---|
| | 514 | |
|---|
| | 515 | #### speakup.synth=[syn] #### |
|---|
| | 516 | |
|---|
| | 517 | Example: |
|---|
| | 518 | |
|---|
| | 519 | speakup.synth=soft |
|---|
| | 520 | |
|---|
| | 521 | Enables a speech synthesis engine syn. Available drivers: acntpc, acntsa, |
|---|
| | 522 | appolo, audptr, bns, decext, dectlk, dtlk, keypc, ltlk, soft, spkout, txprt. |
|---|
| | 523 | The "soft" driver uses Espeak to output sound through the first sound card. |
|---|
| | 524 | |
|---|
| | 525 | The GIT snapshot of speakup used on this CD has a known bug: copying and |
|---|
| | 526 | pasting text produces garbage and even can crash the computer. For copying |
|---|
| | 527 | and pasting text between programs, please use the "screen" terminal emulator |
|---|
| | 528 | instead of this buggy built-in feature of speakup. |
|---|
| | 529 | |
|---|
| | 530 | #### speakup.ser=[index] #### |
|---|
| | 531 | |
|---|
| | 532 | Example: |
|---|
| | 533 | |
|---|
| | 534 | speakup.ser=2 |
|---|
| | 535 | |
|---|
| | 536 | One-based serial port index to use with a hardware synth. The example above |
|---|
| | 537 | means that /dev/ttyS1 will be used. |
|---|
| | 538 | |
|---|
| | 539 | #### speakup.port=[port] #### |
|---|
| | 540 | |
|---|
| | 541 | A port address to use with speakup. |
|---|
| | 542 | |
|---|
| | 543 | ### MODULE HANDLING ### |
|---|
| | 544 | |
|---|
| | 545 | #### load=module1,module2,... #### |
|---|
| | 546 | |
|---|
| | 547 | Example: |
|---|
| | 548 | |
|---|
| | 549 | load=ide-generic |
|---|
| | 550 | |
|---|
| | 551 | Loads the specified modules unconditionally from initramfs. Use if your SCSI |
|---|
| | 552 | or IDE controller is not autodetected. If you don't specify this parameter |
|---|
| | 553 | and the CD doesn't detect your SCSI or IDE controller, you will be dropped |
|---|
| | 554 | into a debugging shell where you can load the needed module manually. |
|---|
| | 555 | |
|---|
| | 556 | #### blacklist=module1,module2,... #### |
|---|
| | 557 | |
|---|
| | 558 | Example: |
|---|
| | 559 | |
|---|
| | 560 | blacklist=yenta-socket |
|---|
| | 561 | |
|---|
| | 562 | Prevents the specified modules from being autoloaded. Use if udev autoloads |
|---|
| | 563 | a module that causes your computer to misbehave (e.g., crash or freeze). |
|---|
| | 564 | |
|---|
| | 565 | #### module.option=value #### |
|---|
| | 566 | |
|---|
| | 567 | Example: |
|---|
| | 568 | |
|---|
| | 569 | psmouse.proto=bare |
|---|
| | 570 | |
|---|
| | 571 | Sets arbitrary module options. |
|---|
| | 572 | |
|---|
| | 573 | ### ALTERNATIVE DRIVERS ### |
|---|
| | 574 | |
|---|
| | 575 | Options in this section do not take parameters. Example: |
|---|
| | 576 | |
|---|
| | 577 | pata new_firewire |
|---|
| | 578 | |
|---|
| | 579 | #### pata #### |
|---|
| | 580 | |
|---|
| | 581 | Causes the CD to use new libata-based drivers for IDE controllers. This option |
|---|
| | 582 | may be required for controller detection or recommended for optimal performance |
|---|
| | 583 | on computers manufactured in year 2006 and later. |
|---|
| | 584 | |
|---|
| | 585 | Caution: new drivers are safe to use only with IDE chipsets from AMD, Intel, |
|---|
| | 586 | ITE, JMicron, Marvell, Netcell, NVIDIA, Serverworks, Promise, Silicon Image, |
|---|
| | 587 | VIA, or Winbond. Drivers for other chipsets are likely to contain bugs that |
|---|
| | 588 | lead to data loss. |
|---|
| | 589 | |
|---|
| | 590 | #### new_firewire #### |
|---|
| | 591 | |
|---|
| | 592 | Uses the new (experimental) Juju FireWire stack. |
|---|
| | 593 | |
|---|
| | 594 | #### all\_generic\_ide #### |
|---|
| | 595 | |
|---|
| | 596 | Attempts to support unknown PCI IDE and SATA controllers (slow). |
|---|
| | 597 | For SATA support to work with this option, the SATA controller |
|---|
| | 598 | must be put into "Legacy" (as opposed to "Native") mode in the BIOS. |
|---|
| | 599 | |
|---|
| | 600 | ### TROUBLESHOOTING ### |
|---|
| | 601 | |
|---|
| | 602 | #### debug #### |
|---|
| | 603 | |
|---|
| | 604 | Displays kernel messages during the boot process. |
|---|
| | 605 | |
|---|
| | 606 | #### rootdelay=X #### |
|---|
| | 607 | |
|---|
| | 608 | Example: |
|---|
| | 609 | |
|---|
| | 610 | rootdelay=20 |
|---|
| | 611 | |
|---|
| | 612 | Waits X seconds before attempting to find the CD. Required (with X=20) |
|---|
| | 613 | for booting from USB or FireWire CD-ROMs. |
|---|
| | 614 | |
|---|
| | 615 | #### nodhcp #### |
|---|
| | 616 | |
|---|
| | 617 | Prevents the CD from attempting to obtain an IP address automatically. |
|---|
| | 618 | May be required for wireless networking, because the WEP or WPA key |
|---|
| | 619 | needs to be set up first. |
|---|
| | 620 | |
|---|
| | 621 | #### Options for buggy motherboards #### |
|---|
| | 622 | |
|---|
| | 623 | Example: |
|---|
| | 624 | |
|---|
| | 625 | nomsi noapic nolapic pci=noacpi acpi=off clock=pit ide=nodma |
|---|
| | 626 | |
|---|
| | 627 | These options work around various chipset bugs. Try them one-by-one in the |
|---|
| | 628 | order given above and in various combinations if the CD does not boot, or if |
|---|
| | 629 | a device does not work correctly or fails after hibernating and resuming. |
|---|
| | 630 | Note: if this helps, the bug is in the hardware or the BIOS, not in this CD. |
|---|
| | 631 | |
|---|