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! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-18-2005, 11:31 PM
|
#1
|
LQ Newbie
Registered: Feb 2005
Posts: 22
Rep:
|
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.
|
|
|
02-19-2005, 03:18 AM
|
#2
|
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555
Rep:
|
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
|
|
|
02-19-2005, 12:35 PM
|
#3
|
LQ Newbie
Registered: Feb 2005
Posts: 22
Original Poster
Rep:
|
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.
|
|
|
02-19-2005, 06:30 PM
|
#4
|
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555
Rep:
|
copy it to /boot/grub and edit it to reflect your actual paritioning scheme
|
|
|
02-25-2005, 07:40 AM
|
#5
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep:
|
|
|
|
All times are GMT -5. The time now is 08:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|