| | 488 | BOOT OPTIONS |
|---|
| | 489 | ------------ |
|---|
| | 490 | |
|---|
| | 491 | ### AVAILABLE KERNELS ### |
|---|
| | 492 | |
|---|
| | 493 | #### linux #### |
|---|
| | 494 | |
|---|
| | 495 | The default (32-bit on the x86 CD, 64-bit on the x86_64 CD) kernel. |
|---|
| | 496 | |
|---|
| | 497 | #### linux64 #### |
|---|
| | 498 | |
|---|
| | 499 | On the x86 CD, this is the alternative (64-bit) kernel, for use with |
|---|
| | 500 | Cross-Compiled Linux From Scratch <http://trac.cross-lfs.org/>. |
|---|
| | 501 | |
|---|
| | 502 | Don't use this kernel for building the regular version of LFS -- it will fail, |
|---|
| | 503 | because the x86 CD does not contain a 64-bit capable compiler, and because |
|---|
| | 504 | the included book on the x86 CD does not support x86_64 yet. |
|---|
| | 505 | |
|---|
| | 506 | On the x86_64 CD, this is the same as the default kernel. |
|---|
| | 507 | |
|---|
| | 508 | After the kernel name, options may be specified, as in the following example: |
|---|
| | 509 | |
|---|
| | 510 | linux LANG=ru_RU.UTF-8 TZ=Asia/Yekaterinburg UTC=1 |
|---|
| | 511 | |
|---|
| | 512 | See the list of available options below. |
|---|
| | 513 | |
|---|
| | 514 | ### GRAPHICS AND SOUND ### |
|---|
| | 515 | |
|---|
| | 516 | #### vga=[resolution] #### |
|---|
| | 517 | |
|---|
| | 518 | Examples: |
|---|
| | 519 | |
|---|
| | 520 | vga=795 (1280x1024x24) vga=792 (1024x768x24) vga=789 (800x600x24) |
|---|
| | 521 | vga=794 (1280x1024x16) vga=791 (1024x768x16) vga=788 (800x600x16) |
|---|
| | 522 | |
|---|
| | 523 | This parameter enables the framebuffer console. |
|---|
| | 524 | |
|---|
| | 525 | It has nothing to do with X server resolution (to set it, edit |
|---|
| | 526 | /etc/X11/xorg.conf manually after booting). Also, it causes some X video |
|---|
| | 527 | drivers (e.g., "s3virge") to malfunction. |
|---|
| | 528 | |
|---|
| | 529 | X server bug reports will be ignored if you use this option. |
|---|
| | 530 | |
|---|
| | 531 | #### volume=[volume] #### |
|---|
| | 532 | |
|---|
| | 533 | Examples: |
|---|
| | 534 | |
|---|
| | 535 | volume=50% |
|---|
| | 536 | volume=-15dB |
|---|
| | 537 | |
|---|
| | 538 | Ths parameter sets the Master, Front and Headphone volume controls on all sound |
|---|
| | 539 | cards to the specified value. The default is 74%. PCM and similar controls are |
|---|
| | 540 | always set to 0dB, or, if the driver doesn't know about dB, to 74%. |
|---|
| | 541 | |
|---|
| | 542 | ### DATE AND TIME ### |
|---|
| | 543 | |
|---|
| | 544 | #### TZ=[timezone] #### |
|---|
| | 545 | |
|---|
| | 546 | Examples: |
|---|
| | 547 | |
|---|
| | 548 | TZ=EDT-4 TZ=America/New_York |
|---|
| | 549 | |
|---|
| | 550 | The first example means that the timezone is named "EDT" |
|---|
| | 551 | and is 4 hours behind (west) of UTC. |
|---|
| | 552 | |
|---|
| | 553 | #### UTC=[0,1] #### |
|---|
| | 554 | |
|---|
| | 555 | Example: |
|---|
| | 556 | |
|---|
| | 557 | UTC=1 |
|---|
| | 558 | |
|---|
| | 559 | Use UTC=1 if the hardware clock is set to UTC or |
|---|
| | 560 | use UTC=0 (default) if the hardware clock is set to local time. |
|---|
| | 561 | |
|---|
| | 562 | If no TZ parameter is passed at the kernel command line, the CD asks |
|---|
| | 563 | for the above settings during boot. |
|---|
| | 564 | |
|---|
| | 565 | ### LOCALIZATION BASICS ### |
|---|
| | 566 | |
|---|
| | 567 | #### LANG=[locale] #### |
|---|
| | 568 | |
|---|
| | 569 | Example: |
|---|
| | 570 | |
|---|
| | 571 | LANG=fr_FR.UTF-8 |
|---|
| | 572 | |
|---|
| | 573 | If you don't specify your locale at the boot prompt, a configuration dialog |
|---|
| | 574 | will appear later during boot. |
|---|
| | 575 | |
|---|
| | 576 | The CD attempts to guess the keymap and the screen font based on the LANG |
|---|
| | 577 | variable. If the default guess is wrong, you can override it, as described |
|---|
| | 578 | in the "FINE-TUNING LOCALIZATION" section below. |
|---|
| | 579 | |
|---|
| | 580 | UTF-8 locales don't work well on Linux text console. Copying and pasting |
|---|
| | 581 | non-ASCII characters is impossible, as well as using dead keys for entering |
|---|
| | 582 | characters outside of the Latin-1 range of Unicode. |
|---|
| | 583 | |
|---|
| | 584 | UTF-8 locales don't work at all with accessibility software (brltty and |
|---|
| | 585 | speakup) due to the same kernel limitation. |
|---|
| | 586 | |
|---|
| | 587 | ### FINE-TUNING LOCALIZATION ### |
|---|
| | 588 | |
|---|
| | 589 | #### KEYMAP=[keymap] #### |
|---|
| | 590 | |
|---|
| | 591 | Example: |
|---|
| | 592 | |
|---|
| | 593 | KEYMAP=es+euro1 |
|---|
| | 594 | |
|---|
| | 595 | Specifies the console keymap(s) to load, separated by the "+" sign. |
|---|
| | 596 | |
|---|
| | 597 | #### LEGACY_CHARSET=[charset] #### |
|---|
| | 598 | |
|---|
| | 599 | Example: |
|---|
| | 600 | |
|---|
| | 601 | LEGACY_CHARSET=iso-8859-15 |
|---|
| | 602 | |
|---|
| | 603 | Instructs the CD to convert an existing keymap from this charset to UTF-8 |
|---|
| | 604 | with the "dumpkeys" program. |
|---|
| | 605 | |
|---|
| | 606 | #### FONT=[screen_font] #### |
|---|
| | 607 | |
|---|
| | 608 | Example: |
|---|
| | 609 | |
|---|
| | 610 | FONT=LatArCyrHeb-16+-m+8859-15 |
|---|
| | 611 | |
|---|
| | 612 | Specifies the screen font to set (actually, the arguments to the "setfont" |
|---|
| | 613 | program, separated by the "+" sign). |
|---|
| | 614 | |
|---|
| | 615 | #### XKEYMAP=[keymap1,keymap2] #### |
|---|
| | 616 | |
|---|
| | 617 | Example: |
|---|
| | 618 | |
|---|
| | 619 | XKEYMAP=us,ru(winkeys) |
|---|
| | 620 | |
|---|
| | 621 | Keymap(s) for X window system. To switch between them, press Alt+Shift. |
|---|
| | 622 | |
|---|
| | 623 | ### ACCESSIBILITY: BRLTTY ### |
|---|
| | 624 | |
|---|
| | 625 | #### brltty=drv[,dev[,tbl]] #### |
|---|
| | 626 | |
|---|
| | 627 | Example: |
|---|
| | 628 | |
|---|
| | 629 | brltty=bm,usb: |
|---|
| | 630 | |
|---|
| | 631 | Enables a refreshable Braille display supported by driver drv, connected to |
|---|
| | 632 | device dev, with a translation table tbl. The example specifies a BAUM |
|---|
| | 633 | SuperVario 40 Braille display connected viw USB with default Braille table. |
|---|
| | 634 | |
|---|
| | 635 | Available drivers: |
|---|
| | 636 | |
|---|
| | 637 | al, at, bd, bl, bm, bn, cb, ec, eu, fs, ht, il, |
|---|
| | 638 | lt, mb, md, mn, pm, tn, ts, vd, vo, vr, vs. |
|---|
| | 639 | |
|---|
| | 640 | Available tables: |
|---|
| | 641 | |
|---|
| | 642 | brf, cz, da-1252, da-lt, da, de, en_UK, en_US, es, |
|---|
| | 643 | fi1, fi2, fr-2007, fr_CA, fr-cbifs, fr_FR, it, nabcc, |
|---|
| | 644 | no-h, no-p, pl, pt, ru, se-old, simple, visiob. |
|---|
| | 645 | |
|---|
| | 646 | The charset of the selected locale must match the charset of the Braille table. |
|---|
| | 647 | |
|---|
| | 648 | BRLTTY is not compatible with UTF-8 locales. |
|---|
| | 649 | |
|---|
| | 650 | ### ACCESSIBILITY: SPEAKUP ### |
|---|
| | 651 | |
|---|
| | 652 | #### speakup.synth=[syn] #### |
|---|
| | 653 | |
|---|
| | 654 | Example: |
|---|
| | 655 | |
|---|
| | 656 | speakup.synth=soft |
|---|
| | 657 | |
|---|
| | 658 | Enables a speech synthesis engine syn. Available drivers: acntpc, acntsa, |
|---|
| | 659 | appolo, audptr, bns, decext, dectlk, dtlk, keypc, ltlk, soft, spkout, txprt. |
|---|
| | 660 | The "soft" driver uses Espeak to output sound through the first sound card. |
|---|
| | 661 | |
|---|
| | 662 | The GIT snapshot of speakup used on this CD has a known bug: copying and |
|---|
| | 663 | pasting text produces garbage and even can crash the computer. For copying |
|---|
| | 664 | and pasting text between programs, please use the "screen" terminal emulator |
|---|
| | 665 | instead of this buggy built-in feature of speakup. |
|---|
| | 666 | |
|---|
| | 667 | #### speakup.ser=[index] #### |
|---|
| | 668 | |
|---|
| | 669 | Example: |
|---|
| | 670 | |
|---|
| | 671 | speakup.ser=2 |
|---|
| | 672 | |
|---|
| | 673 | One-based serial port index to use with a hardware synth. The example above |
|---|
| | 674 | means that /dev/ttyS1 will be used. |
|---|
| | 675 | |
|---|
| | 676 | #### speakup.port=[port] #### |
|---|
| | 677 | |
|---|
| | 678 | A port address to use with speakup. |
|---|
| | 679 | |
|---|
| | 680 | ### MODULE HANDLING ### |
|---|
| | 681 | |
|---|
| | 682 | #### load=module1,module2,... #### |
|---|
| | 683 | |
|---|
| | 684 | Example: |
|---|
| | 685 | |
|---|
| | 686 | load=ide-generic |
|---|
| | 687 | |
|---|
| | 688 | Loads the specified modules unconditionally from initramfs. Use if your SCSI |
|---|
| | 689 | or IDE controller is not autodetected. If you don't specify this parameter |
|---|
| | 690 | and the CD doesn't detect your SCSI or IDE controller, you will be dropped |
|---|
| | 691 | into a debugging shell where you can load the needed module manually. |
|---|
| | 692 | |
|---|
| | 693 | #### blacklist=module1,module2,... #### |
|---|
| | 694 | |
|---|
| | 695 | Example: |
|---|
| | 696 | |
|---|
| | 697 | blacklist=yenta-socket |
|---|
| | 698 | |
|---|
| | 699 | Prevents the specified modules from being autoloaded. Use if udev autoloads |
|---|
| | 700 | a module that causes your computer to misbehave (e.g., crash or freeze). |
|---|
| | 701 | |
|---|
| | 702 | #### module.option=value #### |
|---|
| | 703 | |
|---|
| | 704 | Example: |
|---|
| | 705 | |
|---|
| | 706 | psmouse.proto=bare |
|---|
| | 707 | |
|---|
| | 708 | Sets arbitrary module options. |
|---|
| | 709 | |
|---|
| | 710 | ### ALTERNATIVE DRIVERS ### |
|---|
| | 711 | |
|---|
| | 712 | Options in this section do not take parameters. Example: |
|---|
| | 713 | |
|---|
| | 714 | pata new_firewire |
|---|
| | 715 | |
|---|
| | 716 | #### pata #### |
|---|
| | 717 | |
|---|
| | 718 | Causes the CD to use new libata-based drivers for IDE controllers. This option |
|---|
| | 719 | may be required for controller detection or recommended for optimal performance |
|---|
| | 720 | on computers manufactured in year 2006 and later. |
|---|
| | 721 | |
|---|
| | 722 | Caution: new drivers are safe to use only with IDE chipsets from AMD, Intel, |
|---|
| | 723 | ITE, JMicron, Marvell, Netcell, NVIDIA, Serverworks, Promise, Silicon Image, |
|---|
| | 724 | VIA, or Winbond. Drivers for other chipsets are likely to contain bugs that |
|---|
| | 725 | lead to data loss. |
|---|
| | 726 | |
|---|
| | 727 | #### new_firewire #### |
|---|
| | 728 | |
|---|
| | 729 | Uses the new (experimental) Juju FireWire stack. |
|---|
| | 730 | |
|---|
| | 731 | #### all-generic-ide #### |
|---|
| | 732 | |
|---|
| | 733 | Attempts to support unknown PCI IDE and SATA controllers (slow). |
|---|
| | 734 | For SATA support to work with this option, the SATA controller |
|---|
| | 735 | must be put into "Legacy" (as opposed to "Native") mode in the BIOS. |
|---|
| | 736 | |
|---|
| | 737 | ### TROUBLESHOOTING ### |
|---|
| | 738 | |
|---|
| | 739 | #### debug #### |
|---|
| | 740 | |
|---|
| | 741 | Displays kernel messages during the boot process. |
|---|
| | 742 | |
|---|
| | 743 | #### rootdelay=X #### |
|---|
| | 744 | |
|---|
| | 745 | Example: |
|---|
| | 746 | |
|---|
| | 747 | rootdelay=20 |
|---|
| | 748 | |
|---|
| | 749 | Waits X seconds before attempting to find the CD. Required (with X=20) |
|---|
| | 750 | for booting from USB or FireWire CD-ROMs. |
|---|
| | 751 | |
|---|
| | 752 | #### nodhcp #### |
|---|
| | 753 | |
|---|
| | 754 | Prevents the CD from attempting to obtain an IP address automatically. |
|---|
| | 755 | May be required for wireless networking, because the WEP or WPA key |
|---|
| | 756 | needs to be set up first. |
|---|
| | 757 | |
|---|
| | 758 | #### Options for buggy motherboards #### |
|---|
| | 759 | |
|---|
| | 760 | Example: |
|---|
| | 761 | |
|---|
| | 762 | nomsi noapic nolapic pci=noacpi acpi=off clock=pit ide=nodma |
|---|
| | 763 | |
|---|
| | 764 | These options work around various chipset bugs. Try them one-by-one in the |
|---|
| | 765 | order given above and in various combinations if the CD does not boot, or if |
|---|
| | 766 | a device does not work correctly or fails after hibernating and resuming. |
|---|
| | 767 | Note: if this helps, the bug is in the hardware or the BIOS, not in this CD. |
|---|
| | 768 | |
|---|