LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-30-2006, 08:54 AM   #1
ambar
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.

3.my 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 harddisk.so 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, 09:23 AM   #2
Zmyrgel
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:
Code:
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, 09:37 AM   #3
tnandy
Member
 
Registered: Oct 2003
Location: Tennessee
Distribution: Fedora 22, CentOS
Posts: 169

Rep: Reputation: 15
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, 01:08 AM   #4
ambar
LQ Newbie
 
Registered: Jun 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy

@zmyrgel

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 01:23 AM.
 
  


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


All times are GMT -5. The time now is 10:45 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration