Prev | Current Page 560 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"


272
Choosing and Installing a Linux Distribution Part III
FIGURE 7-2
From the GRUB boot screen, you can select to change boot options.
If you are going to change any of the lines related to the boot process, you would probably change
only the second line to add or remove boot options. Here is how you do that:
1. Position the cursor on the kernel line and type e.
2. Either add or remove options after the name of the boot image. You can use a minimal set
of bash shell command-line editing features to edit the line. You can even use command
completion (type part of a filename and press Tab to complete it). Here are a few options
you may want to add or delete:
 Boot to a shell??”If you forgot your root password or if your boot process hangs, you
can boot directly to a shell by adding init=/bin/sh to the boot line. (The file system
is mounted read-only, so you can copy files out. You need to remount the file system
with read/write permission to be able to change files.)
 Select a run level??”If you want to boot to a particular run level, you can add the
word linux, followed by the number of the run level you want. For example, to have
Fedora Linux boot to run level 3 (multiuser plus networking mode), add linux 3 to
the end of the boot line. You can also boot to single-user mode (1), multiuser mode
(2), or X GUI mode (5).


Pages:
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