On 08/24/2009 02:45 PM, Hans de Faber wrote:
Hi listmates,
Since I installed some milestones I can no longer boot the partition I want. I wanted to the view the progression in OpenSuse and I had a free partition so lets have a look. My separate boot-partition is part2 the free partition was partition 3. I installed on part3 milestone 6 with its own boot directory in the rootdir.
Now my system boots always from part 3 and I can't change that. So I start reading http://en.opensuse.org/Bugs/grub
I discovered that I have a generic MBR The doc above tells me: any generic MBR will load a stage1 from the first block of a primary partition marked as "active" or "bootable", as long as there is exactly one such primary partition.
Parted shows me:
Number Start End Size Type File system Flags 1 32.3kB 26.8GB 26.8GB primary ntfs , , , , , , , , , type=07, , 2 26.8GB 27.1GB 206MB primary ext3 boot, , , , , , , , , type=83, , 3 27.1GB 53.9GB 26.8GB primary ext3 , , , , , , , , , type=83, , That partition 2 has the bootflag.
Thats nice and correct, next step is menu.lst on part2. ##YaST - generic_mbr gfxmenu (hd0,1)/boot/message ##YaST - activate This tells me the gfxmenu comes from hd0,1 thats also correct.
But then things go wrong, I get the menu of part3 hd0,2.
Questions:
1 how is this possible ? 2 How can I set the boot back to partition 2
All idea's are welcome, hans
Important question is what you have in MBR, as you can have there grub MBR which load menu from sda3. I develop possibility to check it. Just run update-bootloader --examinembr /dev/sda and you get what is in your MBR. NOTE: this is undocumented function, but I try fix it if problem occur (it is same functionality which uses yasy2-bootloader to detect previous MBR). -- Josef Reidinger YaST team maintainer of perl-Bootloader, YaST2-Repair, webyast modules language and time -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org