Find the answer to your Linux question:
Results 1 to 7 of 7
hey guys, I'm a bit new into linux even though I was using Red Hat before. Now I have finally installed new SUSE 10.1 which works great, but I still ...
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    40

    Unhappy can't boot into windows (chainloader (hda1,1)+1)

    hey guys,

    I'm a bit new into linux even though I was using Red Hat before.
    Now I have finally installed new SUSE 10.1 which works great, but I still need to use win xp for some graphics and video soft. I sure have multiboot system which looks good but thats not enough.

    after choosing windows, I got a black screen with message chainloader (hda1,1)+1 and nothing happens, i have to hard reset the machine

    thing I forgot to mention is that win xp was already installed and running before I installed SUSE on different drive. win xp is on SATA drive sda5 partition but when I have checked bootloader settings via YaST it was saying it is on sda2 partition so I've changed it with no luck to boot windows (chainloader (hda1,4)+1)

    can any one help with this ?
    I have searched forums almost everywhere but i could not find any help for this type of problem

    thanx

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Could you post the result of

    fdisk -l

    And the contents of

    /boot/grub/menu.lst
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Posts
    40
    Hi thanks for response, here is the fdisk status :

    Code:
    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               2        3916    31447237+   f  W95 Ext'd (LBA)
    /dev/sda2   *        3917       14593    85763002+   7  HPFS/NTFS
    /dev/sda5               2        3916    31447206    7  HPFS/NTFS
    
    Disk /dev/hdc: 81.9 GB, 81964302336 bytes
    255 heads, 63 sectors/track, 9964 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/hdc1            2551        9964    59552955    f  W95 Ext'd (LBA)
    /dev/hdc2               1         262     2104483+  82  Linux swap / Solaris
    /dev/hdc3   *         263        1203     7558582+  83  Linux
    /dev/hdc4            1204        2550    10819777+  83  Linux
    /dev/hdc5            2551        9964    59552923+   7  HPFS/NTFS
    
    Partition table entries are not in disk order
    and here is the menu.lst

    Code:
    # Modified by YaST2. Last modification on Thu Nov 16 09:41:27 EST 2006
    
    color white/blue black/light-gray
    default 0
    timeout 8
    gfxmenu (hd0,2)/boot/message
    
    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title SUSE Linux 10.1
        root (hd0,2)
        kernel /boot/vmlinuz root=/dev/hdc3 vga=0x31a    resume=/dev/hdc2  splash=silent showopts
        initrd /boot/initrd
    
    ###Don't change this comment - YaST2 identifier: Original name: windows###
    title Windows XP
        chainloader (hd1,1)+1
    
    ###Don't change this comment - YaST2 identifier: Original name: failsafe###
    title Failsafe -- SUSE Linux 10.1
        root (hd0,2)
        kernel /boot/vmlinuz root=/dev/hdc3 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
        initrd /boot/initrd
    thanks a lot

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    title Windows XP
    chainloader (hd1,1)+1
    in 'grub.conf' replace that code with this one....
    Code:
    title Windows XP
        rootnoverify (hd1,1)
        map (hd0) (hd1)
        map (hd1) (hd0)
        chainloader +1
    in case, it doesn't work, post the contents of /boot/grub/device.map file.





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Mar 2005
    Posts
    40

    Thumbs up thanks great work, everything is as it should be

    Thanks Casper very much

    all is working now

    in 'grub.conf' replace that code with this one....
    it should be changed in menu.lst instead of grub.conf

    if you have a minute, can you explain those few lines, what they do and why it was the way it was ?

    much appreciate it

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    it should be changed in menu.lst instead of grub.conf
    oooops ! my mistake.. actually Fedora uses grub.conf file and i am in Fedora box right now...

    Windows needs to be in Primary Disk. map is like a cheat code.
    Code:
    map (hd0) (hd1)
    map (hd1) (hd0)
    this code mapped second disk with first ( Primary ).





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Mar 2005
    Posts
    40

    Wink thanks for all

    thank you Casper and all

Posting Permissions

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