Multiboot 9.10 & 10.04. Both have grub-pc (grub2) installed. However the
actual grub2 being used is on the 9.10. So here's my question:
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.
Seems to be way too many grub- options to choose from anymore:
$ grub-
grub-bin2h grub-mkfont grub-probe
grub-editenv grub-mkimage grub-reboot
grub-install grub-mkisofs grub-script-check
grub-mkconfig grub-mkpasswd-pbkdf2 grub-set-default
grub-mkdevicemap grub-mkrelpath grub-setup
grub-mkelfimage grub-mkrescue
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
05-29-2010, 08:19 PM
Calcpage
Where's my grub2?
On May 29, 2010, at 1:57 PM, NoOp <glgxg@sbcglobal.net> wrote:
> Sort of like 'Where's Waldo'...
>
> Multiboot 9.10 & 10.04. Both have grub-pc (grub2) installed. However
> the
> actual grub2 being used is on the 9.10. So here's my question:
>
> 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.
>
> Seems to be way too many grub- options to choose from anymore:
> $ grub-
> grub-bin2h grub-mkfont grub-probe
> grub-editenv grub-mkimage grub-reboot
> grub-install grub-mkisofs grub-script-check
> grub-mkconfig grub-mkpasswd-pbkdf2 grub-set-default
> grub-mkdevicemap grub-mkrelpath grub-setup
> grub-mkelfimage grub-mkrescue
>
>
I usually just edit /boot/grub/menu.lst directly as root.
HTH,
A. Jorge Garcia
Applied Math & CS
http://shadowfaxrant.blogslot.com
>
> --
> ubuntu-users mailing list
> ubuntu-users@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
05-29-2010, 08:24 PM
Tom H
Where's my grub2?
On Sat, May 29, 2010 at 1:57 PM, NoOp <glgxg@sbcglobal.net> wrote:
> Sort of like 'Where's Waldo'...
>
> Multiboot 9.10 & 10.04. Both have grub-pc (grub2) installed. However the
> actual grub2 being used is on the 9.10. So here's my question:
>
> 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.
>
> Seems to be way too many grub- options to choose from anymore:
> $ grub-
> grub-bin2h * * * * * *grub-mkfont * * * * * grub-probe
> grub-editenv * * * * *grub-mkimage * * * * *grub-reboot
> grub-install * * * * *grub-mkisofs * * * * *grub-script-check
> grub-mkconfig * * * * grub-mkpasswd-pbkdf2 *grub-set-default
> grub-mkdevicemap * * *grub-mkrelpath * * * *grub-setup
> grub-mkelfimage * * * grub-mkrescue
I would say roughly double the number of grub1 grub- commands! Progress?
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.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
05-29-2010, 09:48 PM
NoOp
Where's my grub2?
On 05/29/2010 01:24 PM, Tom H wrote:
> On Sat, May 29, 2010 at 1:57 PM, NoOp <glgxg@sbcglobal.net> wrote:
>> Sort of like 'Where's Waldo'...
>>
>> Multiboot 9.10 & 10.04. Both have grub-pc (grub2) installed. However the
>> actual grub2 being used is on the 9.10. So here's my question:
>>
>> 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.
>>
>> Seems to be way too many grub- options to choose from anymore:
>> $ grub-
>> grub-bin2h grub-mkfont grub-probe
>> grub-editenv grub-mkimage grub-reboot
>> grub-install grub-mkisofs grub-script-check
>> grub-mkconfig grub-mkpasswd-pbkdf2 grub-set-default
>> grub-mkdevicemap grub-mkrelpath grub-setup
>> grub-mkelfimage grub-mkrescue
>
> I would say roughly double the number of grub1 grub- commands! Progress?
>
> 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:':
File system: ext4
Boot sector type: Grub 2
Boot sector info: Grub 2 is installed in the boot sector of sda5 and
looks at sector 205505817 of the same hard drive for
core.img, but core.img can not be found at this
location.
Operating System: Ubuntu 9.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
05-29-2010, 10:04 PM
Tom H
Where's my grub2?
On Sat, May 29, 2010 at 5:48 PM, NoOp <glgxg@sbcglobal.net> wrote:
> On 05/29/2010 01:24 PM, Tom H wrote:
>> On Sat, May 29, 2010 at 1:57 PM, NoOp <glgxg@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.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
05-30-2010, 11:54 AM
Karl Larsen
Where's my grub2?
On 05/29/2010 02:19 PM, Calcpage wrote:
> On May 29, 2010, at 1:57 PM, NoOp<glgxg@sbcglobal.net> wrote:
>
>
>> Sort of like 'Where's Waldo'...
>>
>> Multiboot 9.10& 10.04. Both have grub-pc (grub2) installed. However
>> the
>> actual grub2 being used is on the 9.10. So here's my question:
>>
>> 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.
>>
>> Seems to be way too many grub- options to choose from anymore:
>> $ grub-
>> grub-bin2h grub-mkfont grub-probe
>> grub-editenv grub-mkimage grub-reboot
>> grub-install grub-mkisofs grub-script-check
>> grub-mkconfig grub-mkpasswd-pbkdf2 grub-set-default
>> grub-mkdevicemap grub-mkrelpath grub-setup
>> grub-mkelfimage grub-mkrescue
>>
>>
>>
> I usually just edit /boot/grub/menu.lst directly as root.
>
> HTH,
> A. Jorge Garcia
> Applied Math& CS
> http://shadowfaxrant.blogslot.com
>
>
>
>
>
>> --
>> ubuntu-users mailing list
>> ubuntu-users@lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
Your help Jorge is dated. It is for Grub1.
For Grub2 it is quite different. And scary hard. But here goes
because this is a simple case.
Boot into your 10.04 that you want to use Grub2 from. Open a
terminal and in it type:
$ sudo update-grub
This will use your 10.04 Grub2 and you will have what you want.
73 Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
Key ID = 3951B48D
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users