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.
|
 |
10-07-2005, 11:04 AM
|
#1
|
LQ Newbie
Registered: Oct 2005
Posts: 3
Rep:
|
XP Pro / FC4 dual boot
I searched through he forums, but with my lack of knowledge of linux I was not able to help myself. Here is my situation I have two hd, a WD 30GB broken up into 3 partitions, a 250mb that I head reserved for the boot loader, 20GB for Windows, 8GB to share. Then the 15GB has just 1 partition for FC4. I installed the boot loader GRUB on the MBR.
Here is my grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=30
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=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows XP
rootnoverify (hd0,4)
chainloader +1
FDISK output:
sk /dev/hda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 32 257008+ 83 Linux
/dev/hda2 33 3647 29037487+ f W95 Ext'd (LBA)
/dev/hda5 33 2582 20482843+ 7 HPFS/NTFS
/dev/hda6 2583 3647 8554581 b W95 FAT32
Disk /dev/hdb: 15.3 GB, 15301836800 bytes
255 heads, 63 sectors/track, 1860 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 1860 14940418+ 8e Linux LVM
hda5 has xp pro
hdb1 has FC4
Now the problem, FC4 loads fine, but when I try to load XP, all I get is this:
rootnoverify (hd0,4)
chainloader +1
Thank You in advance.
|
|
|
10-07-2005, 11:11 AM
|
#2
|
Member
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386
Rep:
|
Modify the configuration file so that it reads:
Code:
title Windows XP Professional {or whatever you want to call it}
rootnoverify (hd0,4)
makeactive
chainloader +1
I can't guarantee that it'll work, but it works with Solaris here.
-A
|
|
|
10-07-2005, 11:19 AM
|
#3
|
LQ Newbie
Registered: Oct 2005
Posts: 3
Original Poster
Rep:
|
Thx for trying, but it did not work.
|
|
|
10-07-2005, 01:12 PM
|
#4
|
LQ Newbie
Registered: Oct 2005
Posts: 3
Original Poster
Rep:
|
Has anybody else run into this problem while dual-booting?
|
|
|
10-07-2005, 05:10 PM
|
#5
|
Member
Registered: Dec 2004
Location: Slough, UK
Distribution: Fedora, FreeBSD, RHEL
Posts: 85
Rep:
|
Not Sure about this problem
But what i Did was first to install all my Win OS and then install Linux over that
I have installed WIN XP WIN 2003 FC1 and RHEL 4.0 all on one hard disk and they work gr8
The process i followed was
First I installed Win XP on D: and then 2003 on E: Left C: for boot files for Windows
F: was left for Data
Then I used hda5 for /boot and hda6 for /root
Grub simply takes over the windows boot loader and i just directed that c: that is hda1 has the boot loader for windows so when i select DOS on grub i get two options again for WIN XP and WIN 2003
installing EL again on the available space was a tricky one
There is an article on the same under my name can refer to that
But i Prefer installing wiindows first and then any linux distro that has worked always for me.
Regards
Jaspreet
|
|
|
01-10-2006, 04:34 PM
|
#6
|
Member
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297
Rep:
|
Quote:
Originally Posted by jspsandhu
Not Sure about this problem
But what i Did was first to install all my Win OS and then install Linux over that
I have installed WIN XP WIN 2003 FC1 and RHEL 4.0 all on one hard disk and they work gr8
The process i followed was
First I installed Win XP on D: and then 2003 on E: Left C: for boot files for Windows
F: was left for Data
Then I used hda5 for /boot and hda6 for /root
Grub simply takes over the windows boot loader and i just directed that c: that is hda1 has the boot loader for windows so when i select DOS on grub i get two options again for WIN XP and WIN 2003
installing EL again on the available space was a tricky one
There is an article on the same under my name can refer to that
But i Prefer installing wiindows first and then any linux distro that has worked always for me.
Regards
Jaspreet
|
That is the easiest way, but sometimes the situation prevents the end user from doing that, so they need to add Windows to the same drive after Linux. I'm still looking for a good guide for this. Installing Windows after Linux on a DIFFERENT drive is not too hard, but I am wondering how difficult it will be to do on the same drive.
After I figure it out, I'll post the answer here.
|
|
|
01-10-2006, 06:26 PM
|
#7
|
LQ Newbie
Registered: Jan 2006
Posts: 6
Rep:
|
Did you have Windows installed first? It sounds like you are having problems setting up your partitions correctly
|
|
|
01-10-2006, 06:34 PM
|
#8
|
LQ Newbie
Registered: Jan 2006
Posts: 6
Rep:
|
You may have to start over and reinstall Windows. Before you do that though, go into the setup for Fedora Core 4...when you get to the partitions screen there should be two of them that are ntfs. Don't delete the first one...but do delete the second one (probably hda5)...then create "/" and "/swap" this should get you through to the next screen. Then, back out of it and it will tell you the partitions have all ready been set, or something along those lines. Say okay and allow it to kick you out of the setup. (it will recreate a ntfs partition, that is small)Then, go into the setup again and have it automatically create the partitions it needs by deleting the current Linux partitions only. Go from there and you should be able to finish the install and the dual boot should work
|
|
|
All times are GMT -5. The time now is 03:22 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
|
|