Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-18-2005, 10:31 PM   #1
LQ Newbie
Registered: Feb 2005
Posts: 22

Rep: Reputation: 15
Problem with GRUB when trying to dual boot Mandrake 10.1 and Windows XP.

I installed Mandrake 10.1 a while ago, and I left a 20 gig partition for Windows. I just installed Windows XP, and after reinstalling my boot loader to get Linux to boot, I can't find my grub.conf file.

I've been looking for ways to dual boot XP and Mandrake for a while, and the only solutions that I've found required XP to be installed first. I really don't want to have to reinstall Mandrake, so could someone please tell me how to find the location of the grub.conf file and how to configure it to dual boot XP and Mandrake with Mandrake being installed first? I used "locate grub.conf", but it didn't show anything. I also tried "whereis grub", but in only showed the /usr/sbin/grub file.

These are my partitions:
# fdisk -l

Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 1329 10675161 83 Linux
/dev/sda2 1330 16891 125001765 5 Extended
/dev/sda3 * 16892 19928 24394702+ 7 HPFS/NTFS
/dev/sda5 1330 1532 1630566 82 Linux swap
/dev/sda6 1533 16891 123371136 83 Linux

Is this saying that my XP installation on the /dev/sda3 partition?

Thank you for any help.
Old 02-19-2005, 02:18 AM   #2
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Yes, the windows load in on /dev/sda3

grub's config should be located in /boot/grub
somtimes a distro will create a symbolic link to menu.lst called grub.conf, but menu.lst is the config file you want to edit. so try vi /boot/grub/menu.lst
Old 02-19-2005, 11:35 AM   #3
LQ Newbie
Registered: Feb 2005
Posts: 22

Original Poster
Rep: Reputation: 15
The problem is the file isn't in the grub directory. This is all that's in it:

default ffs_stage1_5 reiserfs_stage1_5 ufs2_stage1_5 iso9660_stage1_5 stage1 vstafs_stage1_5
e2fs_stage1_5 jfs_stage1_5 stage2 xfs_stage1_5
fat_stage1_5 minix_stage1_5 stage2_eltorito

I found a menu.lst file in the usr/share/doc/grub-doc-0.95/menu.lst directory, but it says that it's just a sample.
Old 02-19-2005, 05:30 PM   #4
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
copy it to /boot/grub and edit it to reflect your actual paritioning scheme
Old 02-25-2005, 06:40 AM   #5
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
try my tut and post back if you have no luck


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 Linux with Windows: Grub Error 17 Veniogenesis Linux - Newbie 3 10-23-2005 09:41 AM
Dual Boot FDisk Problem with Mandrake & Windows 2K penguin_help Linux - General 13 03-14-2005 05:22 AM
Mandrake 10/Windows XP Dual Boot Problem The Oate Mandriva 8 07-20-2004 12:30 AM
Grub Dual Boot Mandrake 9.2 and Win2000 Invalid Boot Disk larsenmtl Linux - Newbie 1 02-01-2004 03:29 PM
Dual-Boot Windows XP through GRUB Darkstar274 Linux - Software 10 12-07-2003 06:10 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration