unable to get into windows 7

hello
I had windows 7 on my computer on drive D,then I installed opensuse 11.2 on space of drive C. But when I restarted my computer,I coudn’t see windows 7 bootloader on the list, all of the options related to opensuse. Please help me about this problem.
:slight_smile:

Please open a terminal and become su
Become su in Terminal - HowTo - openSUSE Forums

Now do:

fdisk -l

and

cat /boot/grub/menu.lst

Post results

Thanks for replying. the result is as follows:

Code:
dhcppc0:/home/amir # cat /boot/grub/menu.lst

Modified by YaST2. Last modification on Tue Mar 9 09:45:21 IRST 2010

THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader

Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 6
timeout 8
gfxmenu (hd0,2)/boot/message
##YaST - activate

###Don’t change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.2 - 2.6.31.5-0.1 (default)
root (hd0,2)
kernel /boot/vmlinuz-2.6.31.5-0.1-default root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 resume=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part1 splash=silent quiet showopts vga=0x317
initrd /boot/initrd-2.6.31.5-0.1-default

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.2 - 2.6.31.5-0.1 (default)
root (hd0,2)
kernel /boot/vmlinuz-2.6.31.5-0.1-default root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd /boot/initrd-2.6.31.5-0.1-default

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Desktop – openSUSE 11.2 - 2.6.31.5-0.1
root (hd0,2)
kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 resume=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part1 splash=silent quiet showopts vga=0x317
initrd /boot/initrd-2.6.31.5-0.1-desktop

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.2 - 2.6.31.5-0.1 (desktop)
root (hd0,2)
kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd /boot/initrd-2.6.31.5-0.1-desktop

###Don’t change this comment - YaST2 identifier: Original name: xen###
title Xen – openSUSE 11.2 - 2.6.31.5-0.1
root (hd0,2)
kernel /boot/xen.gz
module /boot/vmlinuz-2.6.31.5-0.1-xen root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 resume=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part1 splash=silent quiet showopts vga=0x317
module /boot/initrd-2.6.31.5-0.1-xen

###Don’t change this comment - YaST2 identifier: Original name: floppy###
title Floppy
rootnoverify (fd0)
chainloader +1

We also need the other info asked for

fdisk -l

the result is :

dhcppc0:/home/amir # fdisk -l                                                                        

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x009f009f                     

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         262     2104483+  82  Linux swap / Solaris
/dev/sda2            6375       60800   437176845    f  W95 Ext'd (LBA)     
/dev/sda3   *         263        2724    19776015   83  Linux               
/dev/sda4            2725        6374    29318625   83  Linux               
/dev/sda5            6375       33587   218588391    7  HPFS/NTFS           
/dev/sda6           33588       60800   218588391    7  HPFS/NTFS           

Partition table entries are not in disk order
dhcppc0:/home/amir # cat /boot/grub/menu. lst
cat: /boot/grub/menu.: No such file or directory
cat: lst: No such file or directory             
dhcppc0:/home/amir # cat /boot/grub/menu.lst    
# Modified by YaST2. Last modification on Tue Mar  9 09:45:21 IRST 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader           
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 6
timeout 8
gfxmenu (hd0,2)/boot/message
##YaST - activate           

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.2 - 2.6.31.5-0.1 (default)                            
    root (hd0,2)                                                        
    kernel /boot/vmlinuz-2.6.31.5-0.1-default root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 resume=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part1 splash=silent quiet showopts vga=0x317                                                                                                                                                          
    initrd /boot/initrd-2.6.31.5-0.1-default                                                                                                                                

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1 (default)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.5-0.1-default root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd-2.6.31.5-0.1-default

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.5-0.1
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 resume=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part1 splash=silent quiet showopts vga=0x317
    initrd /boot/initrd-2.6.31.5-0.1-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1 (desktop)
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
    initrd /boot/initrd-2.6.31.5-0.1-desktop

###Don't change this comment - YaST2 identifier: Original name: xen###
title Xen -- openSUSE 11.2 - 2.6.31.5-0.1
    root (hd0,2)
    kernel /boot/xen.gz
    module /boot/vmlinuz-2.6.31.5-0.1-xen root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 resume=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part1 splash=silent quiet showopts vga=0x317
    module /boot/initrd-2.6.31.5-0.1-xen

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
    rootnoverify (fd0)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: other###
title jadid
    rootnoverify (hd0,6)
    makeactive
    chainloader

thanks for your answers

First let me say: This is not pretty and I am wondering how you arrived at this setup.

you need to add an entry in the menu.lst file
Depending if you use kde or gnome do this in a terminal (not su)

kdesu kwrite /boot/grub/menu.lst

or

gnomesu gedit /boot/grub/menu.lst

add these, one of them should work.

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,4)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,5)
chainloader +1

So your list should end up like this:

dhcppc0:/home/amir # cat /boot/grub/menu.lst

Modified by YaST2. Last modification on Tue Mar 9 09:45:21 IRST 2010

THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader

Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 6
timeout 8
gfxmenu (hd0,2)/boot/message
##YaST - activate

###Don’t change this comment - YaST2 identifier: Original name: linux###
title openSUSE 11.2 - 2.6.31.5-0.1 (default)
root (hd0,2)
kernel /boot/vmlinuz-2.6.31.5-0.1-default root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 resume=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part1 splash=silent quiet showopts vga=0x317
initrd /boot/initrd-2.6.31.5-0.1-default

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.2 - 2.6.31.5-0.1 (default)
root (hd0,2)
kernel /boot/vmlinuz-2.6.31.5-0.1-default root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd /boot/initrd-2.6.31.5-0.1-default

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Desktop – openSUSE 11.2 - 2.6.31.5-0.1
root (hd0,2)
kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 resume=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part1 splash=silent quiet showopts vga=0x317
initrd /boot/initrd-2.6.31.5-0.1-desktop

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.2 - 2.6.31.5-0.1 (desktop)
root (hd0,2)
kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x317
initrd /boot/initrd-2.6.31.5-0.1-desktop

###Don’t change this comment - YaST2 identifier: Original name: xen###
title Xen – openSUSE 11.2 - 2.6.31.5-0.1
root (hd0,2)
kernel /boot/xen.gz
module /boot/vmlinuz-2.6.31.5-0.1-xen root=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part3 resume=/dev/disk/by-id/ata-ST3500418AS_9VM73XBL-part1 splash=silent quiet showopts vga=0x317
module /boot/initrd-2.6.31.5-0.1-xen

###Don’t change this comment - YaST2 identifier: Original name: floppy###
title Floppy
rootnoverify (fd0)
chainloader +1

###Don’t change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,4)
chainloader +1

###Don’t change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,5)
chainloader +1