Language Selection

English French German Italian Portuguese Spanish

Making a dual-boot RH9 and Fedora Core 3 computer

Filed under
HowTos

Making a dual-boot RH9 and Fedora Core 3 computer
TGodfrey 07-07-05

There are many different ways to configure dual booting Linux and Windows on a computer. There are very few documented methods in configuring a dual booting Linux setup. This write-up (although not perfect), should give the basis of getting Red Hat 9 and Fedora Core 3 working on the same hard drive.

The machine I used is a standard IBM PIII-600, 128mb RAM, with roughly 40gb of hard drive space. It’s a great machine which I’ve had for many flawless years and is about as solid as a mid-1950’s Buick.

My plan is to divide it in half for this installation. I booted from the RH9 CD, configured Disk Druid accordingly:

/boot    ext3    100mb
/        ext3    15000mb (15gb)
       swap    520mb

…then loaded the box in a workstation configuration. The install ran through the three CD’s and rebooted afterward. Other items were finalized when it came back and the installation looked good. I then accessed TERMINAL, changed to /etc, and copied the existing grub.conf file to grub.rh9_1 to make a backup copy. Put Fedora CD#1 in the drive and then do an ‘init 6’ for the reboot.

You will want to do a new installation, not an upgrade to the RH9 system. I decided to do the partitioning very similar as before. When it got to putting together the grub file, I selected it to write a new one. The rest of the install went very well and I rebooted afterwards.

The machine came back and only the Fedora part was in the newly written grub file just like I told it to do. Great….now where is the RH9 install I did earlier? Since the computer was running, it was decided to access TERMINAL, change to /etc, and copy the existing grub.conf to grub.fed_1 since I like working with a safety net. I rebooted with the original RH9 CD, fixed the grub for RH9 to boot, and then rebooted yet again.

I figured all I have to do is update the RH9-made grub with a few lines from the Fedora-made grub and all will be well. This was true and all works very well. Listed below are the steps I did and the final grub.conf file:

1. Go to TERMINAL
2. Type: cd /mnt [ENTER]
3. Type: mkdir Fedora [ENTER]
4. * When I configured the Fedora installation, it saw the ‘/’ as hda5 So….type: mount /dev/hda5 /mnt/Fedora [ENTER]
5. Type: cd /mnt/Fedora [ENTER], then an ‘ls’ to list files
6. Type: cd /etc [ENTER], then type: cat grub.fed_1 [ENTER]
To display the contents of the file
7. Open another TERMINAL
8. Type: cd /etc, then type: vi grub.conf [ENTER]
9. Add the Fedora lines where you would like and how you would like. Make sure the save the file when you are done. My grub.conf file looks like:

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title RH Linux 9 (2.4.20-6)
    root (hd0,0)
    kernel /vmlinuz-2.4.20-6 ro
    root=LABEL=/ hdc=ide-scsi
    initrd /initrd-2.4.20-6.img
title Fedora Core 3 (2.6.9-1)
    root (hd0,4)
    kernel /boot/vmlinuz-2.6.9-1.667 ro
    root=LABEL=/12 rhgb quiet
    initrd /boot/initrd-2.6.9-1.667.img

I am sure there is probably a simpler way of getting the same results, but the entire exercise took about 45 minutes and it was kind of fun to do. Hopefully, you can glean what you need from this without doing the extra install of RH9. Just make sure the kernel version and hard drive setup match what you have. It works well and I now have a working knowledge of doing a dual boot Linux setup.

More in Tux Machines

Google Chrome 38 Beta Brings New Guest Mode and Easier Incognito Mode Switching

The developers have explained that the user switching feature has been redesigned and it will make changing profiles and into the incognito mode a lot simple. They have also added a new experimental Guest mode, a new experimental UI for Chrome supervised users has been implemented, and numerous under-the-hood changes have been made for stability and performance. "This release adds support for the new element thanks to the hard work of community contributor Yoav Weiss, who was able to dedicate his time to implementing this feature in multiple rendering engines because of a successful crowd-funding campaign that raised more than 50% of its funding goal." Read more

PfSense 2.1.5 Is a Free and Powerful FreeBSD-Based Firewall Operating System

PfSense is a free network firewall distribution based on the FreeBSD, it comes with a custom kernel, and a few quite powerful applications that should make its users’ life a lot easier. Most of the firewall distros are Linux-based, but PfSense is a little bit different and is using FreeBSD. Regular users won't feel anything out of the ordinary, but it's an interesting choice for the base. The developers of PfSense are also saying that their distro has been successful in replacing a number of commercial firewalls such as Check Point, Cisco PIX, Cisco ASA, Juniper, Sonicwall, Netgear, Watchguard, Astar, and others. Read more

A free culture event in Pakistan

digital materials freely online. With regards to the open source community in Pakistan, the situation is analogous to that on Wikipedia. Outside of a core group of members of Mozilla Pakistan and Linux Pakistan, the majority of internet users are not familiar with the free culture and open movements. This, in all likelihood, is due to a lack of widespread awareness of the movements. Even as Pakistan is experiencing a widespread internet penetration amongst the public, unfortunately the country has not yet adapted well to the ideas of free culture and open. Copyright protection in Pakistan is a critical issue and copyright infringement and online piracy has always been a concern. With Wikimedia Pakistan, we can help to raise awareness of the advantages and benefits of having open and free platforms, and the major role this could play in developing our market and economy. We all need to play our part in ensuring a bright future for the open and free internet. I think the success of the movement globally depends on participation of people from not only the developed countries but also from the Global South. Read more

Mesa 10.3 release candidate 2

Mesa 10.3 release candidate 2 is now available for testing. The current plan of record is to have an additional release candidate each Friday until the 10.3 release on Friday, September 12th. The tag in the GIT repository for Mesa 10.3-rc2 is 'mesa-10.3-rc2'. I have verified that the tag is in the correct place in the tree. Mesa 10.3 release candidate 2 is available for download at ftp://freedesktop.org/pub/mesa/10.3/ Read more