LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-13-2003, 05:56 AM   #1
habitue
Member
 
Registered: Oct 2003
Location: Sarasota, FL
Distribution: Gentoo
Posts: 40

Rep: Reputation: 15
Problems Dual Booting XP and RH 9.0


After much tribulation, I got my HP Pavilion ze4220 to contain both Linux and Windows XP without having one or the other destroy all record of the other one in the MBR. It's been very hard because I can't make boot disks, so I actually had to create a FAT partition on my drive to act as a go between from linux to windows. Anyway, now I'm trying to edit the boot.ini file in windows to get it to add Linux to the boot loader. I copied the first 512 bytes of the /boot partition into a file called linux.bin, and placed that file in my F: drive (It would be C:, but after three days of Partition magic fiascos and constant reformatting, the letters are screwy) then I added the line f:\linux.bin="Linux" to the end of my boot.ini file. (I've tried both uppercase and lowercase F)

OK, so now when I reboot the computer the boot loader shows up with, apparently, both options. Windows will boot normally from here, but linux does not. it tells me Im missing my hal.dll file, and that the system cannot be booted.

I have changed the grub.conf file, adding to the end of it a reference to Windows XP, since during the installation of linux, grub did not automatically detect it. Im not sure exactly what the syntax of the grub file should be but this is what I added in at the end:

title Windows XP
rootnoverify (hd0,0)
chainloader +1


I've gone through Google so many times trying to figure this out, I'm going crazy. I have reinstalled windows 3 times and Linux over 8 times trying to solve my problems. Currently here is what my harddrive partitions look like:

F: Windows XP, 3.6 GB, FAT32
C: shared partition, 50 MB, FAT
/boot , 50 MB, ext3
/ , 9.5 GB, ext3
swap , 512 MB, swap
D: all of my files and programs, 14.7 GB, NTFS

I shrank down my Windows partition so that the Linux /boot would be under the 1024 cylinder limit. I changed my windows partition from NTFS to FAT32 because I read that linux cant read NTFS, and was trying to get it to be more compatible, but I've done it both ways, and neither works, and neither operating system wants to admit the other is there.

I have 256 MB of RAM, 30 GB of HD space (give or take), and a 1.7 GHz processor.

I don't know what other information I can tell you, but if you think of something, I'm sure I can post what it is... just please someone help me out before I lose my mind!

Last edited by habitue; 10-13-2003 at 06:03 AM.
 
Old 10-13-2003, 06:37 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
where is ntldr/boot.ini located? F:\ ?
and whats the partition layout, for example whats the order from left to right you see in partition magic, which one is set to active(f:\ or c:\?), which ones are primary/logical?
 
Old 10-13-2003, 12:54 PM   #3
habitue
Member
 
Registered: Oct 2003
Location: Sarasota, FL
Distribution: Gentoo
Posts: 40

Original Poster
Rep: Reputation: 15
The order of the drives from left to right in partition magic is the same order I posted before from top to bottom (windows XP first, all my files last)

boot.ini is located directly on the F: drive, which is the primary partition.

also, I typed the wrong thing before, my C: drive (the shared drive) is FAT32 not FAT, and the /boot partition is about 101 MB.
 
Old 10-13-2003, 01:07 PM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Try changing f:\linux.bin="Linux" to C:\linux.bin="Linux", leave linux.bin where it is.
 
Old 10-13-2003, 01:55 PM   #5
habitue
Member
 
Registered: Oct 2003
Location: Sarasota, FL
Distribution: Gentoo
Posts: 40

Original Poster
Rep: Reputation: 15
well, I am typing this response to you through Mozilla, in Linux, so needless to say, your solution worked. I can't possibly express the happiness and gratitude I feel.

Currently, my resolution is too small, and the windows(in linux ironically) are a bit laggy. But that's nothing I can't handle given a bit of time. The important thing is I have two peacefully (for now) coexisting OSs, and that is a wonderful feeling.

Thank you very much sir.

I might just add a signature, since I will definitely be back to these forums.

Last edited by habitue; 10-13-2003 at 02:00 PM.
 
Old 10-13-2003, 02:00 PM   #6
closet geek
Member
 
Registered: Apr 2003
Location: England
Posts: 146

Rep: Reputation: 15
If you're using KDE it might be wise to turn off some of the eye candy will speed up those windows in no time

(or use gnome, fluxbox etc for an even speedier time!)

cg
 
Old 10-13-2003, 02:02 PM   #7
habitue
Member
 
Registered: Oct 2003
Location: Sarasota, FL
Distribution: Gentoo
Posts: 40

Original Poster
Rep: Reputation: 15
Yeah, I've got gnome running now. It's not actually that bad, but anything can be made better right?
 
  


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
Problems dual booting FC4 and Slack 10.2 bmccorm2 Linux - General 3 11-01-2005 12:13 PM
Dual booting problems graemekeatley Linux - Newbie 4 08-01-2005 05:09 PM
Problems dual booting ironliver Linux - General 2 03-04-2005 10:19 AM
Problems Dual Booting technerd Linux - Newbie 3 11-24-2003 09:13 AM
Dual Booting problems: XP and RH9 GoddessPrime Linux - Newbie 14 09-14-2003 10:21 PM


All times are GMT -5. The time now is 08:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration