Announcement

Collapse
No announcement yet.

Installed Linux, But it will not recognise my Windows HD

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Installed Linux, But it will not recognise my Windows HD

    Usually when I installed Linux before, it would have Windows is Grub loader (I hope I wrote it right).

    I would had

    Linux
    Windows
    ---

    But today I installed DD and its didn't give option for Windows XP.
    and I have it installed on other HD.
    Windows wasn't corrupted during install of Linux, I sure of this.
    So how do I add Windows to show up in GRUB boot loader?

    #2
    Re: Installed Linux, But it will not recognise my Windows HD

    Can you post your current /boot/grub/menu.lst ?

    and then let me know what configuration you think you have (1 or 2 harddrives, how many partitions on each, and where each OS should be located)

    fdisk is a nice tool for viewing a harddrives partitions

    fdisk /dev/hda
    option p

    will give you partition info for your first harddrive

    **** warning fdisk can mess up your system if not used properly ****

    p = print partition info to screen
    q = quits without writing any changes

    w = make changes permanent

    Comment


      #3
      Re: Installed Linux, But it will not recognise my Windows HD

      I have two HD, one dev/sda: SCSI2 (0,0,0) (sda)    (Linux here

      and
      dev/sdb: SCSI2 (0,0,0) (sdb)   (Windows)

      in
      menu.lst

      It had stuff only for Linux, and nothing for Windows.

      I added some thing like this:

      title Windows XP
      root (hd1,0) (I not sure about this... (Linux have (hd0,0).
      makeactive
      chain..something +1

      Comment


        #4
        Re: Installed Linux, But it will not recognise my Windows HD

        When its run

        title Windows XP
        root (hd1,0) (I not sure about this... (Linux have (hd0,0).
        makeactive
        chain..something +1


        it say "cannot recognize the file format... I dont know what I done... maybe I gived wrong root..?

        Comment


          #5
          Re: Installed Linux, But it will not recognise my Windows HD

          Originally posted by Kdar
          When its run

          title Windows XP
          root (hd1,0) (I not sure about this... (Linux have (hd0,0).
          makeactive
          chain..something +1


          it say "cannot recognize the file format... I dont know what I done... maybe I gived wrong root..?
          the root(hd*.*) thing is odd.
          you need it like,
          root(hdX,Y)
          where X is the hardrive number starting from 0, so if you have 1 hdd then it would be 0 and Y is the hardrive partition starting from 0, so if windows is on the first partition it would be 0, second it would be 1 and so on.
          Hopefully that is helpful.

          Code:
          title Windows
          rootnoverify(hdX,Y)
          chainloader +1
          boot
          Should work on Win2K and WinXP

          Comment


            #6
            Re: Installed Linux, But it will not recognise my Windows HD

            still dont work...

            Is there other Loader I can try? or maybe there way to reinstall GRUB?

            Comment


              #7
              Re: Installed Linux, But it will not recognise my Windows HD

              I have two hard drives.

              One is

              sda1... used for Linux (hf0,0)

              other is sdb1 used for Windows.

              sdb HD was use first. So I installed Windows first. Then I installed Linux on sda..

              Maybe that what the problem is.. Before I used to have Windows on sda and Linux on sdb..

              is there way to fix it? without having to reinstall linux and windows.

              So Linux use Master HD and Windows use Slave HD.

              Comment

              Working...
              X