Mailinglist Archive: opensuse-bugs (4664 mails)

< Previous Next >
[Bug 548993] Grub doesn't detect other multiboot linux installations correctly
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 5 Feb 2010 15:06:06 +0000
  • Message-id: <20100205150606.1360424551E@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=548993

http://bugzilla.novell.com/show_bug.cgi?id=548993#c40


--- Comment #40 from Jozef Uhliarik <juhliarik@xxxxxxxxxx> 2010-02-05 15:06:03
UTC ---
The first sorry for delay but there were other products with sooner deadlines
than 11.3

Michele:
--------
I did some tests next looked again at your yast logs and also compared it with
configuration from /dev/sda2 (openSUSE 11.0). The configuration from /dev/sda2
says that your the first 512B of /dev/sda2 should be empty but it is not right
and it includes GRUB stage1. It can be from previous installation or previous
settings of bootloader configuration on /dev/sda2. I don't know exactly.

perl-Bootloader (yast2-bootloader uses it) includes only heuristic for
detection of GRUB stage1 on the first 512B of partition or MBR of disk. There
is not check where point GRUB stage1 or if GRUB stage1 is not broken. It is a
binary data. There exist presupposition that if partition includes GRUB stage1
it is valid data.

The bug is that your the first 512B of /dev/sda2 includes GRUB stage1 and GRUB
stage1 should not be there (bootloader configuration on /dev/sda2) or it points
to other partition (wrong settings in this case).

It is broken data but it is not configuration file but the first 512B of
/dev/sda2. My point of view is that GRUB stage1 should not be there or it has
to point to /dev/sda2. You can fix it if change /etc/grub.conf on your
/dev/sda2 to:

setup --stage2=/boot/grub/stage2 (hd0,1) (hd0,1)
quit

after that run grub-install. (You should boot your 11.0 on /dev/sda2 and then
change /etc/grub.conf and run grub-install)

It is risk because you have several installed operating systems and it can
break booting some of them but it helps you if you decide to install new OS
like openSUSE 11+ in future.

I am sorry but I am not able to fix it without fixing "broken data"
on your /dev/sda2.

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >