LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
LinkBack Search this Thread
Old 07-26-2010, 05:39 PM   #1
dragos240
Member
 
Registered: Apr 2009
Posts: 64

Rep: Reputation: 15
GRUB2 doesn't recognize grub.cfg file


Hello,

I just finished putting LFS together, and for some reason, GRUB2 doesn't recognize the grub.cfg file by default, and I will have to specify the grub conf file. I installed grub2 instead of grub 0.97. I however CAN boot into my LFS by either loading the conf file after grub boots, or by calling the boot commands directly, I'm just not sure why grub doesn't recognize the conf file right now. If you need more info, I will tell you.

EDIT: Actually, I can't seem to use the config file either. Maybe it's just because I used the wrong syntax.

Last edited by dragos240; 07-26-2010 at 06:08 PM.
 
Old 07-27-2010, 03:31 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

Maybe this will helps: LFS hints: Grub2

BTW: You mention grub 0.97. Which LFS version are you building? The current stable version (LFS 6.6) already uses grub2....

Hope this helps.
 
Old 07-27-2010, 09:18 AM   #3
dragos240
Member
 
Registered: Apr 2009
Posts: 64

Original Poster
Rep: Reputation: 15
Thanks. I actually switched to GRUB 0.97, it's worked for me for years.
 
Old 07-27-2010, 10:16 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Hi,

Ok, That explains why grub 0.97 was used

Hope the provided hint helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How does Grub2 find the grub.cfg file? LenW Linux - Software 8 03-15-2010 03:28 AM
grub2 detects Mac OSX on sdb, but doesn't install it to grub.cfg? JohnLocke Linux - Newbie 16 02-17-2010 05:10 PM
Grub2 questions: need to know grub.cfg syntax for bootable grub_eltorito iso's?? linus72 Linux - General 11 02-11-2010 06:20 PM
Creating a Grub2 boot-cd with a (grub.cfg) menu ..my solution ssenuta Linux - General 3 02-04-2010 06:16 PM
Grub2 and isolinux.cfg niravshah Linux - Newbie 10 07-23-2009 06:15 PM


All times are GMT -5. The time now is 12:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration