[Leaplist] 'Which' command for GRUB
Dan Cherry
dan.s.cherry at gmail.com
Thu Feb 11 17:23:07 EST 2010
David Simmons wrote:
> Guys,
>
> 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?'
>
> thx - dave
>
You're probably running into the "grub 2" changes. The config file is
now called grub.cfg, and is a bit different.
http://www.dedoimedo.com/computers/grub-2.html
gives a full tutorial and a pretty good explanation
hth,
Dan
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Leaplist
mailing list