Page 1 of 6 123 ... LastLast
Results 1 to 10 of 51

Thread: Windows and openSuse 11.4 dual boot problem

  1. #1

    Default Windows and openSuse 11.4 dual boot problem

    I have installed openSuse 11.4 and works perfectly. The main problem is, I have another system on my HD, Windows XP, and unable to boot to my XP system.

    If I choose Windows on Grub menu, its just show me the same text as in the menu.lst at Windows' section.

    I am able to boot in Windows, by adding 'makeactive' but then, I unable to see the grub menu. And to boot to oS again, I must insert DVD installer and made an update. How tiring... -_____-

    I just a little bit confused

    fdisk -l


    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x78ac2597

    Device Boot Start End Blocks Id System
    /dev/sda1 63 61438985 30719461+ 7 HPFS/NTFS/exFAT
    /dev/sda2 61438986 271443878 105002446+ f W95 Ext'd (LBA)
    /dev/sda3 271443968 274792447 1674240 82 Linux swap / Solaris
    /dev/sda4 * 274792448 312580095 18893824 83 Linux
    /dev/sda5 61439056 118485869 28523407 7 HPFS/NTFS/exFAT
    /dev/sda6 163644586 257110685 46733050 7 HPFS/NTFS/exFAT
    /dev/sda7 257110749 271443878 7166565 7 HPFS/NTFS/exFAT
    /dev/sda8 118487040 163637247 22575104 83 Linux

    Partition table entries are not in disk order
    menu.lst
    # Modified by YaST2. Last modification on Sun Apr 24 16:44:26 WIT 2011
    # THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
    # Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

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

    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title openSUSE 11.4 - 2.6.37.1-1.2
    root (hd0,3)
    kernel /boot/vmlinuz-2.6.37.1-1.2-default root=/dev/sda4 resume=/dev/disk/by-id/ata-Hitachi_HTS543216L9SA00_090703FB22015CDT4WUA-part3 splash=silent quiet showopts vga=0x361
    initrd /boot/initrd-2.6.37.1-1.2-default

    ###Don't change this comment - YaST2 identifier: Original name: failsafe###
    title Failsafe -- openSUSE 11.4 - 2.6.37.1-1.2
    root (hd0,3)
    kernel /boot/vmlinuz-2.6.37.1-1.2-default root=/dev/sda4 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x361
    initrd /boot/initrd-2.6.37.1-1.2-default

    ### Don't change this comment - YaST2 identifier: Original name: windows###
    ### my last edit : I changed (hd0,0) -> (hd0,1)
    ### and I changed chainloader (hd0,0)+1 -> chainloader (hd0,1)+1
    ### the result? The same.
    title Windows
    rootnoverify (hd0,1)
    chainloader (hd0,1)+1
    These are modifications I made :

    title Windows
    rootnoverify (hd0,0)
    chainloader (hd0,0)+1

    ### This make me boot to Windows, after display this text in the monitor
    ### and I forced the system to restart by pressing Ctrl+Alt+Del

    title Windows
    map(hd0,0) (hd0,0)
    map(hd0,0) (hd0,0)
    rootnoverify (hd0,0)
    chainloader (hd0,0)+1
    makeactive
    Please help me. I am about going crazy about this. I am tired already to try and restarting my system so many times..

    I appreciate any responses. Thank you.

  2. #2

    Default Re: Windows and openSuse 11.4 dual boot problem

    ### This make me boot to Windows, after display this text in the monitor
    ### and I forced the system to restart by pressing Ctrl+Alt+Del

    title Windows
    map(hd0,0) (hd0,0)
    map(hd0,0) (hd0,0)
    rootnoverify (hd0,0)
    chainloader (hd0,0)+1
    makeactive
    Remove the lines in red. Don't use makeactive. makeactive sets the bootflag on the Windows partition, with the consequence that you can not boot into Grub anymore.

  3. #3

    Default Re: Windows and openSuse 11.4 dual boot problem

    Thank you for the reply. But it just gimme black screen with the following content :

    rootnoverify (hd0,0)
    chainloader (hd0,0)+1

  4. #4

    Default Re: Windows and openSuse 11.4 dual boot problem

    Quote Originally Posted by mynameisthom View Post
    Thank you for the reply. But it just gimme black screen with the following content :
    When? What do you see before that?

  5. #5

    Default Re: Windows and openSuse 11.4 dual boot problem

    Quote Originally Posted by please_try_again View Post
    When? What do you see before that?
    it was after I choose 'Windows' option in the Grub menu. Then, it only show me the text.. And it's all. Nothing happen next.

  6. #6

    Default Re: Windows and openSuse 11.4 dual boot problem

    Quote Originally Posted by mynameisthom View Post
    it was after I choose 'Windows' option in the Grub menu. Then, it only show me the text.. And it's all. Nothing happen next.
    Hmm ... All right, before further investigating, try the following and report back here.

    • reboot
    • at the Grub menu, press escape
    • Press Enter (OK) when you see the following message:
      You are leaving the graphical boot menu and starting the text mode interface
    • at the text mode Grub menu, press c
      You will see a command line with the following prompt
      grub>
    • type the following commands and watch for error or other messages:
      Code:
      root (hd0,0)
      chainloader +1
      boot

  7. #7

    Default Re: Windows and openSuse 11.4 dual boot problem

    Quote Originally Posted by please_try_again View Post
    Hmm ... All right, before further investigating, try the following and report back here.

    • reboot
    • at the Grub menu, press escape
    • Press Enter (OK) when you see the following message:
    • at the text mode Grub menu, press c
      You will see a command line with the following prompt
      grub>
    • type the following commands and watch for error or other messages:
      Code:
      root (hd0,0)
      chainloader +1
      boot
    I was not able to do all of the commands you mentioned.
    I just could do the first line *type root (hd0,0) then Enter* with this message :
    filesystem type unkonwn, partition type 0x7
    And I didn't continue to the next step. Was I wrong?
    Or I should do the others too??

  8. #8

    Default Re: Windows and openSuse 11.4 dual boot problem

    Quote Originally Posted by mynameisthom View Post
    I was not able to do all of the commands you mentioned.
    I just could do the first line *type root (hd0,0) then Enter* with this message :

    filesystem type unkonwn, partition type 0x7

    And I didn't continue to the next step. Was I wrong?
    Yes. There is nothing wrong with this message. And I asked you to use root(hd0,0) rather that rootnoverify(hd0,0) because I wanted to see this message.


    Quote Originally Posted by mynameisthom View Post
    Or I should do the others too??
    Yes.

  9. #9

    Default Re: Windows and openSuse 11.4 dual boot problem

    Quote Originally Posted by please_try_again View Post
    Yes.

    Well, I did the others.
    The first command give the prev message.

    The second and the third gimme nothing. Nothing happen afterward. So, I just press Ctrl+Alt+Del and back to oS

  10. #10

    Default Re: Windows and openSuse 11.4 dual boot problem

    Hmmm ....
    To save time, type the following in a terminal:

    Code:
    su -l
    zypper ar http://download.opensuse.org/repositories/home:/please_try_again/openSUSE_11.4/ PTA
    zypper refresh -r PTA
    zypper in updategrub
    It won't help you booting Windows yet. But it would install a program that you can use to easily reactivate the Linux Grub partition after a 'makeactive'. You would still have to boot from a live CD. But then you would just open a terminal an type:

    Code:
    su -l
    mount -t ext4 /dev/sda4 /mnt
    /mnt/usr/bin/updategrub -a
    Might be faster than reinstalling/updating.

    I'm kind of skeptical because of this :

    Code:
    fdisk -l
    
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x78ac2597
    
    Device Boot Start End Blocks Id System
    /dev/sda1 63 61438985 30719461+ 7 HPFS/NTFS/exFAT
    /dev/sda2 61438986 271443878 105002446+ f W95 Ext'd (LBA)
    /dev/sda3 271443968 274792447 1674240 82 Linux swap / Solaris
    /dev/sda4 * 274792448 312580095 18893824 83 Linux
    /dev/sda5 61439056 118485869 28523407 7 HPFS/NTFS/exFAT
    /dev/sda6 163644586 257110685 46733050 7 HPFS/NTFS/exFAT
    /dev/sda7 257110749 271443878 7166565 7 HPFS/NTFS/exFAT
    /dev/sda8 118487040 163637247 22575104 83 Linux
    
    Partition table entries are not in disk order 
    You could fix partition order with fdisk. But I don't know how Windows would like that. It is an expert functionality. You'll have to press x and then f. But wait for another advice before trying that.

    After installing updategrub, you can run findgrub - another script from this package. Just type :

    Code:
    /usr/bin/findgrub
    and copy/paste the output. Do you know what's in all the other NTFS partitions sda5, sda6 and sda7 ?

    The last thing you can try - but be prepared to reboot from liveCD and type updategrub -a afterwards - is to repeat the same commands I gave you in post #5, but insert the command makeactive, just before the last command (boot) to see if makeactive really makes the difference. If so, your Windows bootsector might be encrypted or unreadable by Grub. The following command would show us if it is encrypted:

    Code:
    findgrub -d
    It's a pretty long output though.
    I hope the others can help you. I really need to get some sleep.

    * We already had the case when Windows could not be booted because of some antivirus encrypting the bootsector.

Page 1 of 6 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •