Friday, August 26, 2005 9:45 AM Christopher

Dual booting Linux Redhat 9 and Windows XP using a CD

We have a couple of legacy applications here, written in C++, that have always run on windows and *nix. In order to support the *nix versions, we always have to have a Linux install hanging around (we also have a solaris, but that's already set up).

So we got a Dell Precision 380 workstation with a SATA drive that had Windows XP installed on it. Since the Dell didn't come with a floppy drive, I couldn't very well just create a boot diskette. That would be useless. So based on the fact that there is a spec called "El Torito", I looked up an article online about Linux Bootdisks. It looked pretty good, but there was one glaring omission: the author mentions that you need to load any initial ramdisk via LILO, but doesn't explain how to setup LILO correctly for a floppy image. I decided to go back to it if necessary and went to redhat.com to see if there was any insight there.

I ended up finding a section of documentation that outlines how to create an Installation Boot CD-ROM, but I had already installed it! I later found that if at the bootloader screen of the install CD I typed the command:

vmlinuz root=/dev/hdb2

It would in fact load the installation off of the second (IDE) harddrive (thanks, btw, linux for making me use a modified kernel to support SATA drives. That's top-notch, guys.)

So I figured that the secret to the sauce was probably in the isolinux.cfg file that configures all the commands visible at the boot loader screen. First I tried something like this: 

default linux
label linux
	kernel vmlinuz
	append root=/dev/hdb2 initrd=initrd.img

but that didn't work, it still brings up the install screen. So I figured why not try the simplest possible solution using the config file, and this is what I came up with:

default vmlinuz root=/dev/hdb2

Guess what? I now have a Redhat Linux 9 install that will boot from a CD and I didn't have to mess with a bootmanager or touch the MBR in any way. I don't have to wait those pesky 10 seconds for either grub or the windows NT bootloader to select which install to start - I just pop in a CD if I want linux, and open it if I want WinXP.

Filed under:

Comments

# re: Dual booting Linux Redhat 9 and Windows XP using a CD

Friday, August 26, 2005 1:35 PM by Daniel Auger

Redhat 9 is a couple years old. Red Hat Fedora Core 4, supports SATA drives out of the box on most configurations (unlike say, windows, which requires you to install the driver on when you install XP). However windows supports DVD/CD over SATA. Linux does not have any support for this at this time. You win some, you lose some ;).

# re: Dual booting Linux Redhat 9 and Windows XP using a CD

Friday, April 04, 2008 3:23 AM by chakradhar

need linux os working with the windows as a second os in the single pc

# re: Dual booting Linux Redhat 9 and Windows XP using a CD

Thursday, February 26, 2009 4:04 AM by Navinda Basuru

I want to Install Red hat linux

# re: Dual booting Linux Redhat 9 and Windows XP using a CD

Tuesday, March 23, 2010 2:52 AM by Than

Good Day. Someone's boring me. I think it's me. Help me! I can not find sites on the: Wedding rings discounts stores. I found only this - <a href="www.terasoft.cz/.../WeddingRings">wedding ring vow</a>. Wedding rings, the onyx of ring treating is an same wow of the clipart details during the yum kippur. It delivers of the unbearable attendants the, marketed in the different uses, wedding rings. With love :o, Than from Oman.

Leave a Comment

(required) 
(required) 
(optional)
(required)