| … | |
… | |
| 2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
| 3 | |
3 | |
| 4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-medium.xml,v 1.5 2008/04/01 08:53:46 nightmorph Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-medium.xml,v 1.6 2008/05/02 08:04:23 nightmorph Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>6.0</version> |
11 | <version>6.1</version> |
| 12 | <date>2008-04-01</date> |
12 | <date>2008-05-02</date> |
| 13 | |
13 | |
| 14 | <section> |
14 | <section> |
| 15 | <title>Hardware Requirements</title> |
15 | <title>Hardware Requirements</title> |
| 16 | <subsection> |
16 | <subsection> |
| 17 | <title>Introduction</title> |
17 | <title>Introduction</title> |
| … | |
… | |
| 283 | <p> |
283 | <p> |
| 284 | You can also provide kernel options. They represent optional settings |
284 | You can also provide kernel options. They represent optional settings |
| 285 | you can (de)activate at will. |
285 | you can (de)activate at will. |
| 286 | </p> |
286 | </p> |
| 287 | |
287 | |
| 288 | <pre caption="Options available to pass to your kernel of choice"> |
288 | </body> |
| 289 | - agpgart loads agpgart (use if you have graphic problems,lockups) |
|
|
| 290 | - ide=nodma force disabling of DMA for malfunctioning IDE devices |
|
|
| 291 | - doscsi scan for scsi devices (breaks some ethernet cards) |
|
|
| 292 | - dopcmcia starts pcmcia service for PCMCIA cdroms |
|
|
| 293 | - nofirewire disables firewire modules in initrd (for firewire cdroms,etc) |
|
|
| 294 | - nokeymap disables keymap selection for non-us keyboard layouts |
|
|
| 295 | - docache cache the entire runtime portion of CD in RAM, allows you |
|
|
| 296 | to umount /mnt/cdrom to mount another CD. |
|
|
| 297 | - nodetect causes hwsetup/kudzu and hotplug not to run |
|
|
| 298 | - nousb disables usb module load from initrd, disables hotplug |
|
|
| 299 | - nodhcp dhcp does not automatically start if nic detected |
|
|
| 300 | - nohotplug disables loading hotplug service |
|
|
| 301 | - noapic disable apic (try if having hardware problems nics,scsi,etc) |
|
|
| 302 | - noevms disable loading of EVMS2 modules |
|
|
| 303 | - nolvm disable loading of LVM2 modules |
|
|
| 304 | - noload=module1,[module2,[...]] |
|
|
| 305 | disable loading of specific kernel modules |
|
|
| 306 | - dosshd starts sshd, useful for unattended installs |
|
|
| 307 | - passwd=foo sets whatever is after the = as the root password; use with the |
|
|
| 308 | dosshd option for remote installs |
|
|
| 309 | </pre> |
|
|
| 310 | |
289 | |
|
|
290 | <body> |
|
|
291 | <include href="hb-install-kernelparams.xml"/> |
|
|
292 | </body> |
|
|
293 | |
|
|
294 | <body> |
|
|
295 | |
|
|
296 | <note> |
|
|
297 | The CD will check for "no*" options before "do*" options, so that you can |
|
|
298 | override any option in the exact order you specify. |
|
|
299 | </note> |
|
|
300 | |
| 311 | <p> |
301 | <p> |
| 312 | You will then be greeted with a boot screen. If you are installing |
302 | You will then be greeted with a boot screen. If you are installing Gentoo on a |
| 313 | Gentoo on a system with a non-US keyboard, make sure you select the |
303 | system with a non-US keyboard, make sure you select the layout at the prompt. If |
| 314 | layout at the prompt. If no selection is made in 10 seconds the |
304 | no selection is made in 10 seconds the default (US keyboard) will be accepted |
| 315 | default (US keyboard) will be accepted and the boot process will |
305 | and the boot process will continue. Once the boot process completes, you will be |
| 316 | continue. Once the boot process completes, you will be automatically |
|
|
| 317 | logged in to the "Live" Gentoo Linux as "root", the super user. You |
306 | automatically logged in to the "Live" Gentoo Linux as "root", the super user. |
| 318 | should have a root ("#") prompt on the current console. If you are |
307 | You should have a root ("#") prompt on the current console. If you are using a |
| 319 | using a video console and have a keyboard connected you can also |
308 | video console and have a keyboard connected you can also switch to other |
| 320 | switch to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get |
309 | consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you started |
| 321 | back to the one you started on by pressing Alt-F1. |
310 | on by pressing Alt-F1. |
| 322 | </p> |
311 | </p> |
| 323 | |
312 | |
| 324 | <p> |
313 | <p> |
| 325 | Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
314 | Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
| 326 | </p> |
315 | </p> |
| 327 | |
316 | |
| 328 | </body> |
317 | </body> |
| 329 | </subsection> |
318 | </subsection> |
| 330 | <subsection id="hardware"> |
|
|
| 331 | <title>Extra Hardware Configuration</title> |
|
|
| 332 | <body> |
|
|
| 333 | |
319 | |
| 334 | <p> |
|
|
| 335 | When the Installation CD boots, it tries to detect all your hardware devices |
|
|
| 336 | and loads the appropriate kernel modules to support your hardware. In the vast |
|
|
| 337 | majority of cases, it does a very good job. However, in some cases it may not |
|
|
| 338 | auto-load the kernel modules you need. If the PCI auto-detection missed some of |
|
|
| 339 | your system's hardware, you will have to load the appropriate kernel modules |
|
|
| 340 | manually. |
|
|
| 341 | </p> |
|
|
| 342 | |
|
|
| 343 | <p> |
|
|
| 344 | In the next example we try to load the <c>8139too</c> module (support for |
|
|
| 345 | certain kinds of network interfaces): |
|
|
| 346 | </p> |
|
|
| 347 | |
|
|
| 348 | <pre caption="Loading kernel modules"> |
|
|
| 349 | # <i>modprobe 8139too</i> |
|
|
| 350 | </pre> |
|
|
| 351 | |
|
|
| 352 | </body> |
|
|
| 353 | </subsection> |
320 | <subsection> |
|
|
321 | <include href="hb-install-bootconfig.xml"/> |
| 354 | <subsection> |
322 | </subsection> |
| 355 | <title>Optional: Tweaking Hard Disk Performance</title> |
|
|
| 356 | <body> |
|
|
| 357 | |
323 | |
| 358 | <p> |
|
|
| 359 | If you are an advanced user, you might want to tweak the IDE hard disk |
|
|
| 360 | performance using <c>hdparm</c>. With the <c>-tT</c> options you can |
|
|
| 361 | test the performance of your disk (execute it several times to get a |
|
|
| 362 | more precise impression): |
|
|
| 363 | </p> |
|
|
| 364 | |
|
|
| 365 | <pre caption="Testing disk performance"> |
|
|
| 366 | # <i>hdparm -tT /dev/hda</i> |
|
|
| 367 | </pre> |
|
|
| 368 | |
|
|
| 369 | <p> |
|
|
| 370 | To tweak, you can use any of the following examples (or experiment |
|
|
| 371 | yourself) which use <path>/dev/hda</path> as disk (substitute with your |
|
|
| 372 | disk): |
|
|
| 373 | </p> |
|
|
| 374 | |
|
|
| 375 | <pre caption="Tweaking hard disk performance"> |
|
|
| 376 | <comment>(Activate DMA:)</comment> |
|
|
| 377 | # <i>hdparm -d 1 /dev/hda</i> |
|
|
| 378 | <comment>(Activate Safe Performance Options:)</comment> |
|
|
| 379 | # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
|
|
| 380 | </pre> |
|
|
| 381 | |
|
|
| 382 | </body> |
|
|
| 383 | </subsection> |
|
|
| 384 | <subsection id="useraccounts"> |
|
|
| 385 | <title>Optional: User Accounts</title> |
|
|
| 386 | <body> |
|
|
| 387 | |
|
|
| 388 | <p> |
|
|
| 389 | If you plan on giving other people access to your installation |
|
|
| 390 | environment or you want to chat using <c>irssi</c> without root privileges (for |
|
|
| 391 | security reasons), you need to create the necessary user accounts and change |
|
|
| 392 | the root password. |
|
|
| 393 | </p> |
|
|
| 394 | |
|
|
| 395 | <p> |
|
|
| 396 | To change the root password, use the <c>passwd</c> utility: |
|
|
| 397 | </p> |
|
|
| 398 | |
|
|
| 399 | <pre caption="Changing the root password"> |
|
|
| 400 | # <i>passwd</i> |
|
|
| 401 | New password: <comment>(Enter your new password)</comment> |
|
|
| 402 | Re-enter password: <comment>(Re-enter your password)</comment> |
|
|
| 403 | </pre> |
|
|
| 404 | |
|
|
| 405 | <p> |
|
|
| 406 | To create a user account, we first enter their credentials, followed by |
|
|
| 407 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
|
|
| 408 | In the next example, we create a user called "john". |
|
|
| 409 | </p> |
|
|
| 410 | |
|
|
| 411 | <pre caption="Creating a user account"> |
|
|
| 412 | # <i>useradd -m -G users john</i> |
|
|
| 413 | # <i>passwd john</i> |
|
|
| 414 | New password: <comment>(Enter john's password)</comment> |
|
|
| 415 | Re-enter password: <comment>(Re-enter john's password)</comment> |
|
|
| 416 | </pre> |
|
|
| 417 | |
|
|
| 418 | <p> |
|
|
| 419 | You can change your user id from root to the newly created user by using |
|
|
| 420 | <c>su</c>: |
|
|
| 421 | </p> |
|
|
| 422 | |
|
|
| 423 | <pre caption="Changing user id"> |
|
|
| 424 | # <i>su - john</i> |
|
|
| 425 | </pre> |
|
|
| 426 | |
|
|
| 427 | </body> |
|
|
| 428 | </subsection> |
|
|
| 429 | <subsection> |
|
|
| 430 | <title>Optional: Starting the SSH Daemon</title> |
|
|
| 431 | <body> |
|
|
| 432 | |
|
|
| 433 | <p> |
|
|
| 434 | If you want to allow other users to access your computer during the |
|
|
| 435 | Gentoo installation (perhaps because those users are going to help you |
|
|
| 436 | install Gentoo, or even do it for you), you need to create a user |
|
|
| 437 | account for them and perhaps even provide them with your root password |
|
|
| 438 | (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
|
|
| 439 | </p> |
|
|
| 440 | |
|
|
| 441 | <p> |
|
|
| 442 | To fire up the SSH daemon, execute the following command: |
|
|
| 443 | </p> |
|
|
| 444 | |
|
|
| 445 | <pre caption="Starting the SSH daemon"> |
|
|
| 446 | # <i>/etc/init.d/sshd start</i> |
|
|
| 447 | </pre> |
|
|
| 448 | |
|
|
| 449 | <p> |
|
|
| 450 | To be able to use sshd, you first need to set up your networking. Continue with |
|
|
| 451 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
|
|
| 452 | </p> |
|
|
| 453 | |
|
|
| 454 | </body> |
|
|
| 455 | </subsection> |
|
|
| 456 | </section> |
324 | </section> |
| 457 | </sections> |
325 | </sections> |