LinuxQuestions.org
Review your favorite Linux distribution.
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 01-27-2005, 04:56 PM   #1
Blade44
LQ Newbie
 
Registered: Jan 2005
Location: Michigan
Distribution: Mandrake 10.1, SuSE 9.2
Posts: 6

Rep: Reputation: 0
Dual HDD Interface Problem, Linux on SATA, NTFS Part on IDE HDD LILO Not Loading


I have 3 HDD's in my system 2 SATA (Serial ATA) Raptors, and 1 IDE 120 gig. My first Raptor has Windows XP installed on an NTFS partition and LinuxMandrake 10.1 installed on a EXT3 partiton after windows. My seconed Raptor right now is just a data drive with an NTFS partion. My IDE Drive is also just a data Drive with an NTFS partiton. I have LILO installed in the MBR of my 1st Raptor and all that it does is boot strait into Windows XP when I have the IDE drive plugged in. When I unplug the IDE 120 gig it boots to the LILO menu (which I want it to do; since I can't get NTLDR to load Linux).

WHY IN THE HECK does it just boot strait into WindowsXP when the IDE drive is plugged in instead of loading LILO???????

The only thing I can think of is that somehow there is a copy of a Windows configured MBR on the IDE drive even though that drive does not have an operating system installed on it. If this is whats going on how do I remove the MBR from the IDE drive without risking any data loss. Or if this is not whats going on, SOMEONE PLEASE LET ME KNOW WHY IT IS DOING THIS.

THANK YOU!

Last edited by Blade44; 01-27-2005 at 04:58 PM.
 
Old 01-27-2005, 05:54 PM   #2
avarus
Member
 
Registered: Apr 2004
Location: Oxford, UK
Distribution: Ubuntu, Debian, various
Posts: 230
Blog Entries: 5

Rep: Reputation: 33
Never seen this problem, but your theory sounds plausible. I'd first try to see if the BIOS settings or boot-time messages indicate what disk is being booted, though they normally flash past very quickly. Then I would obtain and boot a Knoppix CD (as I assume you cannot get into Linux while the IDE drive is plugged in).

You can use the 'file' command to probe the device (eg: file -Ls /dev/hda) and see if it does have a boot sector in the MBR. If it does, I would install LILO on that IDE disk, but configured so as to immediately chainload your SATA drive. That way you only have one LILO config to worry about. That won't damage anything on the disk, don't worry.

Finally I would remove all traces of both Windows and Linux and install NetBSD. :-)

TIM
 
Old 02-01-2005, 06:56 PM   #3
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 209

Rep: Reputation: 30
Make sure your BIOS is booting the right disk with LILO on it and under LILO make sure you tell it which disk to load

there should be a line that looks something like this

root = /dev/hda

you can always add your other disks to the lilo configuration for your Windows Partition don't forget to run lilo as root after making changes to the file
 
  


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
SATA HDD and IDE HDD linuxmandrake Linux - Hardware 3 12-18-2006 07:26 AM
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 09:50 PM
HELP!!! I have a problem mounting my SATA ntfs HDD patatoemasher Debian 3 06-25-2005 06:05 AM
move linux from IDE HDD to SATA HDD markmalcolm Linux - Hardware 2 05-07-2005 02:24 AM
Installing Linux on 2nd HDD (IDE) when WinXP installed on SATA RAID0 steve264 Linux - Hardware 1 06-12-2004 05:44 PM

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

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