www.Tutorialsforu.info

Free Tutorials Cave

  • Increase font size
  • Default font size
  • Decrease font size
Your Ad Here



Linux Loader LILO - Page 3

E-mail Print
Article Index
Linux Loader LILO
Page 2
Page 3
Page 4
All Pages

LILO Boot Prompt Options



The following sample list of options can be passed to LILO at the boot prompt to enable special features of your system or to pass options to the Linux kernel to enable a proper boot. Knowing any needed options for your system is especially handy during the Red Hat Linux installation process because you’ll be asked for any special options if you choose to install LILO then.

Although you’ll normally type linux or dos at the LILO: prompt, you can also try one or two of the following. For a more up-to-date list of kernel messages or options, read Paul Gortmaker’s BootPrompt-HOWTO under the /usr/doc/HOWTO directory.

s Linux into single-user mode to allow system fixes (see Chapter 4 for rescue—Boots details).

s to rescue, but attempts to boot from your hard drive.

single—Similar

s root=<device>—Similar to the /etc/lilo.conf entry, this option allows you to boot from a CD-ROM or other storage device.

s vga=<mode>—Enables you to change the resolution of your console; try the ask mode.

Using LOADLIN.EXE to Boot Linux



is a program that uses the DOS MBR to boot Linux. This handy program, by LOADLIN.EXE Hans Lermen, will also pass along kernel options. LOADLIN.EXE is very helpful when you must boot from DOS in order to properly initialize modems or sound cards to make them work under Linux.

You need to do two things before using LOADLIN.EXE:

1. Copy LOADLIN.EXE to a DOS partition (for example, C:LOADLIN).

2. Put a copy of your kernel image (/vmlinuz) on your DOS partition.

For example, to boot Linux, type the following from the DOS command line:

loadlin c:vmlinuz root=/dev/hda3 ro

Make sure that you insert your root partition in the command line. The ro is for read-only. When you are first booting a Linux partition, it should be mounted as read-only or data loss could occur.

If you have a UMSDOS filesystem, you can type

loadlin c:vmlinuz root=/dev/hda1 rw

The rw is for read/write. It is safe to start a UMSDOS filesystem this way. Again, make sure

LILO

that you substitute your own partition in. LOADLIN.EXE accepts a number of options. See its documentation in the LOADLIN.TGZ file under the Dosutils directory on the book’s CD-ROM.


 

Subscribe By Email

Enter your email address:

Delivered by FeedBurner

Translate

Donate

Development & maintainance needs time & money.
With your donation you can help us to keep this project alive
Donate:
  Monthly Monthly
Currency
Amount