Article title: LILO, LinuxCrashRescueHOW-TO (2 ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1.2 Preventive Measures
You should take the following preventive measures to deal with possible problems in the future:
* You must occasionally make a rescue boot tile and make it when changing the partition. Insert null
White disk and execute-
_____________________________________________________________
Bash $ man mkbootdisk
Mkbootdisk exists in the mkbootdisk *. rpm kit. you must install it.
<G id = "1"> release kits </g>)
Bash $ mkbootdisk -- help
Bash $ mkbootdisk -- device/dev/fd0 2.2.12-20
_____________________________________________________________
* You must have a tomsrtbt boot disk at hand. See [4] http://www.toms.net/rb
* You must have Yard rescue and boot magnetic films at hand. For details, see
[5] http://www.croftj.net /~ Fawcett/yard
* Slave/root and/boot directory. Start the disk with Tomsrtbt and run
_____________________________________________________________
Bash # vi/etc/fstab
Add the following rows-
/Dev/hda1/a1 vfat defaults 1 1
/Dev/hdb1/b1 vfat defaults 1 1
Taking my system as an example, hda1 is the root partition of linux '/'
Bash # cd/
Bash # tar cvf/b1/linux-root-partition-hda1.tar a1
Bash # tar cvf/b1/linux-boot-partition-hda1.tar a1/boot
_____________________________________________________________
1.3 remove LILO
You can use the DOS boot loader to load the boot disk and replace LILO.
Enter the following command under the ms dos prompt:
_________________________________________________________________
Refer to the LILO file to obtain other methods to remove LILO. these files are usually stored in linux.
On/usr/doc/lilo * (: OR/usr/share/doc/lilo *). For more information, see 'Man
Lilo '.
1.4 mistakes
After you change/etc/lilo. conf, you must execute lilo to make the change take effect. Forgot to execute
This is a common mistake for linux beginners. Run-
_________________________________________________________________
See the following address to obtain information about LILO, Linux rescue, and on-premise reply-
* Mini Lilo HOWTO at [6] http://www.linuxdoc.org/HOWTO/mini/LILO.html
* Bootdisk-HOWTO
[7] http://www.metalab.unc.edu/LDP/HOWTO/Bootdisk-HOWTO/index.html
* Pre-made boot disks
Http://www.linuxdoc.org/HOWTO/Bootdisk-HOWTO/
* Tomsrtbt boot floppy disk [9] http://www.toms.net/rb
* Yard rescue and boot floppy disk
[10] http://www.croftj.net /~ Fawcett/yard
* BootPrompt-HOWTO
[11] http://www.linuxdoc.org/HOWTO/BootPrompt-HOWTO.html
* Multiboot with LILO mini HOWTO
[12] http://www.linuxdoc.org/HOWTO/mini/Multiboot-with-LILO.html
* Linux + WinNT mini HOWTO
Http://www.linuxdoc.org/HOWTO/mini/Linux+WinNT.html [13]
* Linux goodies main site [14] http://www.aldev.8m.com
* Linux goodies mirror site [15] http://aldev.webjump.com
* Vim color text editor for C ++, C
Http://metalab.unc.edu/LDP/HOWTO/Vim-HOWTO.html [16]
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.