Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
11-30-2008, 03:38 PM
|
#1
|
Member
Registered: Nov 2007
Posts: 62
Rep:
|
Where does grub looks for its grub.conf (menu.lst), where is encoded ?
Hello,
First some history.
I installed Fedora9. And I asked to created several partitions (for /var, /usr, /home, etc . . .)
For a mysteric reason, Fedora created the asked partitions, but did not mounted them ! (The partitions got the label name instead of to be mounted to the asked mount-points)
So I had my system running with all systeminfo located in 1 partitions sda10. (and a lot of useless small partitions in front of it).
My system started fine with grub.
I started to remove a partition in front of sda10, and now I get "grub>" so fort after my pc start. (I do not see first GRUB, grub loading stage . .. etc !)
When I manualy point grub to load the grub.conf, it start the splashscreen, and I can boot (I have modified the partitions in the grub.conf to match with the new partitions now)
I ask myself now :
How is it possible that my pc start directly with the "grub>" prompt, and I do not noticed somthing like "Grub, loading stage . . ..)
Where is grub looking for its config-file? (where is this parametered ?)
This problem can be corrected by reinstalling grub. OK.
I will do that one day. But I want to know now why this is happing now.
Who can help me ?
Thanks,
|
|
|
11-30-2008, 04:58 PM
|
#2
|
Member
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 308
Rep:
|
/boot/grub/menu.lst I believe.
Where is your /boot dir located?
|
|
|
11-30-2008, 08:42 PM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
When it is installed, GRUB gets "hard-coded" to point to the location of /boot/grub. Anything you do to change the way partitions are seen will throw GRUB "off the trail".
If you can get into Linux by any means--including booting from live CD, then you can re-install GRUB.
The Fedora partition issue is probably because you did not designate mount points during installation. I think that the installer typically forces you to mount something at /, but leaves it optional to mount any others.
|
|
|
12-01-2008, 01:10 AM
|
#4
|
Member
Registered: Nov 2007
Posts: 62
Original Poster
Rep:
|
Quote:
Originally Posted by arckane
/boot/grub/menu.lst I believe.
Where is your /boot dir located?
|
My /boot is in (hd0,6)
I need to enter
Code:
configfile (hd0,6)/grub/grub.conf
at grub>
And then my system starts. (grub splashscreen)
|
|
|
12-01-2008, 01:22 AM
|
#5
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,314
|
When you get the prompt, try this to re-write the MBR with the correct info
Code:
root (hd0,6)
setup (hd0)
Then reboot to check it.
|
|
|
All times are GMT -5. The time now is 06:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|