LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 04-17-2005, 01:12 PM   #1
laserlight
LQ Newbie
 
Registered: Apr 2004
Location: Singapore
Distribution: Ubuntu 7.10 "Gutsy Gibbon"
Posts: 16

Rep: Reputation: 0
CentOS 4.0 + Windows XP Dual Boot


I am thinking of running CentOS 4.0, dual-boot with Windows XP.

Has anyone tried this (the one and only reviewer in Distro Reviews apparently has), and can comment on the ease of installation, and how well CentOS4 works as a personal OS as opposed to an 'enterprise server' OS?
I intend to use it for software development, but I'd still need the usual Internet, Open Office etc stuff.

Thanks
 
Old 04-17-2005, 04:34 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Can't tell you about dual booting WinXP or any Windows as I don't have them installed. I do have it dual booting with Fedora and it's a piece of cake. Actually, can't see why it should be any problem with Windows as that will be detected at install.
It comes with Firefox, Thunderbird, Open Office and looks pretty much like any other linux distro with kde or gnome.
 
Old 04-18-2005, 10:47 PM   #3
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,762

Rep: Reputation: 192Reputation: 192
I've got CentOS 4 dual booting with WinXP. No problems at all. I installed grub to the MBR. I let the installer make an entry in grub for windows. The only thing I changed was after install I edited grub to say windows xp instead of other, and change the timeout to 10 seconds instead of 5. As always, back up before moving partitions or doing a dual boot machine.

The CentOS install looks just like Fedora or Red Hat. Anaconda. So far seems to be stable, works well. Kernel 2.6.9. Like all Red Hat distros it doesn't have mp3 support with it. You'll have to install Lame. It did not have gkrellm on the install disks either. I used Fedora rpms for gkrellm, xmms lame support ect. and they worked fine. I also used a Fedora mplayer browser plug-in. I forced it with --nodep. It also works fine in Firefox. I compiled mplayer from source. You'll need to have gcc and friends installed to compile. Those were FC2 rpms that I used by the way. Your not suppose to do that, but they are all Red Hat and the ones I used worked ok. CentOS is a little more stable than FC2. The network stalls are not as frequent. When browsing the net for a long while, and the browser just seems to die, a simple "ifdown eth0" then "ifup eth0" puts it in action again.
 
Old 04-19-2005, 12:19 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
DAG has rpms for RHEL, so you can use those instead of using Fedora rpms.
 
Old 04-21-2005, 10:53 AM   #5
laserlight
LQ Newbie
 
Registered: Apr 2004
Location: Singapore
Distribution: Ubuntu 7.10 "Gutsy Gibbon"
Posts: 16

Original Poster
Rep: Reputation: 0
Well, the install went pretty well, though I did have a hiccup with burning the disks - but that's probably just due to faulty CDs.

CentOS4 runs well and good.
Unfortunately, I've run into a problem with using GRUB.
Basically I'm running on 2 SATA hard disks of 80 GB each, one for Windows XP with 2 partitions, the other for Linux with 3 partitions (/, /home and swap partition).
Windows XP was installed first, followed by CentOS 4.0 (though I did install Mandrake 10.1 previously, but completely removed that install).
My CentOS install was a custom selection, but I did not go further in configuring grub, aside from changing the name of the Windows XP selection, and making Windows XP default.

The symptoms are: when trying to load windows xp, the boot parameters from the grub installation are displayed, and grub hangs.

From what I can remember, the output when grub hangs is:
Booting 'Windows XP'
rootnoverify (hd1,0)
chainloader +1

Here's my grub.conf file, grub having been installed on mbr:
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/sda1
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS 4.0 (2.6.9-5.0.3.ELsmp)
	root (hd0,0)
	kernel /boot/vmlinuz-2.6.9-5.0.3.ELsmp ro root=LABEL=/1 rhgb quiet
	initrd /boot/initrd-2.6.9-5.0.3.ELsmp.img
title CentOS 4.0-up (2.6.9-5.0.3.EL)
	root (hd0,0)
	kernel /boot/vmlinuz-2.6.9-5.0.3.EL ro root=LABEL=/1 rhgb quiet
	initrd /boot/initrd-2.6.9-5.0.3.EL.img
title Windows XP
	rootnoverify (hd1,0)
	chainloader +1
Now, I tried searching for a solution, and the most comprehensive I've seen is one for Fedora Core 2: Making Fedora Core 2 and Windows play well together.

Unfortunately, I dont seem able to use the preventive measures suggested, and the recovery solution does not seem to work at all.

Does anyone know of a working solution for CentOS4?
Thanks

Oh, in case this it is useful, here's my output from
sfdisk -d /dev/sda
Code:
# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=       63, size= 49158837, Id=83, bootable
/dev/sda2 : start= 49158900, size=104856255, Id=83
/dev/sda3 : start=154015155, size=  2281230, Id=82
/dev/sda4 : start=        0, size=        0, Id= 0
 
Old 04-21-2005, 02:21 PM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Quote:
title Windows XP
rootnoverify (hd1,0)
chainloader +1
That looks like windows is on drive 2 so you may have success with the map command...
title Windows XP
rootnoverify (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
 
Old 04-22-2005, 06:54 AM   #7
laserlight
LQ Newbie
 
Registered: Apr 2004
Location: Singapore
Distribution: Ubuntu 7.10 "Gutsy Gibbon"
Posts: 16

Original Poster
Rep: Reputation: 0
Yep, that solved the problem.

Thanks
 
Old 04-22-2005, 08:33 AM   #8
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Thumbs up

Glad ya got it going!
 
Old 12-14-2005, 05:53 AM   #9
NoUse4ANick
LQ Newbie
 
Registered: Oct 2005
Location: Bellingham WA
Distribution: SUSE 10.0, will try others later =)
Posts: 24

Rep: Reputation: 15
homey i would just like to say thank you because everyone else was wrong for an xp dual boot! (they all left out the two map commands)

you just saved me hours and hours of reading boring documentation =)
 
Old 02-01-2010, 12:51 PM   #10
spacedninja
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Rep: Reputation: 0
im a complete linux n00b. just to be forewarned. i'm having trouble getting centos4 to dual boot w/ anything to be honest. ive tried upgrading to centos5 but the cdrom drive keeps saying every iso i've gotten has a bad checksum (sounds bad don't know what it means) i'm not exactly computer literate but i was told to install this so it could run a program i need for work. all traces of windows are gone, i have an XP install disk that doesnt boot, along with linux mint and a gparted live cd all using the iso (other than the windows that one i bought) and none of them are able to make the pc boot from the cd. the only cd that actually works for a boot disk is the original cd from centos4. any help?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS / Slackware Dual boot Problem Dankles Slackware 2 11-01-2005 02:50 PM
Ext3 partion corrupts with RH8/CentOS 4 dual boot simonb Red Hat 1 05-31-2005 04:29 AM
How do I dual boot Linux and Windows XP from Windows boot file andyri Linux - Newbie 4 08-04-2004 10:09 PM
Linux/Windows dual boot with Windows re-install dhowell1129 Linux - Newbie 6 04-25-2004 04:21 AM
Win98/Linux - dual boot : windows boot says logical drives exist past z ashpai Linux - Software 3 03-22-2001 09:00 AM


All times are GMT -5. The time now is 03:43 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration