Bug 256946

Summary: yast does not respect correct grub menu configuration
Product: [openSUSE] SUSE Linux 10.1 Reporter: S. Handgraaf <s.handgraaf>
Component: YaST2Assignee: Olaf Dabrunz <odabrunz>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Original grub menu config with graphical menu, no errors
yast altered grub menu config without graphical menu line
Yast grub error message

Description S. Handgraaf 2007-03-23 01:07:04 UTC
yast bootloader can does not respect grub configuration very well. Even if the configuration is good for grub, yast will rewrite the configuration and complain with an errormessage the configuration is no good.

The situation:
An IBM Thinkpad R40, original MS WinXP disk in hda, SuSE Linux on disk at hdc (in the internal ultrabay slot). For installation of SUSE from DVD from ultrabay player, the hdc disk was temporary placed in hda. Next, to boot from hdc modified grub configuration and instructed bios to boot from ultrabay disk. Grub configuration is good, shows graphical menu and can boot from there in to SUSE at hdc disk of XP at hda disk. No errors.

After booting in SUSE, open grub configuration with yast. Even with no changes at all and selecting to accept, yast apperantly start modifying the menu configuration and then complains it can not find a partition. Editing does not matter, yast keeps mangling the configuration and complaining. Rejecting the configuration makes yast remove the original correct line for showing the graphical grub menu.

I attached several files to explain the configuration and show the exact error message and mangling.

menu.lst.old : original menu config that works perfectly
menu.lst : mangled yast output without graphical menu
error.txt : error message based on altered configuration by yast itselve
Comment 1 S. Handgraaf 2007-03-23 01:11:41 UTC
Created attachment 126057 [details]
Original grub menu config with graphical menu, no errors
Comment 2 S. Handgraaf 2007-03-23 01:13:09 UTC
Created attachment 126058 [details]
yast altered grub menu config without graphical menu line
Comment 3 S. Handgraaf 2007-03-23 01:26:00 UTC
Created attachment 126060 [details]
Yast grub error message
Comment 4 S. Handgraaf 2007-03-23 01:28:16 UTC
Please note: the error message only shows when I view the menu.lst configuration files from yast.
If I do not view this file at all, yast just removes the gfxboot line from the menu.lst configuation without any warning or message why.
Comment 5 Thomas Fehr 2007-03-26 10:49:33 UTC
Seems to be a bootloader problem, reassigned.
Comment 6 Stefan Fent 2007-05-10 13:25:00 UTC
The broken translation unix device --> grub device should be fixed in openSUSE 10.3, therefore I'll close this bug fixed.
Please reopen if still valid.