LinuxQuestions.org
Visit Jeremy's Blog.
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 06-12-2004, 02:29 PM   #1
richsobi
LQ Newbie
 
Registered: Jun 2004
Location: Michigan
Distribution: Mandrake 10.0
Posts: 1

Rep: Reputation: 0
I'm can't get dual boot to work on MD10.0 and WINXP.


WINXP was on 1 IDE drive(FAT32). I added a drive and installed Mandrake 10.0 from CD. Drives are cabled for cable select. Both work fine, as long as I swap the signal cable. Attempts to get it to work, no luck using GRUB. A HOW-TO tells me to df for /boot. MD doesn't tell me where it is. The HOW-TO tells me to install GRUB on the first sector of the /boot partition (which I can't find), then it tells me to make a copy of this sector to to a floppy, naming it linux.bin. Then it tells me to run the following command: dd if=/dev hda2 of=/mnt/floppy/linux.bin bs=512 count=1 (assuming that /boot is on hda2 - that's the big ?) I rebooted into XP and wrote the file over toC:\boot.ini as instructed, and I can see it there, and it looks right to me. When I boot xp, I get the menu, I select linux, and the screen goes black with a blinking white cursor in the upper left . . . and stays there forever. Going the other way, no luck, either. I get an "unsupported" message, the exact verbage escapes me. But I can look at xp files from its drive, which means I can get to the xp drive, just can't dual boot to work.

So the big questions are:

1. Where is /boot on MD10?
2. Will this HOW-TO work, or would lilo be a better option?
3. Should I go to Red Hat?
4. Should I stick with Etch-A-Sketch?

BTW, I am a Newbie (in case you didn't pick up on that . . .)

Thanx.
 
Old 06-12-2004, 06:30 PM   #2
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
If you want an easy time of it, swap the drives so that the Mandrake one is the first one. Install LILO or GRUB to the MBR. See if you can boot to Mandrake. If all is well, create a mount point
Code:
mkdir /mnt/windows
and enter it in your /etc/fstab
Code:
/dev/hdb1  /mnt/windows vfat users 0 0
****hint read man fstab so you know what that line means****

BTW, I used /dev/hdb1 as an example. If your win drive is gonna be on the 2nd cable, you'd use hdc or hdd, of course.

Now, you should be able to mount your windows drive. If you can (with mount /mnt/windows), then you can edit your /etc/lilo.conf or /boot/grub/grub.conf file to reflect the existence of Windows.

Here's the reason why i like doing it this way (BTW, I have explained this a few times before, so if this is not clear, you might wanna try the search button up top - it works very well - put in user names to narrow it down if you want):

If you want to remove either OS drive, you can and the computer will boot to the other no matter what

All you should have to do to boot windows now is to enter the right line into your config file. Here's the entry for /etc/lilo.conf:
Code:
other=/mnt/windows
label="windows" #earlier versions of LILO go with no quotes
root=/dev/hdb1
boot-as=0x80 #those are zeros - fools Win to think its on the first BIOS drive
This poster describes in a very good way what you originally mentioned, by the way.
 
  


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 boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 04:13 PM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
Reinstalled WinXP -> dual boot w/ RedHat9 doesn't work Toshi3 Linux - Newbie 3 06-22-2004 10:26 AM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM
Redhat 9 & winxp dual boot -xp won't boot opivy Red Hat 3 01-02-2004 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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