Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I have a system that now has two drive in it. On the IDE drive is Fedora Core 3. This was installed first and runs fine. I recently added ...
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    4

    Configuring dual boot, after installation of Fedora Core

    Hi,

    I have a system that now has two drive in it. On the IDE drive is Fedora Core 3. This was installed first and runs fine. I recently added a new SATA drive. To get the Windows installed to this drive I had to disconnect the IDE drive with Fedora. How can I modify the loader on the IDE drive so I can dual boot the system?

    Thanks,

    Jerry

  2. #2
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    not sure I fully understand your question, but...

    If it's just a case of Windoze demanding to be the first drive in the string of drives, the grub has a map facility. Have a look at the tutorial about solving boot problems with grub in the general tutorial section and have a look at the sample grub.conf.

    have fun

    Nerderello

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Posts
    4
    Quote Originally Posted by Nerderello
    not sure I fully understand your question, but...

    If it's just a case of Windoze demanding to be the first drive in the string of drives, the grub has a map facility. Have a look at the tutorial about solving boot problems with grub in the general tutorial section and have a look at the sample grub.conf.

    have fun

    Nerderello
    Great tutorial. The question I have is more basic. I succssfully installed Windows on the SATA drive. However, that was with the IDE drive that contain Linux disconnected. The question is how do I modify grub.conf to add an entry that will let me boot the Windows installation on the SATA drive? I saw in your tutorial the entries in grub.conf, but how do I determine what the designation of the SATA drive is?

    Thanks,

    Jerry

  4. #4
    Linux Engineer
    Join Date
    Mar 2005
    Location
    Where my hat is
    Posts
    765
    Bug out to the console. Log in as root. Type fdsik -l

    That will give you all the info you need to know about your drives.
    Registered Linux user #384279
    Vector Linux SOHO 6 / Vector Linux 7 RC 3.4

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

    Got it working!

    Thanks for all the replies.

    I got it working: I had to change both the device.map and grub.conf files in \boot\grub. Here are the steps I followed:

    1) As suggested I did a /sbin/fdisk -l. This showed my SATA disk as /dev/sda1.

    2) I tried changing grub.conf to use sd0 but that generated an error 23: bad number

    3) Added the following line to device.map

    (hd1) /dev/sda

    I suspect this line should have been added by Anaconda, but I installed FC3 with the SATA drive powered off.

    4) Added windows entry to use hd1 as per the tutorial. The entry is

    title Windows XP Pro
    map (hd1) (hd0)
    map (hd0) (hd1)
    rootnoverify (hd1,0)
    makeactive
    chainloader +1

    That's it. My system has a grub entry that lets me boot Windows XP.

    jerry

Posting Permissions

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