Bug 402516

Summary: YaST does not enter the correct root entry for grup menu
Product: [openSUSE] openSUSE 11.0 Reporter: Uwe Köhler <U.Koehler>
Component: YaST2Assignee: Jozef Uhliarik <juhliarik>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Broken grub menu.lst stored by yast2
yast logs

Description Uwe Köhler 2008-06-21 19:07:19 UTC
I cloned a grup boot menu item and changed the partition to a different one. This change is not reflected in the menu file created for grup by yast. I did have to adapt the root entry by hand.
Comment 1 Robert Vojcik 2008-06-23 01:23:02 UTC
Hello, 

could you provide yast2 logs ?

Thanks
Comment 2 Uwe Köhler 2008-06-23 18:54:52 UTC
Created attachment 223847 [details]
Broken grub menu.lst stored by yast2
Comment 3 Uwe Köhler 2008-06-23 18:55:49 UTC
Created attachment 223849 [details]
yast logs
Comment 4 Uwe Köhler 2008-06-23 18:58:51 UTC
Did a complete reinstall and managed to reproduce the problem. Attached yast2 logs and broken menu.lst. After cloning the entry for OpenSuSE11, I changed Boot Device from /dev/sdc1 to /dev/sdc2. However, I still have to change the menu.lst by hand to correctly set the root (hd1,0) entry to (hd1,1).
Comment 5 Jozef Uhliarik 2008-07-07 10:36:24 UTC
I am sorry but it is not clear for me what do you mean with changing "Boot Device".

There can be changed "Root Device" or "Custom Boot Partition". I want to know what was changed by you exactly.
Comment 6 Uwe Köhler 2008-07-07 14:20:44 UTC
Sorry, meant to type Root Device.
Comment 7 Jozef Uhliarik 2008-07-10 11:15:37 UTC
It's OK ;-) but I have bad news. :(
"Root Device" is "root" option from kernel args. for example:
kernel /boot/vmlinuz-2.6.25.4-8-default root=/dev/sda1 resume=/dev/sda2 splash=silent showopts vga=normal

in this case "Root Device" is /dev/sda1

root (0,0) from menu.lst is different option. It is not possible change it in UI of yast2-bootloader. It is handled automatically by perl-Bootloader.

I am sorry you can modify it only by hand. :(