Privacy guaranteed - Your email is not shared with anyone.

Welcome to Glock Forum at

Why should YOU join our forums?

  • Connect with other Glock Enthusiasts
  • Read up on the latest product reviews
  • Make new friends to go shooting with!
  • Becoming a member is FREE and EASY

Glock Talk is the #1 site to discuss the world’s most popular pistol, chat about firearms, accessories and more.

Dual Boot Win XP Pro and Linux

Discussion in 'Tech Talk' started by mfackler, Jun 2, 2005.

  1. I am thinking of building a new PC. I would love the final result to dual boot Win XP Pro and Linux (Mandriva??). I have some parts on the way and am saving up some money for the rest. While I’m waiting on the $$ I am researching what all I will need to do.

    I have Googled my brains out and it appears to me the dual boot should be fairly straightforward with GRUB. The sights I have looked at appear to be “dated,” and kind of confusing. For example; Do I put GRUB in the Master Boot Record? Some say yes some say no. What about Window’s BOOT.INI? Can I just use that?

    I guess what I’m really asking from someone who has done it, is there a better “how too” for what I’m trying to do?

    I would really appreciate if someone could point me in the right direction for something to read.

    Thanks in advance

  2. HerrGlock

    HerrGlock Scouts Out CLM

    Dec 28, 2000
    Install windows first.

    When you install Linux, Grub will set up dual boot automagically.

    Install it in the boot sector of the first HDD.

    If you ever reinstall WIN, it will blow away the boot sector and you will no longer have dual boot until you reset Grub.


  3. Thanks HerrGlock

    Thats what I was getting from my reading but I wanted to be sure. Thanks again

  4. David_G17

    David_G17 /\/\/\/\/\/\/\/

    Oct 7, 2002
    if you are only installing those 2 operating systems, yes (it's probably the default option anyway).
  5. Mandriva has fairly good Windows bootloader reinstaller.But if you are going to have two hard drives,you can install Windows first then switch the Windows hard drive to SLAVE and the other drive to MASTER.Install Linux on the now Master drive with the Linux bootloader on the Master Boot Record of it's drive.It will reconize the Windows Slave drive and allow booting to Windows also.This way if you every remove or change Linux the Windows drive will be unchanged and able to boot on it's own by switching it to be the Master drive.
  6. fastvfr

    fastvfr Ancient Tech

    Mar 28, 2001
    SW Oregon
    DC's advice is very close to my method.

    In my PC's I set the new HDD as Master with no other hard drives present. Install up to three Linux kernels to separate partitions there. Don't forget to budget in 512MB each for swap files!

    It is also helpful to set up a 20GB or so FAT32 partition if you can spare the space. Use this for swapping files between Linux and XP, and also for archiving the root and home directories of your Linux installs for safekeeping.

    Then remove this drive completely, install the 2nd HDD and install XP to it. Slave the Linux disk in once this is complete.

    I use GAG bootloader to identify and assign each OS a letter; GRUB and LILO will usually work but I have found that everything is just tighter with LILO installed into the individual partitions, then use GAG, installed into the MBR, to allow for OS choices.

    Pretty easy after you do it a few times. BTW, I prefer Debian-based OSes.

    Good luck.
  7. Thanks again everyone. I should have said that I was only planing on the one HD (160GB). I think that must be the key. I was thinking it would go like HerrGlock said. I have been around here enough to know that when Washington,D.C. says something it's best to listen he's got me convinced he knows what he's talking about.

    Debian was my second choice. Will probably put that on another box.
  8. Furant

    Furant Millennium Member

    Oct 14, 1999
    Roswell, GA
    I agree, DC and fastvfr are required reading for any techie wannabe. When I set up both my home computer and my laptop to dual boot XP and Slackware, I followed fastvfr's instructions (Lilo and GAG) and it's worked flawlessly.
  9. Vince


    Jul 3, 2001
    Midland, MI, USA

    Thank you, Washington D.C., for the procedure on loading Linux on two hard drives. I followed it to install Redhat Fedora Core 3, but had to make one change. Windows would not boot from Grub. I did a quick Google search, and found the solution. I needed to go in as the root user and change the windows title code in the boot.conf file to the following:
    title Windows
    map (hd0) (hd1)
    map (hd1) (hd0)
    root (hd1,0)
    chainloader +1

    Everything is great now. I just need to learn how to use Linux better, now.

    Have a great day!
  10. fastvfr

    fastvfr Ancient Tech

    Mar 28, 2001
    SW Oregon