LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-28-2003, 12:32 AM   #1
whitepine
LQ Newbie
 
Registered: Jan 2003
Posts: 2

Rep: Reputation: 0
dual booting Win2k & RH Linux using ntldr->GRUB has problems


I have an adaptec 2940UW, 2 wide Cheetah drives & 1 narrow (Connor) - all SCSI.
I had Win95 running on Cheetah1(ID14). I had previously attempted to install Win2k on
what I'll call Cheetah2(ID0), partition1, dual booting with RH Linux on other partitions on Cheetah2.

That was not very successful on several accounts, so I proceeded to reinstall both operating systems on a freshly repartitioned Cheetah2(ID0).

After (re)installation of Windows 2000 Professional on Cheetah2(ID0), I began looking for
the Ntldr, Ntdetect.com, Ntbootdd.sys, Boot.ini etc.
It was NOT on the Cheetah2 drive. Finally I discovered it on the Connor drive (ID2). During the Win2k boot there is an option screen of what to boot - Win2k Pro or Windows, if I
select win2k pro, everything proceeds normally & the OS boots from Cheetah2; but if I
select windows, I end up on the Connor (ID2) & windows(95) starts but cannot complete.
From there I can access Cheetah1, but not Cheetah2. The failure to boot win95 doesn't bother me - I have working Win95 on Cheetah1, which I can boot by altering the boot
drive in the 2940 BIOS.

The problem is that in trying to alter the boot.ini & boot into RH linux, I run into problems that I believe are related to Ntldr, Ntdetect.com, Ntbootdd.sys, Boot.ini etc. being on the WRONG drive.

here's my boot.ini:
[boot loader]
timeout=10
default=signature(98ed98ed)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
signature(98ed98ed)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
multi(0)disk(0)rdisk(0)partition(2)="Red Hat 7.2 p2 no slash"
multi(0)disk(0)rdisk(0)partition(2)/boot="Red Hat 7.2 p2 /boot"
multi(0)disk(0)rdisk(0)partition(2)\="Red Hat 7.2 p2 \ "
multi(0)disk(0)rdisk(0)partition(2)\boot="Red Hat 7.2 p2\boot"
multi(0)disk(0)rdisk(0)partition(5)\boot="Red Hat 7.2 p5 \boot"
multi(0)disk(0)rdisk(0)partition(5)\="Red Hat 7.2 p5 \ "
C:\bootsect.lnx="Linux via bootsect.lnx"
C:\ = "Microsoft Windows"

In the installation of Red Hat 7.2 I told it to put the boot loader record in the 1st sector of boot partition. As you can see from above I don't fully comprehend the process & use the trial & error approach. The next to last line C:\bootsect.lnx="Linux via bootsect.lnx" when
selected for boot gives the following message: "Grub Geom Error".
All the other options either give me some windows error message about booting problem or reboots my machine.

I assume that somehow Grub looks at the Connor, instead of the Cheetah2 & decides there's a problem. (there's no \boot partition - it's all one FAT32 part.)
Is that right? How can I get it to go boot from the Cheetah2?

[
Some years in the past the Connor drive was my boot drive (for win95) & I think on my first
attempt at dual booting Win2k & Linux on the Cheetah2, I may have copied Ntldr,... etc to the Connor as a backup, from where it was (on the Cheetah1 drive!).

Soooo, why in the world did the installation of Win2k put it on the Connor (clearly from latest installation from the date), instead of on the Cheetah2?
how do I get it back onto the Cheetah2 & get the MBR to find it there?
]
 
Old 01-28-2003, 12:59 AM   #2
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
How did you create "bootsect.lnx"? I boot Debian and Slackware off the "ntldr" for XP Pro but it's formatted Fat32. I haven't had any luck when the partition containing "ntldr" is NTFS.
 
Old 01-28-2003, 10:49 AM   #3
whitepine
LQ Newbie
 
Registered: Jan 2003
Posts: 2

Original Poster
Rep: Reputation: 0
I booted RH linux from floppy and entered in a console
dd if=/dev/sda3 of=/bootsect.lnx bs-512 count=1
I then mounted the Connor drive's partition (which is FAT32)
and copied the bootsect.lnx to the Connor drive.
I really suspect (hunch) that it's somehow related to the ntldr & the bootsect.lnx being on the Connor rather than Cheetah2 where the Linux /boot partition & the rest of the linux partitions are.
I could just copy all that stuff to the Cheetah2 drive, but I imagine that the MBR would not then find it there & still look on the Connor drive.
 
Old 01-28-2003, 05:39 PM   #4
deadbug
Member
 
Registered: Oct 2002
Location: San Antonio, Texas
Distribution: MDK 8.0, 9.0; RH 7.2, 8.0, 9.0, FC3, FC4, FC5
Posts: 355

Rep: Reputation: 30
Your Grub Geometry problem has to do with using an Adaptec SCSI adapter. The Grub manual warns of this incompatibility. Your best solution would be to change to LILO (not being a LILO fan, you have no idea how hard that was to recommend!).

WTF did you do to boot.ini? A little research would tell you that NTLDR cannot load Linux. It can only trigger a Linux boot loader (Grub or LILO). Your last line where you point it at the boot image is the only way to make NTLDR work. Delete the rest of that garbage.

Booting from SCSI drives usually reaks havoc with Linux because SCSI systems allow you to rearrange what the BIOS has set up (or to have the BIOS do something Linux isn't expecting). If you still have problems with LILO, start Linux as root and at a Shell Prompt, type:

fdisk -l

The -l is a lowercase L, not an uppercase i. Post that printout with the error codes/symptoms LILO is giving you.

Last edited by deadbug; 01-28-2003 at 05:40 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with GRUB/Dual boot with win2k server kcommins Linux - Laptop and Netbook 2 09-22-2005 05:00 AM
NTLDR is missing. Booting in Win2k. psyk Linux - Newbie 3 02-19-2004 03:03 PM
GRUB / NTLDR problem dual booting lnxusr01 Linux - Newbie 1 07-14-2003 12:12 PM
problems dual booting win2k / RH71 on a RAID array maskedferret Linux - Software 3 12-02-2001 08:01 PM
Am dual booting RH7 & Win2K.Need Help! HHH Linux - Software 29 07-17-2001 01:13 PM

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

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