Bug 130233 - bootloader: grub.conf not preserved
Summary: bootloader: grub.conf not preserved
Status: RESOLVED FIXED
: 130235 (view as bug list)
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: unspecified
Hardware: Other Other
: P4 - Low : Normal (vote)
Target Milestone: ---
Assignee: Olaf Dabrunz
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-24 09:42 UTC by Michal Svec
Modified: 2006-11-15 09:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Svec 2005-10-24 09:42:27 UTC
If I add some lines to /etc/grub.conf, they are not preserved and are
overwritten each time bootloader config is saved.
Comment 1 Jiri Srain 2005-10-26 11:39:13 UTC
*** Bug 130235 has been marked as a duplicate of this bug. ***
Comment 2 Jiri Srain 2005-10-26 12:42:22 UTC
The reason is that YaST fetches the important information from grub.conf (which is where to install the bootloader and how to install it) and when storing the settings, creates the file from these settings. The lines which YaST doesn't understand aren't stored anywhere, so the changes (unless you change eg. the bootloader location) get lost.

I don't know if it's worth to make YaST (or more precisely perl-Bootloader) keep these changes. I don't know if it makes sense to edit something else than YaST offers (and make YaST understand the options), especially as other distros do not have equivalend of this file and just store the loader location somewhere instead. Torsten, what's your opinion?
Comment 3 Torsten Duwe 2005-11-21 14:51:40 UTC
Please don't try to interpret /etc/grub.conf, consider it one big string.
IMHO the expert user is free to create any setup that he thinks fit his system.

Only create one for a new installation, otherwise leave it untouched, please.

At best, you could see whether it exactly matches one of Yast's patterns, and then feed it as defaults into the dialog(s).
Comment 4 Jiri Srain 2005-12-15 12:11:33 UTC
Reasigning to new maintainer
Comment 5 Olaf Dabrunz 2006-06-02 15:39:25 UTC
Will look into this for next version. 
Comment 6 Stefan Fent 2006-11-15 09:11:51 UTC
This is fixed since Beta1.