LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-09-2004, 04:03 PM   #1
sbixby
LQ Newbie
 
Registered: Mar 2004
Location: El Sobrante, CA
Distribution: Fedora 1
Posts: 4

Rep: Reputation: 0
Question Boot WinXP (on SATA) from GRUB (on PATA?)


I have an ASUS A7N8X box that's mostly for WinXP (as that's how I earn my living). I want to explore Linux in detail and have installed Fedora Core 1 on the system. It generally runs fine and I'm working through the issues a little at a time.

First off, though, is how to get GRUB to boot WinXP on my drive configuration. What I have is a 120G SATA drive as the boot drive for XP and two older PATA drives on the IDE channels along with two optical drives.

The BIOS is set to boot from "SCSI", which lets the Silicon Image 3112 controller perform boot duties.

Currently the drives are laid out as follows:

PATA 0 (shows as /dev/hda)
100MB for /boot
79G for NTFS

PATA 1 (shows as /dev/hdb)
30GB for FAT32
2GB for Linux Swap
28GB for Linux root (/)

SATA 0 (shows as, I think /dev/hde? Not sure.)
120GB for NTFS.

GRUB is installed on the /dev/hda MBR.


So, if I change BIOS to boot from the first HD, GRUB boots Fedora Core just fine. This is what I'd like to use for booting Windows as well.

Will GRUB do this for me?

The default install of /etc/grub.conf showed a second boot directive trying to boot "DOS" at (hd0,2) (from memory).

From my understanding of GRUB's nomenclature and how Windows sees the drive ordering as PATA0, PATA1, SATA0...etc, I thought that I could get GRUB to boot WinXP off SATA using "(hd2,x)". I tried several values for 'x' and all but '0' had GRUB saying "no such partition". A value of '0' resulted in a lock-up of GRUB.

I suspect some of this is due to GRUB not being aware of the SATA drive at boot time as opposed to when the kernel has probed out the BIOS to find the SATA.

I've also tried using the 'ff' & boot.ini trick to run the boot loader from NTLDR with no success; if it got anywhere it just got to where the screen shows "GRUB" in the corner.

Any ideas?
 
Old 04-27-2004, 05:49 PM   #2
araberboy
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
hi, i can not speak english well.

You have to edit your menu.lst from /boot/grub/.



This is an example for booting windows on PATA:

Titel Windows-SATA
root (hd1,0)
makeactive
chainloader +1
map (hd0) (hd1)
map (hd1) (hd0)



I think you shoult take this:

Titel Windows-SATA
root (hd2,0)
makeactive
chainloader +1
map (hd0) (hd2)
map (hd2) (hd0)
 
Old 04-29-2004, 01:23 AM   #3
sbixby
LQ Newbie
 
Registered: Mar 2004
Location: El Sobrante, CA
Distribution: Fedora 1
Posts: 4

Original Poster
Rep: Reputation: 0
Whoo Hoo! That did the trick!

Thanks a lot!
 
Old 04-30-2004, 10:40 AM   #4
araberboy
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
fine, i am happy to help another. MJ
 
  


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
Dual boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 04:13 PM
mixed SATA PATA HD dual boot install - need help pfschim Linux - Newbie 12 03-24-2005 06:10 AM
Problem with Grub SATA and WinXP Slalomsk8er Linux - General 2 01-14-2005 05:00 AM
FC2 Boot with PATA and SATA chinkai80 Fedora - Installation 0 08-02-2004 10:17 PM
boot to PATA raid0 on Promise 378 *and see* SATA raid0 ICH5 ? patr Linux - Hardware 2 02-25-2004 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 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
Open Source Consulting | Domain Registration