Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
|
 |
07-14-2005, 09:03 AM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 5
Rep:
|
Fedora / Windows XP Dual Boot Problem
I am having problems setting up GRUB to boot windows, I have installed windows xp on hd1 and fedora 4 on hd0. GRUB is installed on the MBR ( as far as I know )
Here is the grub.conf:
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows
rootnoverify (hd1,0)
chainloader +1
When I select windows, it outputs:
rootnoverify(hd1,0)
chainloader +1
What am I doing wrong?
|
|
|
07-14-2005, 10:41 AM
|
#2
|
LQ Newbie
Registered: Jul 2005
Posts: 26
Rep:
|
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows
rootnoverify (hd1,0)
makeactive
chainloader +1
try the makeactive, thats what grub requires w/ my gentoo install
also hitting e on the windows selection will allow you to mess around with it before its executed
|
|
|
07-14-2005, 07:52 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 5
Original Poster
Rep:
|
Same output, except with the makefile line added.
fdisk -l output:
Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 3277 26218080 83 Linux
/dev/hda3 3278 3799 4192965 83 Linux
/dev/hda4 3800 4866 8570677+ 5 Extended
/dev/hda5 3800 3930 1052226 82 Linux swap / Solaris
Disk /dev/hdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 14593 117218241 7 HPFS/NTFS
|
|
|
07-14-2005, 10:49 PM
|
#4
|
LQ Newbie
Registered: Jul 2005
Posts: 26
Rep:
|
go to the grub commandline (i believe its c) and enter in partitions till you find one that looks like windows
for example
grub > root (hd1,0) #this will spit out what grub thinks the partition has
once you find the partition that looks good you can proceed to use it
grub > makeactive
grub > chainloader +1
grub > boot
the other problem that could have ocurred is that you installed grub into both master boot records, in that case when you define the second hard drives sole partition it just hits grub
if that is the case you may want to try switching the hard drives in the bios, and switching the hard disks in grub
|
|
|
All times are GMT -5. The time now is 04:40 AM.
|
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
|
|