I don’t know why.
Try that (more useful in that case since I guess you already know where your grubs are and you’re more interested in stage2 than in stage1)
file -s /dev/{sda*,sdb*} | grep -i bootloader
It might provide some interesting info, such as the 1st sector of stage2 the bootloader in the partition is using… although with stage1 in extended partitions, I don’t know.
I know why findgrub doesn’t work for you - thanks to your fdisk -l posting.
fdisk -l 2>/dev/null | sed -n 's|^Disk \(/dev/[hs]d[a-z]\):.*|\1|p'
is looking for the string “Disk”. But in your french version, you have:
>:(
However removing the “k” from Disk should fix it (for french). But it’s kind of stupid to translate fdisk output (IMHO). And now I understand why it didn’t work either for some people in the french forum.
this is irrelevant, this entry don’t even boot. I just booted it with the grub mini terminal, to see it was an uncomplete 11.3 install (it started the first YaST install boot :-)) - will be removed soon, don’t worry.
Btw I added the kernel option ( -k or --kernel) at your request months ago before I realized what you really asked me and wrote another script to find and load another kernel without restarting. It was in the french forum and - as always - I can not find it anymore.
It refers to the Grub whose stage1 and stage2 are installed in sdb6 (hd0,5).
As it is a logical partition, it cannot be booted directly but only chainloaded from another Grub and it displays the boot menu (/boot/grub/menu.lst) in sdb6. This is normal so far.
I have to wait for your findgrub output to see if you have grub in MBR (I assume you don’t cause I know you don’t like that). findgrub looks at the bootsectors in a different way that file -s does and is more reliable (file -s /dev/sda doesn’t show Grub in MBR on my system while findgrub does).
If you had Grub in MBR of your first HD (question is which one it is?) and it was rooted to (hd0,8 - sdb9) when you installed Grub, that would answer your question. The same goes for the Grub installed in sdb2:
You also have a Grub installed on sda2 (but this partition doesn’t have the bootflag):
And which one is the IDE disk?
Possible explanations are:
it will be booted from sda which has Grub in MBR looking for stage2 in sdb9
it will be booted from sdb which has Grub in MBR looking for stage2 in sdb9
it will be booted from sdb2 which has Grub in bootsector looking for stage2 in sdb9
But you have to take care of what you put in your device.map at this point. Currently, it looks like hd0 is mapped to sdb. Of course you can also install Grub in the MBR by using setup (hd0) instead of setup (hd0,1). I won’t do anything like that from YaST - no offense meant to YaST fans.
gogalthorp wrote:
> With out seeing what I asked for no way to know
Another item that may be relevant that I don’t think we’ve seen is the
associated device.map files from the two grub installations.
Cheers, Dave
PS I’m only skimming this topic but I haven’t managed to get a clear
understanding of the situation as it has developed. Does anybody have a
clear enough view to summarise?