LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-18-2004, 03:17 PM   #1
violentpurrr
LQ Newbie
 
Registered: Apr 2004
Location: PA
Posts: 2

Rep: Reputation: 0
Angry Dual booting redhat and win2k


Alright. I know this question has been posted before. If not here..elsewhere. I've googled my heart out for this and now, i break down and ask.

I have a 4 GB drive and a 30 gb fdrive. win2k is on the 30, and i just installed redhat on the 4 gb one. (for the third time)

i've had this problem for quite some time.

first install: i wrote redhat over win2k, as win2k was originally on the 4 GB drive.

and i installed win2k after that on the 30 GB. but then i hear i'm not supposed to do that.

SO! i nuke the 4 GB drive by reformating and then reinstall redhat.

I have it set for the first boot sector, as i hear putting the boot loader in the MBR is bad.

fine. so i did that.

and now.. i get a "grub _" dude, and thats it. with my bios booting off that hard drive.

Now, i followed a guide to use the win2k boot loader to boot linux. where you dd a linux.bin file onto a floppy and then boot up win2k and copy it to the c drive and edit the boot.ini file. THAT doesn't work either. I get an error message abut windows.

and i also tried to use grub for duall booting (when i had edhat in that drives MBR, i belive.) and i could get redhat to boot, but not windows.

so!

what do i need to do to dual boot? i don't care what i have to reinstall, this is just driving me nuts. i've used the red hat cd to boot up and changed around the boot loader configuration, with no luck. And I don't care WHAT boot loader i use. just that I can dual boot.

my windows drive is ntfs...would that matter?

right now i have the 30gb drive with win2k as the CS master, and the 4 GB as the CS slave. because... i read that windows likes to be the master.

I've been through many google searchees and guides.. and nothing seems to work. And I don't care if i have to nuke EVERYTHING and start fresh. II bought the computer for $35 and i already lost anything thhat might have been valuble to me.

So yeah, if you coould help me out, that would rock. I'm hoping it's not an id10t error.
 
Old 04-18-2004, 04:08 PM   #2
daniela
Member
 
Registered: Aug 2003
Location: Zürich, Switzerland
Distribution: debian sarge
Posts: 41

Rep: Reputation: 15
i think i can't help you much. but.
i've had a quite similar prob ("grub_" on the screen when booting) dd didn't work, too. i tried to use lilo but all i saw on the screen when i booted was a lot of "07".

i finally ended up booting linux with a disk where i installed the bootloader & booting xp (fat32) as if there was no other os...at least i can boot both os's now.

maybe this solution is acceptable for you, too. if not, good luck, you need it. i tried over two weeks to get it to work somehow, including everything i could find on the net (which wasn't much...)
 
Old 04-18-2004, 07:42 PM   #3
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
I know this can be done as i'm on the machine that is doing it right now.

install again or use boot floppy to install boot loader if you can. when it is bootloader time use LILO. Don't activiate the bootloader partition. Don't replace code in the MBR. BUT DO INSTALL in the MBR. Use lba32 mode. (maybe not on your system i'm not sure.) If this doesn't work make sure you have a windows 98 start up disk (bootdisk.com) boot w/ it and use

fdisk /mbr

that will remove the LILO part in the MBR.
or make some windows 2000 boot disk.
 
Old 04-19-2004, 08:02 PM   #4
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Rep: Reputation: 15
I am having a similar problem. I have Red Hat 9 installed on a 10 GB drive split into the default partitions (root, boot, & swap). I got another computer (P3-850) with Windows 2000 on the C drive. I install the linux HD at the slave drive on the new PC. Since I want to use the PC for both W2K and RH9, I followed the online how-to and did the following:

--used a boot disk to load linux
--grub-install /dev/hdb2 (which is the boot partition) I did this because I had grub installed on the mbr of the 10 GB hd and not in /boot partition
--used dd to get the data from /dev/hdb2
--copied the dd data onto c:\linux.bin
--edit c:\boot.ini

When I select Linux from by Windows 2000 boot menu, I only get GRUB and it stalls out.

So far, I haven't found anything online that deals with this in depth. How can I point the boot load to the mbr of my linux hard drive instead of to /dev/hdb2? I know the MBR of that drive is fine since that is how I used to load Redhat before I switched PCs.
 
Old 04-19-2004, 08:11 PM   #5
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
There is no such thing as an MBR on a slave harddrive when there is a primary one...you have to install the boot loader to the MBR of the first harddisk regardless of the OS. (if it doesn't work as i said before just us fdisk /mbr on a 98 boot floppy). the only way around installing to the MBR of your fully windows first hard drive is to see if your BIOS supports booting from a different disk or to use a boot floppy that lets u pick which partitions to run.
 
Old 04-20-2004, 07:58 AM   #6
daniela
Member
 
Registered: Aug 2003
Location: Zürich, Switzerland
Distribution: debian sarge
Posts: 41

Rep: Reputation: 15
i did this. it didn't work. i don't think anyway that this problem ist a problem concerning the floppy-dd-w2k-bootloader thing. i used both possibilities & the output was exactly the same. the famous "GRUB"

Last edited by daniela; 04-20-2004 at 08:00 AM.
 
Old 04-20-2004, 12:49 PM   #7
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Rep: Reputation: 15
I'm not having any trouble booting Win2K so the fdisk /mbr is not required. My problem is that I can only load Linux with a boot disk. I would like to be able to boot both OSes from the Win2K boot menu.

The linux drive used to be the only HD in a PC and Grub was installed on the MBR. I have moved that drive to the slave position of the Windows 2000 PC. I presume that the linux's MBR is still intact so why can't I point the boot loader to the slave's MBR?

Is there a way to take the data from the Linux boot floppy and save it to the Windows drive so the boot loader could use it?

Quote:
Originally posted by vdogvictor
There is no such thing as an MBR on a slave harddrive when there is a primary one...you have to install the boot loader to the MBR of the first harddisk regardless of the OS. (if it doesn't work as i said before just us fdisk /mbr on a 98 boot floppy). the only way around installing to the MBR of your fully windows first hard drive is to see if your BIOS supports booting from a different disk or to use a boot floppy that lets u pick which partitions to run.
 
Old 04-20-2004, 04:05 PM   #8
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
okay I have two solutions first the right way

right way - boot to linux w/ ur boot floppy completely uninstall all linux boot loaders (except the floppy of course) and reboot if necessary (with the floppy) then reinstall the boot loader to the MBR...the MBR should now be on the first hard drive so it will install to the first rather than the second.

easy way - switch the hard drives around
 
Old 04-20-2004, 06:46 PM   #9
daniela
Member
 
Registered: Aug 2003
Location: Zürich, Switzerland
Distribution: debian sarge
Posts: 41

Rep: Reputation: 15
i'd do it the other way round. linux is installed with it's bootloader which used to work, so why uninstall it? why don't dd the first 512 bytes & use the w2k bootloader to load linux instead?

go to http://acd.ucar.edu/~fredrick/linux/bootloader.html
the most important thing for you is the dd-command.

Last edited by daniela; 04-20-2004 at 06:54 PM.
 
Old 04-20-2004, 07:14 PM   #10
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
The linux boot loader probably still does work it just isn't on the MBR any more because he made it the slave drive to a windows master drive...so he just needs to install it all the same way but onto the new harddrives MBR not the one it is on right now...or switch the drives like i said...yes u could use windows 2000 Boot loader...but its not pretty :-P so i guess there are three solutions

1 reinstall boot loader to the new MBR

2 switch drives around

3 install linux in w2K bootloader
 
Old 04-21-2004, 01:39 PM   #11
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Rep: Reputation: 15
I really want to use the 3rd option. So far I haven't been successful but something hasn't been working correctly with capturing the boot info with the dd command (Grub just shows up on the screen when I select Linux from the Win2K boot menu). Maybe I'll try uninstalling Grub and then reinstalling it at /boot (/dev/hdb2) and try the dd routine again.

I'm also going to try a program called BootPart (http://ourworld.compuserve.com/homep...t/bootpart.htm)

Quote:
Originally posted by vdogvictor
The linux boot loader probably still does work it just isn't on the MBR any more because he made it the slave drive to a windows master drive...so he just needs to install it all the same way but onto the new harddrives MBR not the one it is on right now...or switch the drives like i said...yes u could use windows 2000 Boot loader...but its not pretty :-P so i guess there are three solutions

1 reinstall boot loader to the new MBR

2 switch drives around

3 install linux in w2K bootloader
 
Old 04-21-2004, 03:18 PM   #12
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Rep: Reputation: 15
I tried using the Grub shell and grub-install but none of it worked.

Next I tried bootpart and it worked perfectly. Now I can boot Win2K or Grub via the windows boot menu.
 
Old 04-22-2004, 07:26 PM   #13
vdogvictor
Member
 
Registered: Feb 2004
Distribution: Arch
Posts: 498

Rep: Reputation: 31
at least u got it figured out
 
Old 04-23-2004, 11:22 AM   #14
Mojojo
Member
 
Registered: May 2003
Location: Philadelphia/PA
Distribution: Mint/Debian
Posts: 447

Rep: Reputation: 32
Its amazing how some people stick it out to install linux and end up dumping it or going back to windows anyway. The install is not that hard if your reading the right post if your installing linux on a machine with windows simply install it and right the bootloader to the MBR. And If its a fresh install of both OS's """ALWAYS""" install Windows first....
 
Old 04-23-2004, 11:56 AM   #15
Alfanut
LQ Newbie
 
Registered: Dec 2003
Location: Seattle. WA
Distribution: Mandrake 9.1/Mandrake 9.2
Posts: 23

Rep: Reputation: 15
boot floppies

Reading the notes above I recall my Mandrake (9.1 and 9.2) failing to create boot floppies. Each attempt yields the same results -- insufficient free space on that 1.44 floppy.

Why? Helpful hints will be appreciated.
 
  


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
Dual booting Win2k and Mandrake 10.1 lm317t Mandriva 5 02-15-2005 11:37 PM
Dual Booting win2k and other help full advice subservant Linux - General 1 02-11-2003 05:22 AM
which is better for dual booting w/Win2K: Mandrake or RH? rayne Linux - Distributions 3 09-20-2002 02:02 PM
Dual Booting Mandrake 8.1 with Win2K Link Linux - General 2 10-31-2001 10:49 PM
Am dual booting RH7 & Win2K.Need Help! HHH Linux - Software 29 07-17-2001 02:13 PM


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