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. |
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 |
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 device.map 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. |
copy it to /boot/grub and edit it to reflect your actual paritioning scheme
|
try my tut and post back if you have no luck
http://www.linuxquestions.org/questi...hreadid=237511 |
All times are GMT -5. The time now is 05:22 AM. |