Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 06-30-2006, 09:54 AM   #1
LQ Newbie
Registered: Jun 2006
Posts: 8

Rep: Reputation: 0
Exclamation Another boot problem!!!!!!!!!!!!!!!!!

i am a total linux newbie. so plz be patient and less technical in explaining.

1.i have 2 harddisks : 80 gb sata and 20 gb pata.
i have windows xp installed on sata . (it has four partitions of 20gb each . i dont know if its relevant or not)

2.My 20 gb harddisk has iso's of redhat 9 and rest free space.
created partitions : hdd1 -ex3 6mb
hdd5- vfat 6mb
hdd2- ex3 101 mb /boot
hdd3- 12gb /
hdd4- 957 mb /linux -swap
ABOVE information is noted down from the tool "kickstarter" from linux.
my processor is AMD 64 anthlon 3000+,ram 512 mb. way to linux install :
i ,for some stupid reasons, removed my sata hardisk before installing linux.then using boot cd which i created earlier installed LINUX on the 20gb harddisk successfully (using iso images ).my linux loads with grub boot loader.i am successfully running linux with no problems...

4.My problem
i have now connected my sata harddisk permanently.

when i chose "dos" from intial window (when sytem starts) windows doesnt boot bcos windows is located
in my sata to boot windows i have to configure my sata as boot drive everytime i want windows.
and pata as boot drive everytime i want linux.

i read previous posts some said boot loader shud be on same drive . i tried reinstalling linux and
when while installing it says that i shud specify the harddisk where the system shud look for booting dos when"dos" will be selected in intial window of system start ,i cudnt find my sata path . (i thought i wud specify the path of my sata c: drive and it will be solved)

help plz...
if unclear abt the problem pl tell me that too. i will try to be more lucid.
Old 06-30-2006, 10:23 AM   #2
Senior Member
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
First of all, welcome to LinuxQuestions

And into the problem. Could you be more specific about the problem? The problem as far as I can tell is that you can't boot the Windows XP from your linux bootloader?

The problem in this case is that Windows needs to be master in order to boot. This can be achieved by fooling it to think it's master by making following entry in the grub.conf or menu.lst in /boot/grub:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
chainloader (hd1,0)+1
This should make XP think he's master and boots it.
Old 06-30-2006, 10:37 AM   #3
Registered: Oct 2003
Location: Tennessee
Distribution: Fedora 22, CentOS
Posts: 177

Rep: Reputation: 16
It sounds like you need to install Grub on the master boot record of the SATA drive. Once you've done that, you can edit /etc/grub.conf to get the proper operating systems at boot time.

Alas, I'm too much of a newbie myself to tell you how to install Grub without doing a completely new install of Linux, but there is very likely a howto out there somewhere.

Would you be willing to zero-fill the 20 GB hard disk and reinstall Red Hat? While I don't have any computers with mixed serial ATA and parallel IDE hard drives, I would hope that as long as you install Linux with everything connected so it can be detected properly, it should work. Once Linux is installed, Grub should be on the master boot record on the SATA drive and should point to both operating systems.

Obviously, it is a very good idea to back up all your data first!
Old 07-01-2006, 02:08 AM   #4
LQ Newbie
Registered: Jun 2006
Posts: 8

Original Poster
Rep: Reputation: 0


tried but no effect
it shows"error' when i seleted windows from start screen

redhat 9 doesnt support sata . so whatever u told wasnt working
but i hava new problem see my thread weirdest boot problem ever

Last edited by ambar; 07-02-2006 at 02:23 AM.


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
boot problem...smp wont boot, but nonSMP will wullu Linux - Software 3 05-31-2006 04:59 PM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 10:20 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 02:47 AM
Boot problem w/FC2 - DISK BOOT FAILURE maugou Fedora 2 06-30-2004 07:37 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 09:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:08 PM.

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