[NTLUG:Discuss] 'Which' command for GRUB

David Simmons dave at dgnal.net
Thu Feb 11 16:39:12 CST 2010


Stuart - thanks for the answer!  What's funny is that I've already
edited this file in the past (see some old custom comment entries I
made).  Man....sleep in between doing things twice and you have to
start all over!

Thanks again - dave

On Thu, Feb 11, 2010 at 4:19 PM, Stuart Johnston <saj at thecommune.net> wrote:
>
> On 02/11/2010 04:05 PM, David Simmons wrote:
> > Just a quick question (because I fully believe there's always many
> > ways to get to the same answer within Un*x / Linux).....does anyone
> > know of a 'which' command for Grub?
> >
> > Here's the situation.  I have four hard-drives in my main
> > workstation....when a new version of OS came out - I'd get a new drive
> > - install onto that new/empty drive...and use older drive(s) as
> > storage/data.
> >
> > I'd like to make changes to my Grub / Menu.lst file....but on my main
> > / drive - there isn't a /boot/grub/menu.lst file!?  I can do the
> > digging (but don't normally mount the other /boot partitions)....but
> > it got me thinking - 'Is there a which command that will tell you
> > where you're grub files are for your currently booted session?'
>
> I don't have an answer to your actual question but Grub 2 uses an
> entirely new configuration system.  The file is /boot/grub/grub.cfg
> which is typically generated based on files under /etc - depending on
> your distro.



More information about the Discuss mailing list