LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-13-2006, 10:11 AM   #1
centosian
LQ Newbie
 
Registered: Jul 2005
Posts: 11

Rep: Reputation: 0
New motherboard with SATA and PATA won't boot linux from PATA


I'm really stumped here. I recently bought an Abit KN8-SLI which has 4 SATA controllers and 2 IDE controllers. No matter what I've tried I simply cannot boot linux(centos or debian) from the PATA controller. The controller is fine because I can boot my old WinXP PATA drive on it. I can boot linux from a second SATA drive but I really need to boot from PATA.

I've tried the following:

#1. WinXP on first SATA(sda), Debian on master PATA(hda) first primary IDE channel. I did a fresh install of Debian and it detected WinXP on the SATA drive and made a grub entry for it and a grub-install but when I boot up I just get a fat ugly error "grub read error".

#2. Centos on master PATA(hda) primary IDE channel, no other drives installed. This drive boots just fine in my old computer on the primary IDE channel but on the Abit I get a DISK FAILURE DEVICE NOT AVAILABLE.

In the BIOS I've tried everything I can think of to get this to work. I have an old WinXP on PATA and it boots just fine so it's not the controller itself. There's something with grub that is causing it to get confused when it boots linux on PATA and I don't know what it is.

Here's the relevant parts of /boot/grub/menu.lst from a fresh debian install using scenario #1.

Code:
title       Debian GNU/Linux, kernel 2.6.8-2-386
root        (hd0,0)
kernel      /boot/vmlinuz-2.6.8-2-386 root=/dev/hda1 ro
initrd      /boot/initrd.img-2.6.8-2-386
savedefault
boot

title       Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
root        (hd0,0)
kernel      /boot/vmlinuz-2.6.8-2-386 root=/dev/hda1 ro single
initrd      /boot/initrd.img-2.6.8-2-386
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title       Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title       Windows NT/2000/XP (loader)
root        (hd1,0)
savedefault
makeactive
chainloader +1
Thanks for any help you can offer

Last edited by centosian; 08-13-2006 at 10:15 AM.
 
Old 08-13-2006, 10:27 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Check your /boot/grub/device.map file. GRUB probably got your drive mapping wrong.
 
Old 08-13-2006, 11:42 AM   #3
centosian
LQ Newbie
 
Registered: Jul 2005
Posts: 11

Original Poster
Rep: Reputation: 0
I don't see anything fishy.

I see for situation #1

(hd0) /dev/hda
(hd1) /dev/sda

And for situation #2

(hd0) /dev/hda
 
Old 08-14-2006, 10:19 AM   #4
centosian
LQ Newbie
 
Registered: Jul 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Argh, to make things worse, any kind of PATA drive with linux on it will cause a grub error no matter what kind of configration I have. This is driving me nuts.

For instance I had WinXP on the first sata, Debian on the 2nd sata... no problem boots just fine and I get the grub screen. But just by adding another linux drive on the first PATA I got the grub error crap again and couldn't boot from sata.
 
Old 08-14-2006, 10:24 AM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Workaround might be to use another bootloader. For Linux you can install GRUB on partition and use another loader as GAG to chainload it. Or try LILO.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows on (Sata) Raid 0, linux on PATA ganja_guru Linux - Hardware 6 06-21-2005 02:19 AM
mixed SATA PATA HD dual boot install - need help pfschim Linux - Newbie 12 03-24-2005 06:10 AM
PATA with SATA cherif Linux - Hardware 3 12-08-2004 01:38 PM
FC2 Boot with PATA and SATA chinkai80 Fedora - Installation 0 08-02-2004 10:17 PM
Boot WinXP (on SATA) from GRUB (on PATA?) sbixby Linux - Newbie 3 04-30-2004 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:48 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