Hi guys, due to my bad a long time ago, my grub is a mess.
I have two HDD’s One has Win XP on sdb1, sdb2 is missing (?), sdb3 is extd partion, sdb4 is swap, sdb5 is / , sdb6 is /home, sdb 4,5,6 are my 11.2 install.
sda is a 120Gb ide drive, sdb is 300Gb SATA. Boots from 120Gb in bios
There is no OS on sda.
However, 11.1 * USED* to be on the other drive. (sda). 11.1 is long gone but sda’s MBR still has the grub on it, so I cannot boot 11.2 without sda being attached. If I detach it, sdb boots direct into Win XP
Here are some screenies of fdisk, df -h gparted and yast partitioner which might help.
partition pictures by wakou - Photobucket
Here is the output from please_try_again’s findgrub script tool:
stephen@home:~/bin> findgrub -a
Root User Permissions are required, Please Enter the ...
root's password:
Find Grub Version 2.4 - Written for openSUSE Forums
- reading MBR on disk /dev/sda ... --> Grub found in MBR
- reading bootsector /dev/sda1 (LINUX) ...
- reading MBR on disk /dev/sdb ...
- searching partition /dev/sdb1 (NTFS) ... --> Windows NT/2K/XP Loader found in /dev/sdb1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can add the following entry to /boot/grub/menu.lst :
###Don't change this comment - YaST2 identifier: Original name: WindowsBootLoader###
title Windows on /dev/sdb1
rootnoverify (hd1,0)
makeactive
chainloader +1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- reading bootsector /dev/sdb3 (Extended) ...
- skipping partition /dev/sdb4 (swap)
- reading bootsector /dev/sdb5 (LINUX) ... --> Grub found in /dev/sdb5
- reading bootsector /dev/sdb6 (LINUX) ...
- reading bootsector /dev/sdb7 (LINUX) ...
- reading MBR on disk /dev/sdc ...
- reading bootsector /dev/sdc1 (LINUX) ...
Bootflag can not be set: No Grub was found in primary or in the extended partition.
I have tried to stumble through YAST bootloader tools, and Kgrubeditor
YAST wants me to insert a floppy (!!! “err what’s a floppy dad?” “Well, son, before we had the internet…”)
Anyone give a nudge please?
I know I could detach the SATA drive, and boot to a WInXP CD and format /MBR on the 120Gb ide/sda but then I would not be able to boot 11.2, at all? Or could I then boot to 11.4 liveCD and repair it there?