package modules; # $Id$ use strict; use vars qw(%conf); use common; use detect_devices; use run_program; use log; use list_modules; %conf = (); sub modules_descriptions { my $f = '/lib/modules/' . c::kernel_version() . '/modules.description'; -e $f or $f = '/lib/modules.description'; map { /(\S+)\s+(.*)/ } cat_($f); } sub module2description { +{ modules_descriptions() }->{$_[0]} } sub category2modules_and_description { my ($categories) = @_; my %modules_descriptions = modules_descriptions(); map { $_ => $modules_descriptions{$_} } category2modules($categories); } #-############################################################################### #- module loading #-############################################################################### # handles dependencies # eg: load('vfat', 'reiserfs', [ ne2k => 'io=0xXXX', 'dma=5' ]) sub load { #- keeping the order of modules my %options; my @l = map { my ($name, @options) = ref($_) ? @$_ : $_; $options{$name} = \@options; dependencies_closure($name); } @_; @l = difference2([ uniq(@l) ], [ loaded_modules() ]) or return; my $network_module = do { my ($network_modules, $other) = partition { module2category($_) =~ m,network/(main|gigabit|usb), } @l; if (@$network_modules > 1) { # do it one by one load($_) foreach @$network_modules; load(@$other); return; } $network_modules->[0]; }; my @network_devices = $network_module ? detect_devices::getNet() : (); if ($::testing || $::blank) { log::l("i would load module $_ (" . join(" ", @{$options{$_}}) . ")") foreach @l; } elsif ($::isStandalone || $::live) { run_program::run('/sbin/modprobe', $_, @{$options{$_}}) or !run_program::run('/sbin/modprobe', '-n', $_) #- ignore missing modules or die "insmod'ing module $_ failed" foreach @l; } else { load_raw(map { [ $_ => $options{$_} ] } @l); } sleep 2 if any { /^(usb-storage|mousedev|printer)$/ } @l; if ($network_module) { add_alias($_, $network_module) foreach difference2([ detect_devices::getNet() ], \@network_devices); } when_load($_, @{$options{$_}}) foreach @l; } sub unload { if ($::testing) { log::l("rmmod $_") foreach @_; } else { run_program::run("rmmod", $_) foreach @_; } } sub load_category { my ($category, $wait_message, $probe_type) = @_; #- probe_category returns the PCMCIA cards. It doesn't know they are already #- loaded, so: read_already_loaded(); my @try_modules = ( if_($category =~ /scsi/, if_(arch() !~ /ppc/, 'imm', 'ppa'), if_(detect_devices::usbStorage(), 'usb-storage'), ), if_(arch() =~ /ppc/, if_($category =~ /scsi/, 'mesh', 'mac53c94'), if_($category =~ /net/, 'bmac', 'gmac', 'mace', 'airport'), if_($category =~ /sound/, 'dmasound_pmac'), ), ); grep { $wait_message->($_->{description}, $_->{driver}) if $wait_message; eval { load([ $_->{driver}, $_->{options} ]) }; $_->{error} = $@; $_->{try} = 1 if $_->{driver} eq 'hptraid'; !($_->{error} && $_->{try}); } probe_category($category, $probe_type), map { { driver => $_, description => $_, try => 1 } } @try_modules; } sub probe_category { my ($category, $probe_type) = @_; my @modules = category2modules($category); grep { if ($category eq 'network/isdn') { my $b = $_->{driver} =~ /ISDN:([^,]*),?([^,]*),?(.*)/; if ($b) { $_->{driver} = $1; $_->{options} = $2; $_->{firmware} = $3; $_->{firmware} =~ s/firmware=//; $_->{driver} eq "hisax" and $_->{options} .= " id=HiSax"; } $b; } else { member($_->{driver}, @modules); } } detect_devices::probeall($probe_type); } sub load_ide { eval { load("ide-cd") } } #-############################################################################### #- modules.conf functions #-############################################################################### sub get_alias { my ($alias) = @_; $conf{$alias}{alias}; } sub get_probeall { my ($alias) = @_; $conf{$alias}{probeall}; } sub get_options { my ($name) = @_; $conf{$name}{options}; } sub set_options { my ($name, $new_option) = @_; $conf{$name}{options} = $new_option; } sub add_alias { my ($alias, $module) = @_; $module =~ /ignore/ and return; /\Q$alias/ && $conf{$_}{alias} && $conf{$_}{alias} eq $module and return $_ foreach keys %conf; log::l("adding alias $alias to $module"); $conf{$alias}{alias} ||= $module; $conf{$module}{above} = 'snd-pcm-oss' if $module =~ /^snd-/; $alias; } sub add_probeall { my ($alias, $module) = @_; my $l = $conf{$alias}{probeall} ||= []; @$l = uniq(@$l, $module); log::l("setting probeall $alias to @$l"); } sub remove_alias($) { my ($name) = @_; foreach (keys %conf) { $conf{$_}{alias} && $conf{$_}{alias} eq $name or next; delete $conf{$_}{alias}; return 1; } 0; } sub remove_module($) { my ($name) = @_; remove_alias($name); delete $conf{$name}; 0; } sub read_conf { my ($file) = @_; my %c; foreach (cat_($file)) { next if /^\s*#/; s/#.*$//; my ($type, $alias, $val) = split(/\s+/, chomp_($_), 3) or next; $val =~ s/\s+$//; $val = [ split ' ', $val ] if $type eq 'probeall'; $c{$alias}{$type} = $val; } #- cheating here: not handling aliases of aliases while (my ($_k, $v) = each %c) { if (my $a = $v->{alias}) { local $c{$a}{alias}; delete $v->{probeall}; add2hash($c{$a}, $v); } } #- convert old aliases to new probeall foreach my $name ('scsi_hostadapter', 'usb-interface') { my @old_aliases = map { $_->[0] } sort { $a->[1] <=> $b->[1] } map { if_(/^$name(\d*)/ && $c{$_}{alias}, [ $_, $1 || 0 ]) } keys %c; foreach my $alias (@old_aliases) { push @{$c{$name}{probeall} ||= []}, delete $c{$alias}{alias}; } } \%c; } sub mergein_conf { my ($file) = @_; my $modconfref = read_conf($file); while (my ($key, $value) = each %$modconfref) { $conf{$key}{alias} = $value->{alias} if !exists $conf{$key}{alias}; $conf{$key}{options} = $value->{options} if $value->{options}; push @{$conf{$key}{probeall} ||= []}, deref($value->{probeall}); } } sub write_conf { my ($prefix) = @_; my $file = "$prefix/etc/modules.conf"; rename "$prefix/etc/conf.modules", $file; #- make the switch to new name if needed #- Substitute new aliases in modules.conf (if config has changed) substInFile { my ($type, $alias, $module) = split(/\s+/, chomp_($_), 3); if ($type eq 'post-install' && $alias eq 'supermount') { #- remove the post-install supermount stuff. $_ = ''; } elsif ($type eq 'alias' && $alias =~ /scsi_hostadapter|usb-interface/) { #- remove old aliases which are replaced by probeall $_ = ''; } elsif ($conf{$alias}{$type} && $conf{$alias}{$type} ne $module) { my $v = join(' ', uniq(deref($conf{$alias}{$type}))); $_ = "$type $alias $v\n"; } } $file; my $written = read_conf($file); open(my $F, ">> $file") or die("cannot write module config file $file: $!\n"); while (my ($mod, $h) = each %conf) { while (my ($type, $v) = each %$h) { my $v2 = join(' ', uniq(deref($v))); print $F "$type $mod $v2\n" if $v2 && !$written->{$mod}{$type}; } } my @l; push @l, 'scsi_hostadapter' if !is_empty_array_ref($conf{scsi_hostadapter}{probeall}); push @l, 'bttv' if any { $_->{driver} eq 'bttv' } detect_devices::probeall(); append_to_etc_modules($prefix, @l); } sub append_to_etc_modules { my ($prefix, @l) = @_; my $l = join '|', map { '^\s*'.$_.'\s*$' } @l; log::l("to put in modules ", join(", ", @l)); substInFile { $_ = '' if $l && /$l/; $_ .= join '', map { "$_\n" } @l if eof; } "$prefix/etc/modules"; } sub read_stage1_conf { mergein_conf($_[0]); } #-############################################################################### #- pcmcia various #-############################################################################### sub configure_pcmcia { my ($pcic) = @_; #- try to setup pcmcia if cardmgr is not running. my $running if 0; return if $running; $running = 1; if (c::kernel_version() =~ /^2\.2/) { my $msg = N("PCMCIA support no longer exists for 2.2 kernels. Please use a 2.4 kernel."); log::l($msg); return $msg; } log::l("i try to configure pcmcia services"); symlink "/tmp/stage2/$_", $_ foreach "/etc/pcmcia"; eval { load("pcmcia_core"); load($pcic); load("ds"); }; #- run cardmgr in foreground while it is configuring the card. run_program::run("cardmgr", "-f", "-m", "/modules"); sleep(3); #- make sure to be aware of loaded module by cardmgr. read_already_loaded(); } sub write_pcmcia { my ($prefix, $pcmcia) = @_; #- should be set after installing the package above otherwise the file will be renamed. setVarsInSh("$prefix/etc/sysconfig/pcmcia", { PCMCIA => bool2yesno($pcmcia), PCIC => $pcmcia, PCIC_OPTS => "", CORE_OPTS => "", }); } #-############################################################################### #- internal functions #-############################################################################### sub loaded_modules { map { /(\S+)/ } cat_("/proc/modules"); } sub read_already_loaded { when_load($_) foreach reverse loaded_modules(); } sub when_load { my ($name, @options) = @_; load('snd-pcm-oss') if $name =~ /^snd-/; add_alias('ieee1394-controller', $name) if member($name, 'ohci1394'); add_probeall('usb-interface', $name) if $name =~ /usb-[uo]hci/ || $name eq 'ehci-hcd'; $conf{$name}{options} = join " ", @options if @options; if (my $category = module2category($name)) { if ($category =~ m,disk/(scsi|hardware_raid|usb),) { add_probeall('scsi_hostadapter', $name); eval { load('sd_mod') }; } add_alias('sound-slot-0', $name) if $category =~ /sound/; } } sub cz_file { "/lib/modules" . (arch() eq 'sparc64' && "64") . ".cz-" . c::kernel_version(); } sub extract_modules { my ($dir, @modules) = @_; my $cz = cz_file(); if (!-e $cz) { unlink $_ foreach glob_("/lib/modules*.cz*"); require install_any; install_any::getAndSaveFile("Mandrake/mdkinst$cz", $cz) or die "failed to get modules $cz: $!"; } eval { require packdrake; my $packer = new packdrake($cz, quiet => 1); $packer->extract_archive($dir, map { "$_.o" } @modules); }; } sub load_raw { my @l = @_; extract_modules('/tmp', map { $_->[0] } @l); my @failed = grep { my $m = "/tmp/$_->[0].o"; if (-e $m && run_program::run(["/usr/bin/insmod_", "insmod"], '2>', '/dev/tty5', $m, @{$_->[1]})) { unlink $m; ''; } else { log::l("missing module $_->[0]") if !-e $m; -e $m; } } @l; die "insmod'ing module " . join(", ", map { $_->[0] } @failed) . " failed" if @failed; foreach (@l) { if ($_->[0] =~ /usb-[uo]hci/) { eval { require fs; fs::mount('/proc/bus/usb', '/proc/bus/usb', 'usbdevfs'); #- ensure keyboard is working, the kernel must do the job the BIOS was doing sleep 2; load("usbkbd", "keybdev") if detect_devices::usbKeyboards(); } } } } sub get_parameters { my %conf; foreach (split(' ', get_options($_[0]))) { /(.*)=(.*)/; $conf{$1} = $2; }; %conf; } 1; '>162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018
package help;
use common;

