XP failed to boot after adding Red Hat Enterprise Linux
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
XP failed to boot after adding Red Hat Enterprise Linux
I have a Dell Precision 330 with (the latest) A09 BIOS and 1 TB SATA hard drive. There is a SATA-IDE converter between the SATA HD and the ATA133 cable. The OS was Window XP Professional SP3.
When adding RH Enterprise Linux 6 onto the computer, I created two additional partitions, one 400 GB for Linux's storage and a 10 GB swap space. I chose Window XP as the default OS.
After the installation, when the system started up, I can hit a key to have two optional OS: Window XP and Linux. If I chose Linux, the system would boot up. If I chose Window XP, the boot failed with a message that \windows\system32\config\system was missing or currupted. I read some articles that the problem can be fixed in window's recovery console with fixboot. After entering the fixboot command and restarting the computer, Window XP still failed to boot with an error message that another file was missing.
I thought I might have made some mistakes in the installation procedure and it would be cleaner to reinstall both OS. So I tried to install Window XP Professional again. Unfortunately, after booting from Window XP CD and formating the MBR and copying the window XP files, the computer can not restart with the installed XP. Instead, the computer boot from Window XP's CD repeatedly. If I removce Window XP's CD, the computer simply can not boot at all.
I began to wonder whether RH's Enterprise Linux made some change on the MBR of the HD that Window XP can not format.
Please advise where I did wrong and how to fix. Thanks.
If you reinstalled windows it would have written over the MBR again. If it is a ide hd make sure it you either have the harddrive on cable select with the master side of the cable plugged in or make sure it is on master jumper. Windows has to be on the first partition or you will have to edit grub to hide stuff from windows to boot. Also try disconnecting 1 hd and see if it will boot vice versa
There is only one HD and it is connected to the master end of the cable. The computer can not re-start even after I re-install Window XP with the format option.
This is a strange one. It just doesn't make no sense to me. I would say check your bios and make sure your harddrive is enabled to boot but if you can boot linux or you see it trying to boot windows and get an error then it sounds like it is bootable within your hardrive. Have you overclocked anything or modified anything in your bios. You may want to go in there and reset it to factory defaults. now your sata to ide cable could also be the issue. But if it boots linux then it prolly not. Check your windows cd and make sure you don't have a damaged CD.
Boot with a live cd of some linux if you have one.
Perhaps the partitions created have an error. I let Suse create an extended partition for me once and it overlapped into the Vista partition. Thankfully, I did not formar that area and simply re-created the proper partition(s).
Post the output of:
Code:
# fdisk -l /dev/sda
Make sure the /dev/xxx is correct for your system.
I began to wonder whether RH's Enterprise Linux made some change on the MBR of the HD that Window XP can not format.
by default it dose .
UNLESS you installed grub in the FIRST linux partition .
the installer gives you the option to install default ( puts grub on the mbr) or a custom place ( the First linux partition ) and leaves the mbr alone.
normaly rhel,cent,fedora,suse are VERY good at setting up grub for windows OS .However there are some partition schemes that might cause problems .
run the"fdisk -l " command from RHEL6 ,you will need to be root for that
Code:
su -
fdisk -l
AND read the grub.conf
/boot/grub/grub.conf ( it might also be called "menu.lis")
there is a group of lines in it that will look like this
Code:
title Windows xp
rootnoverify (hd0,0)
chainloader +1
the "(hd0,0)" is the partition
hd0 = first drive
,0 = first partition
that is where the windows "C:\\" drive is and fdisk will call it /dev/sda1 and there will be a "*" next to it in fdisk
the * means that it is a bootable flag and the partition is bootable
This doesn't look like a partition table
Probably you selected the wrong device.
Device Boot Start End Blocks Id System
/dev/sda1 ? 13578 119522 850995205 72 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 ? 45382 79243 271987362 74 Unknown
Partition 2 does not end on cylinder boundary.
/dev/sda3 ? 10499 10499 0 65 Novell Netware 386
Partition 3 does not end on cylinder boundary.
/dev/sda4 ? 167628 167631 25817+ 0 Empty
Partition 4 does not end on cylinder boundary.
Patition table entries are not in disk order
When I entered "ls /", below is the output:
bin dev etc firmware init lib lib_old mnt modules oldtmp proc root sbin selinux sys tmp usr usr_old var
Since there is no /boot, I was not able to read the grub.conf as John.VV suggested. As of now, I have tried to re-install Window XP Profession with the format option but it failed. When I powered on the computer, there was no boot option. The computer kept going back to reload the BIOS. Please advise what I can do to install Window XP and/or RHEL6. Thanks.
You will need to delete all the partitions and start over. This can be done with either the XP or RHEL disk. Make only a single partition for the XP install, and leave the rest un-partitioned. Then, after the XP install, if you want to install RHEL, tell it to use the un-partitioned space.
oops i miss read
you HAD Linux working
then used the xp install cd to "fix" things
as you found out the xp cd is a P.O.S.
and fubar'ed the system
the xp cd can not and never did have the ability to read NON Microsoft partition formats ( ntfs fat32 )
the xp cd is 100% useless until you "blank " the hard drive .Remove all partitions on it
i would use SystemRescueCD http://www.sysresccd.org/Main_Page
on a different computer DL it and burn to cd
reformat the drive to ntfs
then use the xp cd and reinstall xp
update to sp3-- service pack 2 is no longer supported -- install servicepack 3
I think the problem was the PATA-SATA converter made by HDE for two reasons: (1) I replace the SATA HD with a new one (same model) and the problem repeat again. (2) I took the converter and the SATA HD off and put the old PATA HD back and I was able to load both Window XP and Ubuntu without any problem.
I should mentioned that, initially, I planed to use the SATA HD and the converter together as a slave for data. However, when I added the SATA HD with the converter at the slave end, the system (Precision 330 with A09 BIOS) only recognized the SATA HD (with the converter) and could not recognize the old PATA HD, which was connected at the master end. The cable was an ATA133. I took the old master drive off and use the SATA HD with e the converter as the master. I was able to load Window XP SP3 and Ubuntu 10.10 but the Window failed to reboot with inconsistent error messages "c:/windows/system32/system is missing or currupted", "c:/windows/system32/ntoskrnl is missing or corrupted" or "c:/windows/system32/config/system is missing or corrupted". I tried "chkdsk c: /l" under the recovery console and the report said multiple errors were corrected but the computer still failed to reboot.
The most frustrating part of this problem was that I bought the converter and HD because someone wrote an review in amazon.com that the very same converter and a Seagate 1.5TB SATA HD worked well on his old Dell computer.
Red Hat
red hat dose not support the VERY new hardware
They never did and never will
RHEL is a STABLE server OS ,that "can" be ran on the desktop ( some hardware )
STABLE ( for one -- NO crashes --) with the trade off of older software
put the new hardware back in and see if fedora 14 installs
but if the rest of the hardware is too old ???
--- question ---
ubuntu installs and runs so
but xp sp3 will not
where did you but ubuntu's bootloader ? on top of xp's
if chainloading from ubuntu's menu.lis what partition is windows ? ( hda1 ) ?
that missing error is common if chainloading ans grub is looking in the wrong place
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.