LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   I'm can't get dual boot to work on MD10.0 and WINXP. (https://www.linuxquestions.org/questions/mandriva-30/i%27m-can%27t-get-dual-boot-to-work-on-md10-0-and-winxp-192761/)

richsobi 06-12-2004 02:29 PM

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.

vectordrake 06-12-2004 06:30 PM

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:D

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.


All times are GMT -5. The time now is 03:37 PM.