# IMPORTANT: Don't edit this File - It is automatically generated 
#            from the manuals !!! 
#            Write a mail to <documentation@mandrakesoft.com> if
#            you want it changed.

our %steps = (

acceptLicense => 
N_("Before continuing, you should carefully read the terms of the license. It
covers the entire Mandrake Linux distribution. If you do agree with all the
terms in it, check the \"Accept\" box. If not, simply turn off your
computer."),

addUser => 
N_("GNU/Linux is a multi-user system, meaning each user can have their own
preferences, their own files and so on. You can read the ``Starter Guide''
to learn more about multi-user systems. But unlike \"root\", which is the
system administrator, the users you add at this point will not be
authorized to change anything except their own files and their own
configuration, protecting the system from unintentional or malicious
changes that impact the system as a whole. You will have to create at least
one regular user for yourself -- this is the account which you should use
for routine, day-to-day use. Although it is very easy to log in as \"root\"
to do anything and everything, it may also be very dangerous! A mistake
could mean that your system would not work any more. If you make a serious
mistake as a regular user, the worst that will happen is that you will lose
some information, but not affect the entire system.

The first field asks you for a real name. Of course, this is not mandatory
-- you can actually enter whatever you like. DrakX will use the first word
you typed in and copy it to the \"User name\" field, which is the name this
user will enter to log onto the system. If you like, you may override the
default and change the username. The next step is to enter a password. From
a security point of view, a non-privileged (regular) user password is not
as crucial as the \"root\" password, but that is no reason to neglect it by
making it blank or too simple: after all, your files could be the ones at
risk.

Once you click on \"Accept user\", you can add other users. Add a user for
each one of your friends: your father or your sister, for example. Click
\"Next ->\" when you have finished adding users.

Clicking the \"Advanced\" button allows you to change the default \"shell\"
for that user (bash by default).

When you are finished adding all users, you will be asked to choose a user
that can automatically log into the system when the computer boots up. If
you are interested in that feature (and do not care much about local
security), choose the desired user and window manager, then click \"Next
->\". If you are not interested in this feature, uncheck the \"Do you want
to use this feature?\" box."),

ask_mntpoint_s => 
N_("Here are Listed the existing Linux partitions detected on your hard drive.
You can keep the choices made by the wizard, since they are good for most
common installations. If you make any changes, you must at least define a
root partition (\"/\"). Do not choose too small a partition or you will not
be able to install enough software. If you want to store your data on a
separate partition, you will also need to create a \"/home\" partition
(only possible if you have more than one Linux partition available).

Each partition is listed as follows: \"Name\", \"Capacity\".

\"Name\" is structured: \"hard drive type\", \"hard drive number\",
\"partition number\" (for example, \"hda1\").

\"Hard drive type\" is \"hd\" if your hard drive is an IDE hard drive and
\"sd\" if it is a SCSI hard drive.

\"Hard drive number\" is always a letter after \"hd\" or \"sd\". For IDE
hard drives:

 * \"a\" means \"master hard drive on the primary IDE controller\";

 * \"b\" means \"slave hard drive on the primary IDE controller\";

 * \"c\" means \"master hard drive on the secondary IDE controller\";

 * \"d\" means \"slave hard drive on the secondary IDE controller\".

With SCSI hard drives, an \"a\" means \"lowest SCSI ID\", a \"b\" means
\"second lowest SCSI ID\", etc."),

chooseCd => 
N_("The Mandrake Linux installation is distributed on several CD-ROMs. DrakX
knows if a selected package is located on another CD-ROM so it will eject
the current CD and ask you to insert the correct CD as required."),

choosePackages => 
N_("It is now time to specify which programs you wish to install on your
system. There are thousands of packages available for Mandrake Linux, and
to make it simpler to manage the packages have been placed into groups of
similar applications.

Packages are sorted into groups corresponding to a particular use of your
machine. Mandrake Linux has four predefined installations available. You
can think of these installation classes as containers for various packages.
You can mix and match applications from the various containers, so a
``Workstation'' installation can still have applications from the
``Development'' container installed.

 * \"Workstation\": if you plan to use your machine as a workstation,
select one or more of the applications that are in the workstation
container.

 * \"Development\": if plan on using your machine for programming, choose
the appropriate packages from the container.

 * \"Server\": if your machine is intended to be a server, select which of
the more common services you wish to install on your machine.

 * \"Graphical Environment\": this is where you will choose your preferred
graphical environment. At least one must be selected if you want to have a
graphical interface available.

Moving the mouse cursor over a group name will display a short explanatory
text about that group. If you unselect all groups when performing a regular
installation (as opposed to an upgrade), a dialog will pop up proposing
different options for a minimal installation:

 * \"With X\": install the minimum number of packages possible to have a
working graphical desktop.

 * \"With basic documentation\": installs the base system plus basic
utilities and their documentation. This installation is suitable for
setting up a server.

 * \"Truly minimal install\": will install the absolute minimum number of
packages necessary to get a working Linux system. With this installation
you will only have a command line interface. The total size of this
installation is 65 megabytes.

You can check the \"Individual package selection\" box, which is useful if
you are familiar with the packages being offered or if you want to have
total control over what will be installed.

If you started the installation in \"Upgrade\" mode, you can unselect all
groups to avoid installing any new package. This is useful for repairing or
updating an existing system."),

choosePackagesTree => 
N_("If you told the installer that you wanted to individually select packages,
it will present a tree containing all packages classified by groups and
subgroups. While browsing the tree, you can select entire groups,
subgroups, or individual packages.

Whenever you select a package on the tree, a description appears on the
right to let you know the purpose of the package.

!! If a server package has been selected, either because you specifically
chose the individual package or because it was part of a group of packages,
you will be asked to confirm that you really want those servers to be
installed. By default Mandrake Linux will automatically start any installed
services at boot time. Even if they are safe and have no known issues at
the time the distribution was shipped, it is entirely possible that that
security holes are discovered after this version of Mandrake Linux was
finalized. If you do not know what a particular service is supposed to do
or why it is being installed, then click \"No\". Clicking \"Yes \" will
install the listed services and they will be started automatically by
default during boot. !!

The \"Automatic dependencies\" option is used to disable the warning dialog
which appears whenever the installer automatically selects a package to
resolve a dependency issue. Some packages have relationships between each
other such that installation of a package requires that some other program
is already installed. The installer can determine which packages are
required to satisfy a dependency to successfully complete the installation.

The tiny floppy disk icon at the bottom of the list allows you to load a
package list created during a previous installation. This is useful if you
have a number of machines that you wish to configure identically. Clicking
on this icon will ask you to insert a floppy disk previously created at the
end of another installation. See the second tip of last step on how to
create such a floppy."),

configureNetwork => 
N_("You will now set up your Internet/network connection. If you wish to
connect your computer to the Internet or to a local network, click \"Next
->\". Mandrake Linux will attempt to autodetect network devices and modems.
If this detection fails, uncheck the \"Use auto detection\" box. You may
also choose not to configure the network, or to do it later, in which case
clicking the \"Cancel\" button will take you to the next step.

When configuring your network, the available connections options are:
traditional modem, ISDN modem, ADSL connection, cable modem, and finally a
simple LAN connection (Ethernet).

We will not detail each configuration option - just make sure that you have
all the parameters, such as IP address, default gateway, DNS servers, etc.
from your Internet Service Provider or system administrator.

You can consult the ``Starter Guide'' chapter about Internet connections
for details about the configuration, or simply wait until your system is
installed and use the program described there to configure your connection."),

configurePrinter => 
N_("\"Printer\": clicking on the \"No Printer\" button will open the printer
configuration wizard. Consult the corresponding chapter of the ``Starter
Guide'' for more information on how to setup a new printer. The interface
presented there is similar to the one used during installation."),

configureServices => 
N_("This step is used to choose which services you wish to start at boot time.

DrakX will list all the services available on the current installation.
Review each one carefully and uncheck those which are not always needed at
boot time.

A short explanatory text will be displayed about a service when it is
selected. However, if you are not sure whether a service is useful or not,
it is safer to leave the default behavior.

!! At this stage, be very careful if you intend to use your machine as a
server: you will probably not want to start any services that you do not
need. Please remember that several services can be dangerous if they are
enabled on a server. In general, select only the services you really need.
!!"),

configureTimezoneGMT => 
N_("GNU/Linux manages time in GMT (Greenwich Mean Time) and translates it to
local time according to the time zone you selected. If the clock on your
motherboard is set to local time, you may deactivate this by unselecting
\"Hardware clock set to GMT \", which will let GNU/Linux know that the
system clock and the hardware clock are in the same timezone. This is
useful when the machine also hosts another operating system like Windows.

The \"Automatic time synchronization \" option will automatically regulate
the clock by connecting to a remote time server on the Internet. For this
feature to work, you must have a working Internet connection. It is best to
choose a time server located near you. This option actually installs a time
server that can used by other machines on your local network."),

configureX_card_list => 
N_("Graphic Card

   The installer can normally automatically detect and configure the
graphic card installed on your machine. If it is not the case, you can
choose in this list the card you actually own.

   In the case that different servers are available for your card, with or
without 3D acceleration, you are then proposed to choose the server that
best suits your needs."),

configureX_chooser => 
N_("X (for X Window System) is the heart of the GNU/Linux graphical interface
on which all the graphical environments (KDE, GNOME, AfterStep,
WindowMaker, etc.) bundled with Mandrake Linux rely upon.

You will be presented the list of different parameters to change to get an
optimal graphical display: Graphic Card

   The installer can normally automatically detect and configure the
graphic card installed on your machine. If it is not the case, you can
choose in this list the card you actually own.

   In the case that different servers are available for your card, with or
without 3D acceleration, you are then proposed to choose the server that
best suits your needs.



Monitor

   The installer can normally automatically detect and configure the
monitor connected to your machine. If it is not the case, you can choose in
this list the monitor you actually own.



Resolution

   You can choose here resolutions and color depth between those available
for your hardware. Choose the one that best suit your needs (you will be
able to change that after installation though). A sample of the chosen
configuration is shown in the monitor.



Test

   the system will try to open a graphical screen at the desired
resolution. If you can see the message during the test and answer \"Yes\",
then DrakX will proceed to the next step. If you cannot see the message, it
means that some part of the autodetected configuration was incorrect and
the test will automatically end after 12 seconds, bringing you back to the
menu. Change settings until you get a correct graphical display.



Options

   You can here choose whether you want to have your machine automatically
switch to a graphical interface at boot. Obviously, you want to check
\"No\" if your machine is to act as a server, or if you were not successful
in getting the display configured."),

configureX_monitor => 
N_("Monitor

   The installer can normally automatically detect and configure the
monitor connected to your machine. If it is not the case, you can choose in
this list the monitor you actually own."),

configureX_resolution => 
N_("Resolution

   You can choose here resolutions and color depth between those available
for your hardware. Choose the one that best suit your needs (you will be
able to change that after installation though). A sample of the chosen
configuration is shown in the monitor."),

configureX_xfree_and_glx => 
N_("In the case that different servers are available for your card, with or
without 3D acceleration, you are then proposed to choose the server that
best suits your needs."),

configureXxdm => 
N_("Finally, you will be asked whether you want to see the graphical interface
at boot. Note this question will be asked even if you chose not to test the
configuration. Obviously, you want to answer \"No\" if your machine is to
act as a server, or if you were not successful in getting the display
configured."),

createBootdisk => 
N_("Checking \"Create a boot disk\" allows you to have a rescue boot media
handy.

The Mandrake Linux CD-ROM has a built-in rescue mode. You can access it by
booting the CD-ROM, pressing the >> F1<< key at boot and typing >>rescue<<
at the prompt. If your computer cannot boot from the CD-ROM, there are at
least two situations where having a boot floppy is critical:

 * when installing the bootloader, DrakX will rewrite the boot sector (MBR)
of your main disk (unless you are using another boot manager), to allow you
to start up with either Windows or GNU/Linux (assuming you have Windows on
your system). If at some point you need to reinstall Windows, the Microsoft
install process will rewrite the boot sector and remove your ability to
start GNU/Linux!

 * if a problem arises and you cannot start GNU/Linux from the hard disk,
this floppy will be the only means of starting up GNU/Linux. It contains a
fair number of system tools for restoring a system that has crashed due to
a power failure, an unfortunate typing error, a forgotten root password, or
any other reason.

If you say \"Yes\", you will be asked to insert a disk in the drive. The
floppy disk must be blank or have non-critical data on it - DrakX will
format the floppy and will rewrite the whole disk."),

doPartitionDisks => 
N_("At this point, you need to decide where you want to install the Mandrake
Linux operating system on your hard drive. If your hard drive is empty or
if an existing operating system is using all the available space you will
have to partition the drive. Basically, partitioning a hard drive consists
of logically dividing it to create the space needed to install your new
Mandrake Linux system.

Because the process of partitioning a hard drive is usually irreversible
and can lead to lost data if there is an existing operating system already
installed on the drive, partitioning can be intimidating and stressful if
you are an inexperienced user. Fortunately, DrakX includes a wizard which
simplifies this process. Before continuing with this step, read through the
rest of this section and above all, take your time.

Depending on your hard drive configuration, several options are available:

 * \"Use free space\": this option will perform an automatic partitioning
of your blank drive(s). If you use this option there will be no further
prompts.

 * \"Use existing partition\": the wizard has detected one or more existing
Linux partitions on your hard drive. If you want to use them, choose this
option. You will then be asked to choose the mount points associated with
each of the partitions. The legacy mount points are selected by default,
and for the most part it's a good idea to keep them.

 * \"Use the free space on the Windows partition\": if Microsoft Windows is
installed on your hard drive and takes all the space available on it, you
have to create free space for Linux data. To do so, you can delete your
Microsoft Windows partition and data (see `` Erase entire disk'' solution)
or resize your Microsoft Windows FAT partition. Resizing can be performed
without the loss of any data, provided you previously defragment the
Windows partition and that it uses the FAT format. Backing up your data is
strongly recommended.. Using this option is recommended if you want to use
both Mandrake Linux and Microsoft Windows on the same computer.

   Before choosing this option, please understand that after this
procedure, the size of your Microsoft Windows partition will be smaller
then when you started. You will have less free space under Microsoft
Windows to store your data or to install new software.

 * \"Erase entire disk\": if you want to delete all data and all partitions