Where's my grub2?
Tom H
tomh0665 at gmail.com
Sat May 29 22:04:25 UTC 2010
On Sat, May 29, 2010 at 5:48 PM, NoOp <glgxg at sbcglobal.net> wrote:
> On 05/29/2010 01:24 PM, Tom H wrote:
>> On Sat, May 29, 2010 at 1:57 PM, NoOp <glgxg at sbcglobal.net> wrote:
>>>
>>> Is there an easy command to determine which grub2 is being used?
>>> For example if I'm in 10.04 and I send time modifying /etc/default/grub
>>> nothing much will happen even if I use 'sudo update-grub'. Reason being
>>> is that the system is using the 9.10 grub2.
>>
>> Unless you want to use hexdump and figure out from its output at what
>> partition core.img is pointing, the simplest would be to use
>> bootinfoscript's output or find the section of code in bootinfoscript
>> where this is done.
>
> Thanks! Forgot about bootinfoscript. That actually does the job as I can
> see that the grub2 in use is sda5 (karmic) and my sda7 (lucid) is not
> from the 'Boot sector info:':
You're welcome.
More information about the ubuntu-users
mailing list