Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hai i have a problem with my grub.
my distro is centos 5.3 .
today i boot the computer,i saw an error "grub stage2 is not loaded"
and the system is halted. is it needed to reinstall grub? pls give me the step-by-step solution.
Thanks in Advance............
Did you tamper with the menu.lst (or the grub.conf) file? Stage 2 in GRUB is the part where it loads
the kernels and other OSs to boot from. The file from which it reads these options is menu.lst, or grub.conf in /boot/grub/. This file might have been corrupted, or otherwise tampered.
However, other errors, such as disk errors, or filesystem errors might be the culprits. Try UBCD in order
to check your system for such errors.
You can also boot with a live cd (ubuntu for instance) and go to the root drive's /boot/grub/ directory and
check the menu.lst file. You have to be careful though, since these files control the boot process of your pc
and mistakes may lead making your pc unbootable.
Did you tamper with the menu.lst (or the grub.conf) file? Stage 2 in GRUB is the part where it loads
the kernels and other OSs to boot from. The file from which it reads these options is menu.lst, or grub.conf in /boot/grub/. This file might have been corrupted, or otherwise tampered.
However, other errors, such as disk errors, or filesystem errors might be the culprits. Try UBCD in order
to check your system for such errors.
You can also boot with a live cd (ubuntu for instance) and go to the root drive's /boot/grub/ directory and
check the menu.lst file. You have to be careful though, since these files control the boot process of your pc
and mistakes may lead making your pc unbootable.
-Fk
..................................
thank u very much.. i correct it by some edit in grub.conf.
can u tell me when ever will be single user mode helpful in trouble shooting. i know it is helpful for changing password.
......................................................
Did you tamper with the menu.lst (or the grub.conf) file? Stage 2 in GRUB is the part where it loads
the kernels and other OSs to boot from. The file from which it reads these options is menu.lst, or grub.conf in /boot/grub/. This file might have been corrupted, or otherwise tampered.
However, other errors, such as disk errors, or filesystem errors might be the culprits. Try UBCD in order
to check your system for such errors.
You can also boot with a live cd (ubuntu for instance) and go to the root drive's /boot/grub/ directory and
check the menu.lst file. You have to be careful though, since these files control the boot process of your pc
and mistakes may lead making your pc unbootable.
-Fk
..................................
thank u very much.. i correct it by some edit in grub.conf.
can u tell me when ever will be single user mode helpful in trouble shooting. i know it is helpful for changing password.
......................................................
Single user mode is very helpful for various reasons, one of which is when you forget the root password. It allows you to boot into single user (runlevel 1) and from there change it back to something else. Furthermore, it is also used for securoty purposes, especially when you would like to check something without the network services being run (that happens in single user mode), meaning without any external interference.
Also, concerning the root password change, I would recommend to secure grub with a password to edit its grub menu on startup, since without this it is considered to be a security vulnerability.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.