windows boot not showing in grub

After shutting down linux the first time on suse 11.2 the grub loader won’t show me the option to boot windows. I tried using
wine and dosemulator to get to windows and it doesn’t work because I don’t know the file name to open windows.

Their are certain programs that I can only run in windows and I need windows open to install them.:open_mouth:

Click the K menu, select Computer, then Administrator Settings (Yast). Enter your root password; when Yast comes up, select System, then Partitioner. A warning will appear; click Yes, and in the following, be very careful not to change anything. (Click “Abort” when you’re done; that will exit without making changes.)

Post what you see in the Partioning window here. For example, mine shows


/dev/sda ... Hitachi ...
/dev/sda1    Linux Native   Ext3   /
/dev/sda2    Linux Native   Ext3   /home
/dev/sdb ... WDC ...
/dev/sdb1    HPFS/NTFS      NTFS   /windows/C

I’ve left some stuff out. What you’re looking for is that “C” drive (which is on the device “/dev/sdb1” on my computer; yours will doubtless be different). Post back and either I or someone else will help.

Don’t panic

Fist we need to see the partition table and the current boot menu

To get the partitions

open a konsole or gconsole window ( KED/gnome)

Become root by typing

su
then the root password (the password does not echo to the screen)

type fdisk -l

you can copy and paste from the console menu by hi-lighting the lines and using the menu to copy the text
post it here

also while still root
type
cat /boot/grub/menu.list

copy and paste here.

Then we can see if we can get Windows to boot

Or just add the following code in /boot/grub/menu.lst and reboot. Try to boot these entries in that order.


###Boot Windows - test 1 ###
Title Windows on partition 1
    rootnoverify (hd0,0)
    makeactive
    chainloader +1

###Boot Windows - test 2 ###
Title Windows on partition 2
    rootnoverify (hd0,1)
    makeactive
    chainloader +1

###Boot Windows - test 3 ###
Title Windows on partition 3
    rootnoverify (hd0,2)
    makeactive
    chainloader +1

###Boot Windows - test 4 ###
Title Windows on partition 4
    rootnoverify (hd0,3)
    makeactive
    chainloader +1

Assuming you have only one HD or Windows is on the first HD and you didn’t accidentally overwrite the Windows boot sector, one of these boot menu entries might successfuly boot Windows. You can later remove the other entries.
However a chainloading Windows boot entry should have been added automatically by openSUSE Setup.

There should have been a menu entry.
That is why I want to see the partition table just in case he has over written the Windows partition. Assuming there was no free space and a user that was not paying attention not reading and just blindly answering yes it is fairly easy thing to do.

But if the partition is there we can boot to it.

Yep, that’s why I asked for it. If he doesn’t see an “NTFS” partition in that listing, well … it’s bad news. :slight_smile:

If he does see the partition, maybe the Suse installer just glitched and missed it. In that event, it’ll be easy as pie to fire up Yast’s partitioner and just add it that way. No need to manually edit the grub menu, unless he chooses to do it that way.

I am having the same issue with another distro, BackTrack 4 RS2. Can anybody here help me find my Windows install? I followed the instructions on the BT how to for dual booting, but I rebooted after the installation to find there is not an option for booting to win 7. my fdisk results do not show an NTFS partition, so I am probably SOL, but maybe somebody out there can help me recover… at least recover my data.

Fdisk info:

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x678b1560

Device Boot Start End Blocks Id System
/dev/sda1 * 1 37804 303660598+ 83 Linux
/dev/sda2 37805 38913 8908042+ 15 Unknown

Disk /dev/sdb: 4013 MB, 4013948928 bytes
25 heads, 24 sectors/track, 13066 cylinders
Units = cylinders of 600 * 512 = 307200 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdb1 * 14 13067 3915776 b W95 FAT32

Please post the output of this command:

su -l
blkid