Announcement

Collapse
No announcement yet.

Windows not loading - SOLVED

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

    Windows not loading - SOLVED

    Had a multi boot system Kubuntu 7.10, W2000, Kubuntu Hardy.
    7.10 on hda
    W2000 on hde.1
    (windows data on hde.2)
    Hardy on hdg.

    So, hda died. I removed it, did the grub routine, and got hardy starting just fine.

    Not so with W2000. The screen keep on
    Code:
     Starting ...
    I have been looking at my device map file, and to me it looks just fine:

    Code:
    (hd0)	/dev/hde
    (hd1)	/dev/hdg
    And in menu.lst i have:


    Code:
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/hde1
    title		Microsoft Windows 2000 Professional
    root		(hd0,0)
    savedefault
    makeactive
    map		(hd0) (hd1)
    map		(hd1) (hd0)
    chainloader	+1
    I'm probalby staring at the obvious mistake without seeing it - anyone able to help me?

    (I need W2000 to run my best scanner and the Pixma printer. (Yes I know it is supported, but not good enough for photo paper, head cleaning, changing the ink.)


    #2
    Re: Windows not loading

    Removing a HD is going to result in a change to how the remaining drives are identified.

    In Hardy, open a console and type:
    Code:
    sudo fdisk -l
    This will let you know how your drives are being identified.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Windows not loading

      If your BIOS is NOW set to boot from the Windows drive, then at boot time, that drive is seen as hd0 and so change the Windows boot entry to this:

      # This entry automatically added by the Debian installer for a non-linux OS
      # on /dev/hde1
      title Microsoft Windows 2000 Professional
      root (hd0,0)
      savedefault
      makeactive
      chainloader +1


      If the Windows drive is not the first BIOS boot driven then try this:

      # This entry automatically added by the Debian installer for a non-linux OS
      # on /dev/hde1
      title Microsoft Windows 2000 Professional
      root (hd0,0)
      savedefault
      makeactive
      map (hd0) (hd2)
      map (hd2) (hd0)
      chainloader +1


      If that doesn't work, you'll have to find out what drive Windows is on (it's not hd0, hd1, or hd2, we know that).

      Get into Kubuntu, open Konsole
      sudo grub
      geometry (hd<Press the TAB key now>
      (don't type the symbols < or >; no space between hd and the TAB key)
      and explore your drives as they are seen by GRUB:
      grub> geometry (hd0)
      grub> geometry (hd1)
      grub> geometry (hd2)
      grub> geometry (hd3)
      etc.
      until you find Windows, call it hdx, then put that here:

      # This entry automatically added by the Debian installer for a non-linux OS
      # on /dev/hde1
      title Microsoft Windows 2000 Professional
      root (hd0,0)
      savedefault
      makeactive
      map (hd0) (hdx)
      map (hdx) (hd0)
      chainloader +1

      That'll get it.

      An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

      Comment


        #4
        Re: Windows not loading

        Originally posted by Snowhog
        Removing a HD is going to result in a change to how the remaining drives are identified.

        In Hardy, open a console and type:
        Code:
        sudo fdisk -l
        This will let you know how your drives are being identified.
        fdisk -l

        Code:
        Disk /dev/hde: 120.0 GB, 120034123776 bytes
        255 heads, 63 sectors/track, 14593 cylinders
        Units = cylinders of 16065 * 512 = 8225280 bytes
        Disk identifier: 0x7379a210
        
          Device Boot   Start     End   Blocks  Id System
        /dev/hde1  *      1    7297  58613121  7 HPFS/NTFS
        /dev/hde2      7298    14593  58605120  f W95 Ext'd (LBA)
        /dev/hde5      7298    14593  58605088+  7 HPFS/NTFS
        
        Disk /dev/hdg: 250.0 GB, 250059350016 bytes
        255 heads, 63 sectors/track, 30401 cylinders
        Units = cylinders of 16065 * 512 = 8225280 bytes
        Disk identifier: 0x000122f8
        
          Device Boot   Start     End   Blocks  Id System
        /dev/hdg1  *     85    2651  20619427+ 83 Linux
        /dev/hdg2      30214    30401   1510110  5 Extended
        /dev/hdg3      2652    30213  221391765  83 Linux
        /dev/hdg5      30214    30401   1510078+ 82 Linux swap / Solaris
        Then - from Qqmike - I do grub geometry.

        I find that

        Code:
        (hd0)
        
        partition num: 0 Filesystem unknown, partitiion type 0x7
        partition num: 4 Filesystem unknown, partitiion type 0x7
        For (hd1) I find what is expected for Linux, as expercted.
        For (hd2) I get no disk.

        I have checked the bios start up - it is set to hd 0 for the two first.

        What I might add is that the two disks are on a raid controller, set as two separate disks.

        Comment


          #5
          Re: Windows not loading

          Originally posted by Qqmike
          If your BIOS is NOW set to boot from the Windows drive, then at boot time, that drive is seen as hd0 and so change the Windows boot entry to this:

          # This entry automatically added by the Debian installer for a non-linux OS
          # on /dev/hde1
          title Microsoft Windows 2000 Professional
          root (hd0,0)
          savedefault
          makeactive
          chainloader +1
          Ah, without the

          Code:
          map		(hd0) (hd1)
          map		(hd1) (hd0)
          lines! I did believe these to be "just in case"

          Windows up and running!

          Thank you both!

          Comment


            #6
            Re: Windows not loading - SOLVED

            You would need those two map commands if XP were on hd1; but since you removed a disk, XP ended up on hd0, so no need for the map dance.
            Glad you got it to work, and thanks for your feedback.
            An intellectual says a simple thing in a hard way. An artist says a hard thing in a simple way. Charles Bukowski

            Comment

            Working...
            X