Bug 389324

Summary: Yast does not repair bootloader after disk removal
Product: [openSUSE] openSUSE 11.0 Reporter: Anna Maresova <anicka>
Component: YaST2Assignee: Jozef Uhliarik <juhliarik>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast2 logs
screenshot - first error message
screenshot - second error message
complete yast logs

Description Anna Maresova 2008-05-12 12:16:37 UTC
Created attachment 214379 [details]
yast2 logs

I have installed beta2 on a machine with two identically partitioned disks, sda and sdb. I have chosen sda for installation (I wanted sdb to be completely ignored). After first boot into the new system I shut it down and removed sdb disk. Since then, system does not boot and grub does not appear to be installed.

I have tried to use autorepair tool from beta2 installation media but I had no success. Yast logs and screenshots are attached.
Comment 1 Anna Maresova 2008-05-12 12:17:47 UTC
Created attachment 214380 [details]
screenshot  - first error message
Comment 2 Anna Maresova 2008-05-12 12:18:18 UTC
Created attachment 214381 [details]
screenshot - second error message
Comment 3 Anna Maresova 2008-05-12 14:16:43 UTC
Created attachment 214418 [details]
complete yast logs
Comment 4 Jozef Uhliarik 2008-05-12 14:55:40 UTC
The first screenshot looks for problem with initializing perl for writing settings from yast2-bootloader.

In logs (from description) you can find line:  
2008-05-12 07:45:39 <3> ursa(3529) [YCP] bootloader/routines/lib_iface.ycp:282 Error occurred while initializing bootloader

It means that device.map and menu.lst were not written into disk. :( The result is the second screenshot. GRUB still uses old (wrong) settings. Your old device map includes 2 disk sdb and sda. The order of disk is sdb the 1st disk(hd0) sda the 2nd disk (hd1). It means that there is wrong device.map and grub didn't find partition.

I am sorry but it is invalid for now.