Bug 130236 - bootloader: menu entries removed after custom change
Summary: bootloader: menu entries removed after custom change
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Critical
Target Milestone: ---
Assignee: Jiri Srain
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-24 09:46 UTC by Michal Svec
Modified: 2005-11-02 09:00 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/var/log/YaST2 (220.87 KB, application/x-bzip2)
2005-10-24 09:47 UTC, Michal Svec
Details

Note You need to log in before you can comment on or make changes to this bug.
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.