Linux - GeneralThis 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.
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.
Ok rite now i have a new pentium 4 system with linux on it and a crapy win xp system and i was wondering if i could stick another hdd in and put win xp on it so i could boot to it when ever i wanted to play empire earth? I got a 6 gig not in use rite now. I search aroud the net and people have had two operating system on the same hdd but i don't wanna reinstall redhat 9 again so is it posible to stick in a 2nd hdd and install windows xp on to it and have an option where i can boot linux or windows xp?
You will need to make modifications in your BootLoader (GRUB or Lilo) configuration file.
There are many threads on LQ which contain sample conf files.
I have had RED HAT 9 running on the system for about a year now and I got windows xp installed now on the primary slave hdd just gotta know how to make it so i can boot up into windows
K i edited the grub.conf file and typed that in when i rebooted the computer i selected windows xp and it went to a black screen showing
booting 'windowsxp'
get the other Hdd installed, it depends where you want to put it - have a look at the first screen you get when you switch the machine on (the one that you would use to get into BIOS) that should tell you which ide channel isnt used (my master on the first channel is my hdd, the slave on the first is my dvd. My master on the second ide channel is my cdrw and the slave isn't used - I just havent' got round to installing the second hdd that's sitting in my desk drawer).
You would then have to boot up and look at the conf file for grub (presuming that's what you are using) and just follow the same basic pattern of config layout, remembering to tell it where you want the windows to be - don't forget that windows can get a bit funny if it's not the first OS on a system - You'd have to search for help on that one!
# grub.conf generated by anaconda
#
# Note that you do not have to return grub after making changes to this file
#notice: you have a /boot partiton. this means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.zpm.gz
title Red Hat Linux (2.4.20-18.9)
root (hd0,0)
kernel /vmlinuz-2.4.20-18.9 ro root=label=/
initrd /initrd-2.4.20-18.9.img
tite Redh Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=label=/
initrd /initrd-2.4.20.-8.img
title windowsxp
rootnoverify (hd1,0)
chainloader +1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.