Previous: KontrollerLab: An AVR IDE for Linux
Next: ErrorDocument in .htaccess Returns 302 Response

Adding Fedora and Windows to my Ubuntu Installation

October 13th, 2007

I have been running Ubuntu for a few months and have seldom--if ever--needed Windows. However, I've recently needed to test some software on both Windows and Fedora Linux. So, I had to add a Windows XP installation and a Fedora Core 6 installation to my current Ubuntu "Feisty Fawn" system. Here's some install notes.

  1. Disconnect primary hard drive and replace with a new, empty hard drive. This will hold my additional operating systems.
  2. Install Windows XP. When setting up the partitions, I created a 10GB partition for Windows using the FAT file system to ensure Linux can read/write without having to think about any configuration. I'll only be using this OS for testing software I develop so performance isn't too important.
  3. Install Fedora Core 6 (FC6) next. This will wipe out the boot record Windows installed and replace it with Fedora's version of GRUB. During the FC6 installation, I create another 10GB partition for Fedora and a 1024MB partition as swap.
  4. Replace my original hard drive (with Ubuntu) as the primary drive, and move the second 80GB hard drive to the secondary IDE channel.
  5. Back in my primary installation of Ubuntu (which is where the boot record is) I need to tell GRUB about the 2 new operating systems. From a terminal, I run:sudo gedit /boot/grub/menu.1stI then add the following to the VERY END of the documnet, after the line that reads "### END DEBIAN AUTOMAGIC KERNELS LIST"title    Microsoft Windows XP
    map (hd0) (hd1)      # Map hd1 to hd0
    map (hd1) (hd0)
    rootnoverify (hd1,0)     # rootnoverify ensures no attempt is made to mount windows
    makeactive
    chainloader +1
     
    title Fedora Core 6 (2.6.18-1.2798.fc6)
    root (hd1,1)
    kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.18-1.2798.fc6.img


Categories
Linux

Related Posts


Technorati Tags

One Response to “Adding Fedora and Windows to my Ubuntu Installation”

RSS Subscription Comments RSS Feed

  1. John Says:

    That's really useful -- I'm about to have to do that.
    So the reason I probably have to do that, and the reason I showed up at your website, is because I'm trying to get my kitsrus 150 pic programmer working under linux. I'd like to use pp, and I've found email on lists indicating you've worked with this particular combination. Did you get it working? I might just go ahead and install XP just so I can use this programmer, because my other programmer, an old PICstart+, won't handle any modern pics, even though it works beautifully under linux.

    Any help would be appreciated, and the grub info is very much appreciated.

Leave a Reply