LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Promise Sata (https://www.linuxquestions.org/questions/linux-hardware-18/promise-sata-130060/)

ciscorubs 12-30-2003 09:09 AM

Promise Sata
 
Hardware:

A Western Dig HD and a Quantum HD on a Parallel IDE interface on a Promise PCI SATA controller.

An IBM Deskstar on the Motherboard primary IDE
A Western Dig HD 2ndry master with CDRW as 2ndry slave.

Motherboard is ASUS K7M OS is XP Pro (THIS IS A REDHAT QUESTION _ STAY WITH ME)

Under XP the SATA card works like a charm as long as nothing is connected to the Motherboard IDE channels. The moment I put a drive on either or both MOBO IDE Channels and try to boot the box; it sees the SATA card and attached drives during post. It even detects the boot sector and than fails to load the OS. I have enabled symbios function on the MOBO Bios as well as selected SCSI as primary boot device. I even disabled the pri and 2ndry IDE channels in the MOBO Bios; yet the only way to get the XP OS to boot the system is to disconnect the drives connected to pri and 2ndry IDE. NOTE: It will work with CDRW connected to 2ndry.

So; the drive in the IDE Primary is a Redhat drive with GRUB. Rather than fight the fight I want to configure GRUB to show the XP partition as an option and than I will simply dual boot between Redhat 8.0 and XP via GRUB.

Sooo; how do I configure GRUB to point to the XP boot drive connected to the Promise PCI card?

merlin371 12-30-2003 02:06 PM

ok i got this one out of the kernel howto on tldp.org hopefulli it can help
go to /etc/grub.conf

then on write
title Windows XP
unhide (0,0)
hide (hd0,1)
hide (hd0,2)
rootnoverify (hd0,0)
chainloader +1
make active

now this was just a standard file so the partition have this setting depending on in wich partition you have it might change try and change a few setting it should work i don't know really well cause i use LILO hopefully this can help you

ciscorubs 12-30-2003 02:58 PM

I noticed this as well:

unhide (0,0)
hide (hd0,1)
hide (hd0,2)
rootnoverify (hd0,0)

But the 2 drives on the PCI controller are not hd0-hd3

I will try it anyway.

ciscorubs 01-02-2004 08:17 AM

Thanks for all your help :))

Here was the fix:
In the Grub.conf

I did this:

map (hd0,0) (hd2,0)
map (hd2,0) (hd0,0)
rootnoverify (hd2,0)
chainloader +1

I was thinking BIOS when I was thinking device #'s.

So when I tried the map statement useing "map (hd5,0)..."
It failed as there was no hd5.

hd0 is on IDE pri master
hd1 is on IDE 2nd master
hd2 is first drive on Promise SATA 150 card

Once I knew the Grub "lingo" for ID of the disks I was good to go :)


All times are GMT -5. The time now is 02:42 PM.