This article proposes two solutions for two common startup problems: Lilo failure and forgetting the root password:
Lilo failure has five reference methods:
1. Have a boot floppy, use it to start, run lilo, restart.
2, red through: through the installation CD to guide the system. After the installation wizard starts, we can slide to another console (press Ctrl Alt F2) and you will see bash#. If your Linux/partition is for /dev/hda3, the filesystem used is ext2.
Note: The starting line is the comment line mount -t ext2 /dev/hda3 /tmp
#(The user of the reiser file system uses reiserfs instead of ext2)
chroot /tmp /sbin/lilo< Br> If you have forgotten the root password, you can use passwd to modify it, remove the CD, and boot it with the hard disk.
3, red through: use Windows boot floppy boot into DOS, assuming the optical drive is g:, Linux is installed in /dev/hda3, put the Linux installation CD into the CD-ROM drive, run the following three commands at the DOS prompt: g: cd\\dosutils\\autoboot ..\\loadlin vmlinuz root=/dev/hda3 1 or ..\\loadlin vmlinuz root=/dev/hda3 single or ..\\loadlin vmlinuz root=/dev/hda3 init=/bin/sh Rw
After booting Linux, at the # prompt, run /sbin/lilo
If you forget the root password at the same time, you can use passwd to modify it at the # prompt and then restart.
4, Red's subsidiary: reinstall with upgrade method, pay attention to what package is not selected, after running the installation program, you can repair Lilo
5, Red hat 7.1 pass: reload (but what package also If you don't choose, you can't choose to format the Linux partition, and then reconfigure Lilo. If you forget the root password at the same time, please remember the password you entered during reinstallation.
Forgot the root password solution:
If you forgot the root password, please reboot, at Lilo, when boot::
Run linux 1 (or linux = single or linux init=/bin/Sh rw) Enter single-user mode, display bash#, then run passwd to change the password, then exit, enter login:, enter root, password to enter new password, everything is OK! Password cracking can also refer to the above methods 2, 3, 5 (if Lilo is normal, you do not have to run lilo)
Attachment: After installing Linux, if you can not start DOS, Windows (assuming installed in /dev/hda1), please enter Linux After that, modify the /etc/lilo.conf file, plus:
other=/dev/hda1 label=dos
Save and exit, execute the lilo command, he will add the dos option to lilo.
Installing VMware in Linux System Due to the project needs, you need to virtuali
When using a computer, it often interacts with some encrypted documents, such as Zip, Rar, and even
First look at the TCP server side of the program: #include <stdlib.h> #include <stdio.h>
For systems on the Internet, it is important to be clear about the situation: the network is not se
Linux server operating system: foreign + domestic
Synchronization and Task Scheduling in the Linux Kernel
Two "BBC" recovery corrupted Linux systems
Linux obtains the native ip address method through Shell.
The gnome-shell card dead solution
Linux cluster load balancing introduction
Functions in awk Using Tutorials
Linux system JDK installation and configuration basic tutorial
The best solution for hard disk partitioning under Linux
Win8.164 bit /32 bit KB3096053 patch download Main repair KB3069114 installation problem
How to clean up the Win10 right-click menu Windows Defender scan item
System tutorial makes WINDOWS XP safer again
After upgrading Win10, inserting headphones without sound is going on
Microsoft said that it wants to rebuild the operating system through Windows 8
Win8 system positioning function open and use tutorial
Ctrl + Shift + N shortcuts Create folders easily
How does AI turn texts in Adobe Illustrator text rotation tutorial
How to set the prompt information when Win8 sets the mouse to the folder