LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-09-2006, 02:07 PM   #1
Event_The_King
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
NTLDR Problem with Lilo(not windows itself)


Hi;

I have two hardisks. I've installed XP one of them (which is SATA /dev/sda) and I've installed Slackware 11.0 to the other one (which is IDE /dev/hdc).

By using BIOS, I can boot two operating systems properly(this is the place that my problem differentiates from the others, in other threads I've read that they cannot boot Windows anyway).

Which means, when I give the boot priorty to the SATA disk, Windows works properly and when I give the boot priorty to the IDE disk Lilo appears I can boot linux.

However, when I try to boot Windows from the LILO, I receive 'NTLDR is missing' error.

I don't think this is a problem from Windows itself because it runs properly when I boot it by using BIOS settings; however when I try to boot Windows from LILO, the error message appears.

In some forums I've read that this problem can be occured because of the LBA settings of the harddisks, but I've double checked that they both support LBA.

What can I do ? It's boring to setup BIOS everytime I want to change my OS.

Thanks.
 
Old 10-09-2006, 09:36 PM   #2
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0
Posts: 3,476

Rep: Reputation: 531Reputation: 531Reputation: 531Reputation: 531Reputation: 531Reputation: 531
Quote:
However, when I try to boot Windows from the LILO, I receive 'NTLDR is missing' error.
I'm a GRUB user, but this type of "missing" message usually is correct. Just a guess, but consider verifying your LILO config that LILO is looking at the correct drive/device in order to find ntldr. I don't recall the /dev device for SATA drives, but if, for example, your Windows install was located on a second IDE, the correct location for finding ntldr would be /dev/hdb1 or something similar, not hda.

Edit:

Quote:
I don't think this is a problem from Windows itself because it runs properly when I boot it by using BIOS settings; however when I try to boot Windows from LILO, the error message appears.
I agree. Windows boots fine by itself. There is nothing wrong with Windows. I believe you have provided your own clues: take a look at your LILO configuration.

But here is another caveat. After you boot with LILO, and even after you revise the LILO config to find ntldr on the correct hard drive device, you then will need to edit the Windows boot.ini file so that ntldr is looking at the correct hard drive device too. That is, the BIOS will see the Windows hard drive as a different device, and the Windows ntldr will see this too. I touch upon this concept in my mini how-to: Multibooting Tips.

Last edited by Woodsman; 10-10-2006 at 12:36 PM.
 
Old 10-09-2006, 10:46 PM   #3
Sandman1
LQ Newbie
 
Registered: Jun 2005
Posts: 9

Rep: Reputation: 0
Windows

Your problem is either the Windows Partition is probably messed up. Also it could be a lilo config error, but I doubt it. Try to use the recovery console to see if the windows partition is still intact.
 
Old 10-10-2006, 12:57 AM   #4
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
You will need a Windows boot disk, boot from it and run fdisk/mbr...you will also need a Slackware boot disk, this can be made by running mkboot or whatever the command is.

You will need to boot from the Slack boot disk afterwards and run /sbin/lilo this should fix the problem hopefully.

Your lilo.conf should have something similar to this in it:

other=/dev/hda1
label=Winxp
alias=2
table=/dev/hda

or similarly.

I haven't used lilo is some years. I guess Grub is much better.
 
  


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
Lilo and ntldr missing problem kryptobs2000 Linux - Software 2 09-14-2005 01:57 AM
lilo ntldr missing after running lilo after slackware install SeriousArnoud Slackware 1 08-16-2005 09:07 AM
lilo and ntldr kagrecu DamnSmallLinux 0 06-03-2005 10:27 AM
How to recover my Windows XP (NTLDR-missing)? AskMe *BSD 6 08-18-2004 03:10 PM
ntldr missing lilo xp and linux xterminator890i Linux - General 16 07-12-2004 04:41 AM


All times are GMT -5. The time now is 10:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration