Find the answer to your Linux question:
Results 1 to 5 of 5
I read through the HOWTOs and forums I am not sure how to tackle this. Here is what I did. 1) I installed Linux (Mint) on the first drive after ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    3

    grub install with linux on second drive

    I read through the HOWTOs and forums I am not sure how to tackle this.

    Here is what I did.
    1) I installed Linux (Mint) on the first drive after deleting XP(con it, (with another WinXp 3 copies already on the second drive D: E: and F
    - grub worked fine and booted Linux and option to boot one XP (D

    2) I wanted to reinstall XP on E: on the second drive, but windows wouldnt let me
    so I swapped drives. [ LINUX now on second drive and XP on the first]

    3) Windows boots, but of course does not see or care about the second drive

    4) I tried to fix boot.ini using "bootpart.exe" to boot Linux on the second drive but windows loader says corrupted hal.dll when I choose Linux

    5) How can I get grub to boot WinXP and Linux? Do I have to reinstall grub? Will the installation of grub detect all the bootable OSes and allow me to boot them?

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108

    Well its confusing. with the hard drive numbers

    try adding this in /boot/grub/menu.lst
    title Windows XP E:
    map (hd0) (hd2)
    map (hd2) (hd0)
    root (hd2,0)
    chainloader +1
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    3
    Thanks b2bwild.
    The problem is grub is not in control now, windows loader is.
    How can I get grub to be the bootloader as it is now on the second drive?

    I would have to boot off a Live CD to edit menu.lst
    (I came across super grub disk - will that help?)

  4. #4
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Use the 2nd drive as the 1st BIOS device, setting can be done from BIOS.
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  5. #5
    Just Joined!
    Join Date
    Jun 2009
    Posts
    3
    Thanks again b2bwild.
    I swapped the drives from Master to slave (using the jumper) when installing Windows. When I changed the boot order in the bios, grub started but failed, so I set it back to where it was.
    I booted with a live CD and changed all references from (hd0) to (hd1) and from /dev/sda to /dev/sdb in menu.lst; I then used super grub disk to install grub to the MBR and all was well again.

    Now I just have to figure out how to get Windows boot loader to boot Linux, so I can get windows to resume from hibernation without going through grub first.

Posting Permissions

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