LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2002, 02:37 PM   #1
byates
LQ Newbie
 
Registered: Apr 2002
Posts: 7

Rep: Reputation: 0
Another Dual Boot Problem


Everyone is probably getting tired of answering these dual-boot questions, so before everyone gets mad I'd just like to say that I've been reading tons of material on the subject but haven't found any solutions that will work. I'm trying to dual boot Redhat 7.2 on one hard drive (which is hooked up as my primary master) and windows 98se on another (I've tried hooking it up as the secondary master and primary slave but get the same error). When I get to the bootloader (grub) I set it up so that i have the option of booting Redhat and win98 (hdb1). Redhat works fine, but when I try to boot windows it goes to a black screen and says:

rootnoverify (hd1,0)

chainloader +1

then it freezes.

After that I've tried running windows using a windows boot disk, I've even unplugged the hard drive with Linux on it, but I get an error when I try to load windows:

VFAT Device Initialization Failed
A device or resource required by VFAT is not present or unavailable, VFAT cannot continue loading.
System Halted

If I don't use a boot disk and set bios to boot to the drive with windows it says: Invalid System Disk, Press any key to Continue, or something to that effect.

I've tried various setup options suggested, but can't seem to find any that work. Sorry to bother, but any help would be greatly appreciated!
 
Old 04-11-2002, 02:42 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Welcome to LQ.

I would advise that if at all possible, have Windows on hda...it doesn't like playing second best.

There is a set of options for Grub (and Lilo) to fool an OS into thinking that it's running on another harddisk, but I would seriously suggest that you swap them over.

A couple of links for you:

Linux+Win9x+Grub HOWTO

Multiboot with Grub MiniHOWTO

Hope this helps.
 
Old 04-11-2002, 02:45 PM   #3
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
windows doesnt liked to be second or a slave to some other OS
you cant boot windows from a slave hard drive, it has to be on the master disk. you can fool around it by tweaking the lilo.conf

I am sorry I dont know howto do that, you can search in google.com , I found it once


good luck

manthram
 
Old 04-11-2002, 02:59 PM   #4
byates
LQ Newbie
 
Registered: Apr 2002
Posts: 7

Original Poster
Rep: Reputation: 0
OK, thanks for the help. Before I start rearranging my hardware, I was just curious as to what the "optimal" set up is. I have 2 hard drives and a CD-ROM. Should the two harddrives be on the same IDE cable (Primary?) or should I have one set up as a Primary Master and another set up as a Secondary Master?
 
Old 04-11-2002, 07:49 PM   #5
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
At any given time, only one device can communicate on a given IDE channel, so for optimal device-to-device transfers:

Primary Master= 1st HDD
Secondary Master= 2nd HDD
Secondary Slave= CD-ROM

If you had a CD-RW as well, the optimum layout would be:

Primary Master= 1st HDD
Primary Slave= CD-ROM
Secondary Master= 2nd HDD
Secondary Slave= CD-RW
 
Old 04-11-2002, 10:22 PM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Connect your linux drive as primary master and your windows drive as primary slave. Then make your windows entry in your grub.conf file look like this:

rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
 
Old 05-25-2002, 03:43 PM   #7
koningshoed
Member
 
Registered: May 2002
Location: South Africa
Distribution: Gentoo
Posts: 103

Rep: Reputation: 15
ok, I've got the syntax for lilo, but I've got another problem. But first, for lilo.conf, mine looks like this:

boot=/dev/hda
prompt
lba32
compact
root=/dev/hdc1

image=/vmlinuz
label=Linux
read-only

other=/dev/hda1
label=Dos

other=/dev/hdd1
label=Win98
table=/dev/hdd
map-drive=0x80
to=0x82
map-drive=0x82
to=0x80

My hardware configuration is as follows:

hda: hda1 (for booting dos - yes, still needed)
hda2 (with hda5 for common data and preventing of loss of about 5MB of total hdd space)
hdb: cdrom
hdc: hdc1 - ext2 for linux - this is a 1GB disk
hdc2 - linux swap
hdd: hdd1 - 2GB for win98

The problem occurs when booting into 98, it sees too many drives. It sees hdd1 as c, hda1 as d, then hdc1 (guess) as e, on which it tries to scandisk on every bootup, and then hda5 as f and eventually my cdrom as g. My problem? Drive e *has* to go.

koningshoed
-----------------------------------------------------------------
There is only one God, and M$ is not it.
 
  


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
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
Problem with dual boot/dual drive setup Norab Linux - Hardware 10 08-29-2005 03:13 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM
Dual Boot Problem mainak Linux - General 4 04-12-2003 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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