LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-16-2007, 10:09 PM   #1
JakeRadden
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
Bootloader Problem and Nvidia Driver Help


Well, I've finially decidedo try my hand at using Linux. To make things easier, I'll put my system configuration here at the beginning.
ASUS A8N-Premium SLI
eVGA Geforce 7900GT KO
AMD Athlon X2 4400+ Toledo
3GB DDR Dual-Channel RAM:
2x 512MB Crucial BallistiX
2x 1024MB Kingston HyperX

I chose PCLinuxOS due to Beryl, and installed it on a 160GB hard drive in my computer.
I have a total of three hard drives, with 7 partitions as follows:
Drive 1: SATA, Seagate, 160GB
Partitions:
Seagate 1 (Windows XP) 30GB
Seagate 2 58GB
Seagate 3 62GB
Drive 2: PATA, Seagate, 160GB
Media 1 (Random Files) 20GB
Media 2 (Linux Installation) 52GB
Media 3 83GB
Drive 3: PATA, Maxtor, 120GB
Maxtor 1 60GB
Maxtor 2 60GB

Originally, i was running only the SATA Seagate and the PATA Maxtor, and I just tonight added the other Seagate for Linux. Before installing Linux, if I tried to boot windows without a Windows XP Disk in DVD Drive #1, I would get a NTLDR IS MISSING error. Seemingly, this is because my Maxtor has the remnants of Windows 98SE on one partition, which is confusing the MBR.
I installed PCLinuxOS, and configured GRUB. Here's my configuration:
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd1,6)/usr/share/gfxboot/themes/pclinuxos/boot/message
default 5

title PCLinuxOS
kernel (hd1,6)/boot/vmlinuz BOOT_IMAGE=PCLinuxOS root=/dev/hda7 splash=silent vga=788
initrd (hd1,6)/boot/initrd.img

title linux-nonfb
kernel (hd1,6)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/hda7
initrd (hd1,6)/boot/initrd.img

title failsafe
kernel (hd1,6)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/hda7 failsafe
initrd (hd1,6)/boot/initrd.img

title Windows XP (Seagate SATA)
root (hd0,0)
map (0x82) (0x80)
map (0x80) (0x82)
makeactive
chainloader +1

Linux works fine, except for my other issue which I will discuss later. Windows, however, no longer boots. I get a NTLDR IS MISSING error with or without the Windows XP disk in the drive. Reformatting any of the drives, except the Linux partition, is not in the books.

Second Issue:

I mainly installed PCLinuxOS to play around with Beryl. I cannot do this without installing drivers. I don't know how to install them. I downloaded the package from Nvidia's website because PCLinuxOS's package installer could not find the FTP site to download the package from. Was wondering if someone could give me simpoleton-level step-by-step run through.

Thanks for any and all help!
-Jake

Last edited by JakeRadden; 11-16-2007 at 10:25 PM.
 
Old 11-16-2007, 10:31 PM   #2
elfoozo
Member
 
Registered: Feb 2004
Location: Washington, USA
Distribution: Debian
Posts: 265

Rep: Reputation: 32
Quote:
Originally Posted by JakeRadden View Post
I get a NTLDR IS MISSING error with or without the Windows XP disk in the drive. Reformatting any of the drives, except the Linux partition, is not in the books.
Toasted your MBR? You'd have to run the XP repair from CD and only choose the X to fix boot files.

If you ever google for dual booting Linux and Windows you'll get a lot of convoluted instructions about running gparted and other stuff to make it work but what I used to find is that once you boot back into windows and edit the boot.ini of Windows, you can add a reference to the partition where your linux is installed (provided you understand how Windows references diskartition) and linux can then work from the Windows boot menu.
 
Old 11-17-2007, 05:14 PM   #3
JakeRadden
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Unfortunately, my XP installation WAS on Drive G in windows (I think that's what's causing my NTLDR problem) however I was switching my drives around and may have messed up my order in BIOS and with the cables... XP Setup detects 2 different installations of windows, and I'm not sure which one is XP. I suppose I can just try both.
And no, I don't know how Windows references partitions. I'd be grateful if you could explain that to me.
 
Old 11-21-2007, 10:52 AM   #4
JakeRadden
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Ok new problem/development that I was hoping I could get some help with.
I fiddled around with GRUB, edited my menu.list to look like this:
Code:
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,6)/usr/share/gfxboot/themes/pclinuxos/boot/message
default 1

title PCLinuxOS
kernel (hd0,6)/boot/vmlinuz BOOT_IMAGE=PCLinuxOS root=/dev/hda7 splash=silent vga=788
initrd (hd0,6)/boot/initrd.img

title linux-nonfb
kernel (hd0,6)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/hda7 
initrd (hd0,6)/boot/initrd.img

title failsafe
kernel (hd0,6)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/hda7 failsafe
initrd (hd0,6)/boot/initrd.img


title NTLDR Bootloader
root (hd1,0)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1
As you can see, one of my options is named NTLDR Bootloader. This is because I thought that would be my Windows XP boot option, but instead it actually loads NTLDR, with two options: My nonworking windows 2000 install and my "working" Windows XP Professional installation. Unfortunately, when I select my XP Pro install, I get an error saying that System32/Hal.dll is missing or corrupt; I'm figuring either that NTLDR is not pointing to the right installation of Windows or that I screwed something up completely. I was wondering if anyone could help me fix this problem with boot.ini. Here's my current one from my C: drive which actually does NOT contain Windows XP. That's on my uh, F: drive, I believe.
Code:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(1)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer
C:\="Microsoft Windows"
EDIT: Just wanted to say I just discovered I have 3 copies of NTLDR, boot.ini, etc. on three different hard drives. This is because I never re-formatted after pulling these from other machines. I cannot reformat either, due to files I have to save. One even still has the WINNT folder from Windows 2000 on it; and it is showing up in my repair console. My Windows XP install has an administrator password that I know, but is says that I am using an incorrect password in repair console. I'm completely lost here.

My guess is that if I can get in and edit the CORRECT boot.ini to hit for the CORRECT installation of Windows XP everything will be fix itself.

Last edited by JakeRadden; 11-21-2007 at 11:05 AM.
 
Old 11-21-2007, 11:17 AM   #5
JakeRadden
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Well, I've fixed it. I added a whole bunch (7) more options to boot.ini with different drive/partition combinations and finally hit on the one that is windows XP.
 
  


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
Problem Nvidia driver hate29 Linux - Hardware 6 02-13-2007 05:13 AM
Nvidia Problem: can't install nvidia driver for FC6 Chuong Linux - Software 7 10-30-2006 04:43 AM
problem nvidia driver !!! rumi Linux - Hardware 1 05-08-2004 02:21 AM
nvidia fx5600 loads vesa driver instead of nvidia driver saburo62 Linux - Hardware 3 05-04-2004 03:59 PM
Nvidia driver problem doralsoral Linux - Software 8 11-02-2003 10:23 AM

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

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