LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-12-2005, 09:59 PM   #1
sh4d0w13
Member
 
Registered: Feb 2005
Posts: 74

Rep: Reputation: 15
locating grub.conf


My machine has a recent install of Debian Sarge

I have recently recompiled the 2.6.11.4 kernel and linked all fo the files when I finally decided to edit my /boot/grub/grub.conf. When I tried to open this file, I was amazed it did not even exist. Considering the fact that this seems to be the normal place for the config file (at least judging by a search for "grub.conf location") I somehow thought I deleted this file. I was amazed thought that when I rebooted grub was still there and was displaying my boot partitions. So I have been searching for the location of the grub.conf on my Sarge Debian installed and I can't seem to find it, and any help offered in locating it would be appreciated. Thanks!
 
Old 05-12-2005, 10:25 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Have you tried 'locate grub.conf'?
 
Old 05-12-2005, 10:33 PM   #3
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
on debian it is menu.lst and not grub.conf
 
Old 05-12-2005, 10:38 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Debian uses menu.lst for the grub configuration? That's a bit crazy... I thought menu.lst was a supplemental file, containing info for the boot screen.
 
Old 05-13-2005, 11:22 PM   #5
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
believe it ! it contains kernel entries and information about splash, timeout on my debian.
 
Old 05-13-2005, 11:28 PM   #6
ToastedToad
Member
 
Registered: Feb 2005
Location: Sequim,WA
Distribution: Debian_sid/Debian_sarge_amd64
Posts: 157

Rep: Reputation: 30
/boot/grub/menu.lst
 
Old 05-13-2005, 11:36 PM   #7
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Wow. Well, I use lilo, so I guess that's why I wouldn't know.
 
Old 05-14-2005, 01:37 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally posted by Matir
Debian uses menu.lst for the grub configuration? That's a bit crazy... I thought menu.lst was a supplemental file, containing info for the boot screen.
The code looks for menu.lst. A lot of (most actually) distros link grub.conf to menu.lst so no-one ever knows.
Some (Gentoo included, being a source distro) patch grub to actually use grub.info.
Then lnk back the other way .

And it turns out that Gentoo doesn't do it every release - Matir, have a look at the patches used for the last couple of ebuilds for (legacy) grub.
No wonder no-one knows what the hell is going on. Makes it *REAL* hard to give decent advice on a mixed board like this.
 
Old 05-14-2005, 12:55 PM   #9
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
LOL, granted. I've always thought grub was still a bit volatile, and I suppose this supports that claim. Since lilo has always done everything I've wanted/needed, I've just stuck with lilo.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem locating lilo.conf stickfun Slackware 9 07-16-2005 02:41 AM
Trouble With GRUB menu.lst Locating Kernel agmorgan Linux - Newbie 4 04-11-2004 09:26 AM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
commands work with interactive grub, but not in grub.conf richardg Linux - Newbie 2 11-23-2003 04:36 AM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:10 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration