LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 04-23-2004, 11:40 PM   #1
bmxpunk
LQ Newbie
 
Registered: Apr 2004
Location: medina ohio
Distribution: mandrake 10.0
Posts: 2

Rep: Reputation: 0
Question dual boot xp and mandrake 10.0 on two different hard disks


I successfully installed mandrake 10.0 on a blank hard drive that I put in my machine which is a dell dimension 4500, but the only way to boot an OS is to disconnect the other hard drive, if I want to boot mandrake I must disconnect the XP hard drive and vice versa. how can I dual boot as easy as possible, this is my first time using linux and i have no clue what to do. I read a few posts about changing the boot loader and that seems to be the easiest way to go but I'm not totally sure how to do that, I don't want to delete any data on either disk if possible.
 
Old 04-24-2004, 02:34 AM   #2
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
Isn't there an entry in lilo(or grub) for it.
 
Old 04-24-2004, 03:38 AM   #3
dhbiker
Member
 
Registered: Dec 2003
Location: Bristol
Distribution: Slackware 10.2
Posts: 196

Rep: Reputation: 30
ok, let me get this straight, if you have both hdd in the computer Win XP boots, or do you get the Lilo screen?
 
Old 04-24-2004, 05:01 AM   #4
eqxro
Member
 
Registered: Apr 2004
Location: Outer space :D
Distribution: Gentoo 2005.0 amd64 2.6.14-dfx3
Posts: 203

Rep: Reputation: 30
Are you sure you set up the masters/slaves the right way (just checking... )? You should be able to use the grub boot loader with no problem... Is your second HDD detected by the BIOS? If not, the problem is in the BIOS or the hardware. You should check wether the BIOS auto-detects your hard-drives....

If it does, boot from the MDK10.0 CD (or floppy if the CD isn't bootable), press F1 at the first screen and type rescue. You should see a menu on a blue screen (this reminds me of something, but I can't put my finger on it... ). You should be able to boot your installed system from the menu (or at least this is what I remember). If not, choose "reinstall boot loader", "Mount all partitions under /mnt" and then "Go to console"

Type "cd /mnt" to get to your partitions and then "ls" to display the contents of the mnt directory, hopefully listing both the windows and your linux partition. If from ls you see dirs like "bin" "dev" "etc" "boot", that means it mounted your linux root partitions in "mnt". You should have another "mnt" directory here so type "cd mnt" and "ls". As you are using MDK10.0, you should see directories called win_c, win_d, a.s.o. CD to one of the directories ("cd win_c") and list the directory using "ls". If you see all your files, everything is in place, all you need to do is configure your bootloader.

Because you reinstalled your boot loader, you should reboot from the hard-drive (usually the one where you installed linux) and see if the lilo screen shows up (a little colorfull menu with your OSes). If it does, try to boot each system.

Plus, you should give a little more detail about your BIOS config...
 
Old 04-24-2004, 06:02 PM   #5
bmxpunk
LQ Newbie
 
Registered: Apr 2004
Location: medina ohio
Distribution: mandrake 10.0
Posts: 2

Original Poster
Rep: Reputation: 0
If I have both hard drives in win XP is the only one that boots, I checked the bios and it detected both drives, I think they are both set to cable slect.
I read somewhere that you can put the linux.bin file on the C: drive and add it to the windows boot.ini but when I tried to put linux.bin on a floppy I got some other file. is there a different linux boot file I can put on the C: drive? this seems to be the easiest way, from what i have heard using lilo erases the windows MBR.
 
Old 04-24-2004, 06:37 PM   #6
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
install lilo or grub to the mbr, and configure it to dual boot.


you can boot linux with it on the slave using boot floppy or install cd rescue mode

Last edited by DavidPhillips; 04-24-2004 at 06:40 PM.
 
Old 04-25-2004, 03:57 AM   #7
codabiz
LQ Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: Mandrake 9.2
Posts: 29

Rep: Reputation: 15
I thought that with a two hard drive set up., it is important to ensure that that one hd has the jumper set as master, the Win XP in this case, and the other hd jumper set as slave.

I didn't think the dual boot works with Cable select jumper position?
 
Old 04-25-2004, 06:23 AM   #8
Anjin
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: Mandrake 10CE
Posts: 19

Rep: Reputation: 0
I have a similar set-up to the one you describe, with WinXP on my first hard disk and mandrake on my 2nd. Were both hard disks in when you installed Mandrake? It set things up to dual boot automatically for me using Lilo on the MBR.
 
Old 04-25-2004, 07:08 AM   #9
caged
Member
 
Registered: Jan 2004
Location: new zealand
Distribution: Mandrake,Slackware
Posts: 165

Rep: Reputation: 30
iv just set up a computer like that this week.
most of what needs to be said has been said above.

i had to install windows first then mandrake 10 so that the mandrake install could re-make the boot sector. windows didnt seem to like being installed on anything but the first partition of the master on ide1 and would over write anything on the mbr. kinda annoying but ya....

otherwise make sure the hard disks are all setup right master-slave etc.
 
Old 04-25-2004, 09:04 AM   #10
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
Cable select may work if the bios supports it correctly. It's designed to make production line assembly faster. You can easily setup the disks for master / slave and eliminate related problems.

The bootloader goes on the primary master or the disk booted by the bios. It can take care of the loading of the os if you tell it where the os is.
 
  


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 hard disks and OS's gigatwo Linux - Hardware 1 07-20-2005 02:12 PM
Two hard disks better for dual boot? zigzago Linux - Hardware 5 03-18-2005 03:29 AM
Dual-boot on two Hard Disks, MBR, etc admanb Linux - Newbie 4 02-06-2004 04:45 PM
Dual boot on inspiron with multiple hard disks mattkat Linux - Laptop and Netbook 1 09-15-2003 11:10 AM
Problems with dual booting RedHat 8.0 and WinXP (both off separate hard disks) DaveS Linux - General 3 03-10-2003 06:43 AM


All times are GMT -5. The time now is 10:21 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration