LILO Usage Guide (middle)
Linuxaid.com.cn
Hubertzou
〖
Back to〗 Forward〗
LILO Usage Guide (middle) hubertzou@linuxaid.com.cn Third, about LILO's question <1>, first installed Windows, then install Linux, you cannot install LILO. This is a problem of most Linux novices; some BIOS cannot recognize a hard disk greater than 8.4G, and the old LILO cannot identify the system kernel (kenel) that is greater than 1024 cylindrical. It is therefore possible that the problem is: LILO is loaded into the MBR, and the hard disk partition prepared for Linux is far outside 1024 cylinder, so Linux can't boot; LILO is loaded into the Linux root partition (root partition), and it happens to be 8.4 Outside G, hang up! Solution: Maybe you have already installed Linux, don't delete it, you can use it! Ok, now start: 1. Use partitionMagic5.0 to start a 10M EXT2 partition, format it in the beginning of the first hard disk. It is best to prepare the partition prepared for Linux, and save the trouble. 2. Boot and RESCUE disk boot system with loadlin or linux. Mount 10m partition - / dev / hda1, suppose I use boot and rescue disk, Mount to / MNT / TMP. Copy / Boot / * and kernel image files to / dev / hda1 in the same directory, edit /etc/lilo.conf, plus the / dev / hda1 MOUNT path before all directories, and install LILO to / DEV / HDA1. Modal = / bootmsg map = / boot / bootmsg map = / boot / bootmsg map = / boot / bootmsg map = / boot / bootmsg map = / boot / bootmsg map = / boot / map image = / boot/vmlinuz-2.2.13 is modified to boot = / dev / hda1install = / Mnt/tmp/boot/boot.bmessage = / mnt / tmp / boot / bootmsgmap = / mnt / tmp/boot / mapimage = / mnt/tmp/boot/vmlinuz-2.2.13 calls the lilo command to reinstall LILO. After the system, it is over. Remember, to uninstall Linux, you can clear the LILO in the MBR with FDISK / MBR under DOS.
(Loadlin is better, there may be no mtools on the rescue disk, only mount cp umount "created this file: DD if = / dev / hda5 of = / root / bootsect.lix BS = 512 count = 1 Insert floppy disk , McOPY / ROOT/bootsect.lix A: Reboot the system, enter the DOS will quickly see your results, enter the root directory of the hard disk partition of NTLDR, or the root directory of the hard disk partition bootable before Windows "(here is here Windows9x). Copy the bootsect.lix file on the floppy disk. Remove Boot.ini's read-only, hide properties. At the end, add C: OOTSECT.LIX = "Go to Linux". The storage is exited, add Boot.ini's read-only, hide attributes. Reboot the system, try again! Note that after any modification of the Linux kernel, you must work with the above steps to guide the Linux system correctly.