Bug 130236

Summary: bootloader: menu entries removed after custom change
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Michal Svec <msvec>
Component: YaST2Assignee: Jiri Srain <jsrain>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Critical    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: /var/log/YaST2

Description Michal Svec 2005-10-24 09:46:04 UTC
I modified the menu to support serial line by adding to end of line:
  console=tty0 console=ttyS0,9600n8

After I run bootloader and save the configuration again, all menu entries
are removed.
Comment 1 Michal Svec 2005-10-24 09:47:12 UTC
Created attachment 55177 [details]
/var/log/YaST2
Comment 2 Jiri Srain 2005-10-26 12:52:33 UTC
There are in fact two problems:

1. The perl-Bootloader library didn't transform the GRUB paths to the UNIX paths -- (hd0,1)/boot/vmlinuz to /boot/vmlinuz -- even if it had enough information to do it

2. YaST thinks that the kernel doesn't exist in the system -> it removes the section from menu (as -- if the kernel really didn't exist -- it would be unbootable)
Comment 3 Jiri Srain 2005-10-31 11:14:04 UTC
Fixed in SVN for 10.1, both issues:

1. perl-Bootloader didn't transform the path. The problem occurres always when /boot subtree is on an MD array. Installations which do not have /boot subtree on an MD array are not affected.

2. YaST missed that path in the GRUB format (or any other path which is not absolute UNIX path) cannot be checked whether the respective file exists. That's why the sections were removed.

Andreas, do you want a YOU update?
Comment 4 Andreas Jaeger 2005-11-02 09:00:02 UTC
Let's do this for 10.1 only.  resolving as fixed for 10.1.