Fwd: Re: When installing ubuntu 9.10 karmic koala will grub2 work together with grub legacy

View: New views
1 Messages — Rating Filter:   Alert me  

Fwd: Re: When installing ubuntu 9.10 karmic koala will grub2 work together with grub legacy

by bqz69 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For your information.
----------  Forwarded Message  ----------

Subject: Re: When installing ubuntu 9.10 karmic koala will grub2 work together
with grub legacy
Date: Thursday 05 November 2009
From: bqz69 <bqz69@...>
To: "Ubuntu user technical support, not for general discussions" <ubuntu-
users@...>

grub2 seems to work ok, but it needs some editing, to show all partitions in
the bootloader menu.

I just tried to reinstall 9.10 on sda8 to test once more how grub2 worked.

I have the following partition setup:
sda1 windows xp

sda2 8.04 with grub legacy

sda5 9.10 /boot
sda6 9.10 /   encrypted
(9.10 are using grub2 as per default)

sda7 debian 5.03 grub legacy

sda8 Here I installed 9.10 (with grub2)

After installation on sda8, grub2 Found: sda1, sda2 and sda7 - it did not find
sda5.

Then I logged into sda8, and copied the menuentry group FROM
/boot/grub/grub.cfg on sda5 TO /etc/grub.d/40_custom on sda8 and then I ran
"sudo update-grub"

When I did this, all partitions was shown to be found except sda5

Then I booted again, and now the grub2 bootloader menu showed all partitions
as expected.

I am using ext3 on all my ubuntu OS.

I find it a bit strange, that grub2 find the 2 OS with grub legacy but not the
one with grub2

############

Here is shown the menuentry group i copied from sda5 to sda8 (it is just an
example):

menuentry "Ubuntu, Linux 2.6.31-14-generic" {
        recordfail=1
        if [ -n ${have_grubenv} ]; then save_env recordfail; fi
        set quiet=1
        insmod ext2
        set root=(hd0,5)
        search --no-floppy --fs-uuid --set 6e57c9a2-6d40-4c16-a15f-3972c66ed134
        linux /boot/vmlinuz-2.6.31-14-generic root=UUID=6e57c9a2-6d40-4c16-
a15f-3972c66ed134 ro   quiet splash
        initrd /boot/initrd.img-2.6.31-14-generic
}

-------------------------------------------------------


_______________________________________________
Bug-grub mailing list
Bug-grub@...
http://lists.gnu.org/mailman/listinfo/bug-grub