Interpretation of Lilo. conf and production of Self-boot CD

Source: Internet
Author: User
Tags null null

Interpretation of Lilo. conf and production of Self-boot CD

Null null

[Back] [forward 〗

Q: redhat6.1:
1 Boot =/dev/SDA
2 Map =/boot/Map
3 install =/boot. B
4 Prompt
5 timeout = 50
6 default = Linux
7 image =/boot/vmlinuz
8 label = Linux
9 initrd =/boot/initrd-2.2.12-20.img
10 read-only
11 root =/dev/sda1
Now, the problem is
(1) What is the difference between boot in line 1 and root in line 11?
(2) What are map, install, and initrd of rows 2, 3, and 9? After the new kernel is compiled, do you want to replace them? Who will replace it?

A: At 04/11/00, scenter wrote:
Root refers to the location of your root directory.
However, boot is the start position, which is used to start a floppy disk.
After you compile the new kernel, do the following:
Add the following lines:
Image =/boot/vmlinuz-new
Label = kernel-new
Root =/dev/hda3
Read-only
Among them, vmlinuz-new is the name of your newly compiled kernel. You can change it yourself.
Then run lilo.
========================================================== ======================================
Q: I used NT OS loader as the level-2 boot loader and lilo
First-level boot loader, that is, install WIN98 first, then install WINNT, and then install LINUX,
Now I want to remove lilo, but keep OS LOADER
Guides WIN98 and WINNT tools,
I don't know if I can use WIN98 FDISK/MBR. If not,
Instruct the younger brother how to do this.

A: 1. boot you computer by dos boot disk.
2. run fdisk/mbr
Good luck
========================================================== ======================================
Q: How do I remove LILO Boot Loader?

A: Use a dos disk and run fdisk/MBR to remove LILO.
========================================================== ======================================
Q: Hello, I have a question. I have two hard disks, one 8.4G is the primary disk (all WIN98), and the other 6.4G is the slave disk (divided into WIN98 and LINUX ), I usually block one of them in CMOS and use the other. I install WIN98 on the slave disk and then install REDHAT6.1. The problem is: 1. LINUX recognizes two hard disks. after LINUX is installed (start from/dev/hdb2 only, start from the master disk, and start from WIN98), LILO cannot be started, and WIN98 cannot be started, however, it can be started with a LIUNX emergency floppy disk. Request a solution.
Thank you.

A: I suggest using SmartFDISK written by suzhe, A physics doctor at Tsinghua.
To solve this problem. I have tested it and there is no problem. Win98
Just set it in/dev/hda. The SmartFDISK can be
Download http://suzhe.home.chinaren.net or somewhere else,
It is a very good free software. The 16-bit is ware, 32-bit
It's GPL. Now it's V2.0, and you can get to V3.0 next semester.
Version. The Compiler used is the gcc port version of The DJGPP and M $ platform.
Currently, SmartFDISK supports fat system partitions and multi-system boot.
Future versions will be integrated into PQ, SysCommander, and other partitions
And the excellent features of the boot tool, and provides the GNU/Linux version.
========================================================== ======================================
Q: When lilo is started, the screen will be filled with 00 00 ....
Keep rolling. When I start lilo with a CD, the warning is
Exceed 1024 cylinder limit. The fault persists.
My hard drive is 8.4 GB, with 1027 cylinder in total, linux
There are two 1g partitions in front of the root partition. How can this happen?

A: The Linux boot directory must be in the first 8 GB of the hard disk; otherwise, LInux does not recognize that you need to re-partition your partition. install LInux/boot in the first 8 GB. good luck
A: Actually, the cause is:
Access to the hard disk can also take two different forms:
1. the hard disk addressing in the boot system is guided according to the hard disk parameters stored in CMOS. CYLs, HEADs, SECs, and cylinder number occupy 10 binary digits, the addressing range can only be 0-1023; this is the Linux system that cannot be installed after the 1024 Cylinder Using LILO boot.
2. Linear address space
During installation, select linear mode and add hard disk parameters to it. You can check the line in which hard disk parameters correspond to LBA mode in BIOS settings. For example:
Hda = 1869,63, 255 IBM 15.2 GB hard drive parameters.
Edit/etc/lilo. conf in the following format after adding parameters as linear:
Boot =/dev/hda
Map =/boot/map
Install =/boot. B
Prompt
Linear:-} add this
Timeout = 50
Image =/boot/vmlinuz
Label = linux
Root =/dev/hda1
Initrd =/boot/initrd-2.2.12-20.img
Read-only
Append = "hda = 1869,63, 255":-} add this
Save the modification and run the lilo command at the command prompt.
Lilo guides the system in linear mode.
========================================================== ======================================
Q: How to enable the CD for Linux?

A: I did it last month. Remember this:
# Mkisofs-R-l-T-B ../images/boot. IMG-C ../images/boot. Cat-O myself. ISO/mnt/CDROM
Start it to DoS/windows and use easy_cdpro to engrave it (select the CD image)
You may need to use mkisofs, pay attention to the usage of-B and-C, and use your own boot. IMG replaces the above value, as for boot. cat file, but it is an indispensable parameter. It seems that it is useless. You can find one to fill the number.
If your boot. IMG is an IMG that can automatically enter the installation mode, you have created a CD that can be automatically installed !!
Note: If you can test whether your CD can be started by yourself, you must test several more machines. Unfortunately, I have encountered three machines that cannot be started from the optical drive, the victim has been engraved three times (^ % *&(*&)
========================================================== ======================================
Organization: iamafan

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.