[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: Re: When installing ubuntu 9.10 karmic koala will grub2 work togeth
From: |
bqz69 |
Subject: |
Fwd: Re: When installing ubuntu 9.10 karmic koala will grub2 work together with grub legacy |
Date: |
Thu, 5 Nov 2009 23:45:19 +0100 |
User-agent: |
KMail/1.11.2 (Linux/2.6.28-16-generic; KDE/4.2.2; i686; ; ) |
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 <address@hidden>
To: "Ubuntu user technical support, not for general discussions" <ubuntu-
address@hidden>
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
}
-------------------------------------------------------