LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-18-2006, 07:44 AM   #1
mac1234mac
Member
 
Registered: Sep 2005
Posts: 183

Rep: Reputation: 30
problem with running Windows after installing Linux


Hi

I've got SATA hard drive and first installed Win XP on it. It
worked fine but I installed on one of the partitions Aurox 11.0 and
Win stopped working. Now, I've got separate IDE hard drive (broad band) for Windows and my old SATA for Linux. I can run Linux with
both drives turned on and access shares on Windows drive. But
I cannot run Windows with both drives on. To run Windows I have
to disconnect power to SATA drive. Windows doesn't run even if I turn off SATA drive in BIOS. Only SATA power off helps.

Cheers

Last edited by mac1234mac; 03-18-2006 at 07:45 AM.
 
Old 03-18-2006, 07:56 AM   #2
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
I think I know your problem and if I'm correct it is quite common and I believe has an easy solution. From my understanding you have a two drive setup where one is IDE and the other is SATA. I have a couple of questions?

Which bootloader are you using?
Which drive is the bootloader installed on?
If the bootloader is on the SATA drive and you are using grub then the solution to your problem will require adding a few lines to your grub.conf file. The reason why it won't work is because windows won't boot unless it is on the primary hard drive. The lines that you add to the configuration file will change the drive mapping so that the windows drive thinks it's the primary hard drive in your configuration.

SOLUTION:
This is an example grub.conf file and the text in bold is what you may have to add. NOTE YOU MAY HAVE TO CHANGE THE CONFIGURATION FOR YOUR SETUP.
Code:
# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up :)
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12-r10
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.12-gentoo-r10 root=/dev/hda3

# The next four lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda6.
title=Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,5)
makeactive
chainloader +1
I apologize ahead of time if the configuration above is incorrect. I'm not at my linux machine at the moment. This should help you though. Make sure you backup your grub.conf file and tweak the settings until it works.

If The bootloader is installed on the windows drive then we are going to need some more information.

Hope this helps!

Last edited by Centinul; 03-18-2006 at 07:58 AM.
 
Old 03-18-2006, 08:17 AM   #3
mac1234mac
Member
 
Registered: Sep 2005
Posts: 183

Original Poster
Rep: Reputation: 30
I'm using grub. And Linux bootloader is /dev/sda (SATA)
But I have Windows on separate drive and with separate bootloader.
At the moment I'd only like to be able to run Windows with my
SATA on. I don't have entry for Windows in my grub.conf file.
It would be enough for me if I could change Hard Drive Sequence in
Bios.

Last edited by mac1234mac; 03-18-2006 at 08:26 AM.
 
  


Reply



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
installing linux and windows in two disk problem vijirin Linux - General 4 03-04-2006 01:49 PM
Running windows from within linux rbh123 Linux - Newbie 4 10-02-2005 06:50 PM
Running a windows program from windows partition, on linux, possible? Kriptis Linux - Newbie 4 01-18-2005 10:52 PM
Running Windows Games In Linux From Windows Hard Drive Darkstar274 Linux - Games 2 12-25-2003 11:19 PM
Linux running windows within it? MsticAzn Linux - Newbie 6 07-16-2002 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:16 PM.

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
Open Source Consulting | Domain Registration