Bug 715928

Summary: YaST2 bootloader module does not add other OSes to grub menu
Product: [openSUSE] openSUSE 12.1 Reporter: Freek de Kruijf <freek>
Component: YaST2Assignee: Steffen Winterfeldt <snwint>
Status: VERIFIED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P2 - High CC: atsushieno, forgotten_Xh41Ao4q6j, mchang
Version: Milestone 5   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Freek de Kruijf 2011-09-05 08:55:06 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0

After installation of openSUSE 12.1 M5 on my laptop I tried to use the YaST2 bootloader module to add menu items to the grub menu to be able to boot other OSes on other partitions on my disk. This was not possible.
I used the "Other" button and "Propose and Merge with Existing GRUB Menus" from the dropdown menu. The result was only items from the 12.1 M5 system.

A workaround was to add it manually to /boot/grub/menu.lst

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Freek de Kruijf 2011-10-01 16:00:29 UTC
I found a report from a journalist writing about different distributions, who was very annoyed by this bug. This was also a bug in 11.4 and maybe even before. I raise the priority because this is bad for the image of openSUSE.
Comment 2 Freek de Kruijf 2011-11-01 11:29:03 UTC
I tried it with RC1 and it was OK. It also included my openSUSE 11.4 system. I don't have a windows system to check.
Comment 3 Atsushi Enomoto 2012-11-20 08:24:23 UTC
I think I encountered this issue today with OpenSUSE 12.2. It's not really reliable but here I describe my setup.

I had a laptop (Acer Aspire Timeline 3820T in case it matters) which had the following partition setup:

/dev/sda1  NTFS (Windows 7)
/dev/sda2  ext4 Ubuntu 12.10
/dev/sda3  ext4 SUSE
/dev/sda4  extended
  /dev/sda5  NTFS (Windows, extended)
  /dev/sda6  swap
  /dev/sda7  NTFS (Windows, extended)
  [unallocated]
  /dev/sda8  ext4 (linux, extended)

The setup was basically done as follows: after setting up partitions I installed Ubuntu on it. Then (skipping a couple of OSes that were overwritten) I setup SUSE there.

SUSE setup was with 12.2 clean installation, which is the latest OS setup in the list above. I installed GRUB2 (with the installer's default settings) too. It replaced the default boot partition to SUSE.

After I set up SUSE I still needed to default to Ubuntu to boot up, so I ran yast boot configuration on the running SUSE 12.2 (which is on /dev/sda3).

When I was editing default boot section on yast, the Ubuntu 12.10 section was still there, so I chose it and confirmed to commit.

I think that the boot section for Ubuntu was already lost at that time.

When I rebooted the machine, it still booted into the default SUSE. I wondered why, and I ran yast boot configuration again, and found that 1) Ubuntu 12.10 is still there on the top of the list, but 2) it is actually not a selectable item in the bootable partitions list.

I'm not sure if it is reproducible, but it might be with my setup order.
Comment 4 Freek de Kruijf 2014-07-09 19:55:07 UTC
Obsolete and is OK in higher versions.