Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I have two hard disks: Seagate (SATA) -> 320 GB, on which Windows XP is installed and the other one, Samsung (IDE) -> 40 GB, on which Linux (RHEL ...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    5

    Not able to dual boot after installing RHEL 5.2 over Windows XP

    Hi,
    I have two hard disks: Seagate (SATA) -> 320 GB, on which Windows XP is installed
    and the other one, Samsung (IDE) -> 40 GB, on which Linux (RHEL 5.2) is installed.
    Plese note that previously I had only the 320 GB hard disk containing WIndows XP and then I added the 40 GB hard disk and went on to install Linux.
    But after installing Linux, I am not able to boot WIndows XP at all. While installing Linux, I had never touched the Windows hard disk (am telling this w.r.t the installation options that I got during Linux installation).
    Please find below the contents of /boot/grub/grub.conf file. Kindly resolve my problem of dual booting. I even chose the 320 GB hard disk as "first bootable" in BIOS settings -> Boot Order, but even that does not work out.
    [root@localhost grub]# cat grub.conf
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and initrd paths are relative to /boot/, eg.
    # root (hd0,0)
    # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
    # initrd /initrd-version.img
    #boot=/dev/sda
    default=0
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title Red Hat Enterprise Linux Server (2.6.18-92.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet crashkernel=128M@16M
    initrd /initrd-2.6.18-92.el5.img
    title Other
    rootnoverify (hd1,0)
    chainloader +1

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Does Linux OS boot up fine?

    Edit grub.conf file ( title Other ) and set Linux Hard disk as First Boot Device in BIOS.

    Code:
    title Other
    rootnoverify (hd1,0)
    map (hd0) (hd1)
    map (hd1) (hd0)
     chainloader +1

    You can replace title of Windows Code from Other to Windows OS or anything you like.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jul 2009
    Posts
    5
    Dear Sir,
    Thanks a lot for your guidance..my system is dual booting properly now...
    By the way, the two lines that you have mentioned in the grub.conf code (map) is to map the two hard disks I have to one entity, so that while dual booting, I can do so by considering the existing operating systems in both the disks..is my understanding correct? please correct me if I am wrong..
    Thanks once again,
    Achyutha

Posting Permissions

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