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-28-2004, 09:38 AM
|
#1
|
Member
Registered: Jun 2004
Posts: 52
Rep:
|
Avoid overwriting bootloader
Right now I am running with two hard drives, one is being used for linux. I want to install Windows XP on the other, how can I do this without overwriting the bootloader and removing access to Linux, also I want to share files between windows and linux what's a good way to do that?
The following 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,4)
# kernel /vmlinuz-version ro root=/dev/hde11
# initrd /initrd-version.img
#boot=/dev/hde
default=2
timeout=1
splashimage=(hd0,4)/grub/splash.xpm.gz
title Fedora Core (2.6.6-1.435.2.3)
root (hd0,4)
kernel /vmlinuz-2.6.6-1.435.2.3 ro root=LABEL=/ hdg=noprobe vga=788 rhgb quiet
initrd /initrd-2.6.6-1.435.2.3.img
title Fedora Core (2.6.7)
root (hd0,4)
kernel /vmlinuz-2.6.7 ro root=LABEL=/ hdg=noprobe selinux=0 vga=788 rhgb quiet
initrd /initrd-2.6.7.img
title Fedora Core (2.6.6)
root (hd0,4)
kernel /vmlinuz-2.6.6 ro root=LABEL=/ hdg=noprobe selinux=0 vga=788 rhgb quiet
initrd /initrd-2.6.6.img
title Fedora Core (2.6.5-1.358)
root (hd0,4)
kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ hdg=noprobe vga=788 rhgb quiet
initrd /initrd-2.6.5-1.358.img
title Other
rootnoverify (hd0,0)
chainloader +1
|
|
|
07-28-2004, 09:58 AM
|
#2
|
Member
Registered: Jul 2004
Location: Manchester, UK
Distribution: Gentoo
Posts: 46
Rep:
|
The following worked for me.
Plugged up the windows (to be) drive as the primary master. Unplugged the Linux drive completely for peice of mind, cos I don't trust windows more than I'd like to throw it. Installed Windows.
I then whipped the cables back round so that the linux drive was the primary master and windows was on the secondary master. Booted up to linux as usual and configured a grub option to load windows for the next reboot.
For sharing files you might look into creating a separate FAT partition for both to access. I've not done this though.
|
|
|
07-28-2004, 10:05 AM
|
#3
|
Member
Registered: Jun 2004
Posts: 52
Original Poster
Rep:
|
hey thanks for the reply, but I'm kinda incompetent when it comes to hardware. I know how to disconnect the first hard drive, but how do I set the other as master?
|
|
|
07-28-2004, 10:06 AM
|
#4
|
Senior Member
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460
Rep:
|
If there's only one hard drive, it's automatically the master..
|
|
|
07-30-2004, 04:36 AM
|
#5
|
Member
Registered: Jun 2004
Posts: 52
Original Poster
Rep:
|
Hey guys, need ur help again. I disconnected the hard drive with Linux and installed Windows and it is working fine. But I don't konw how to configure GRUB to load windows. My grub.conf is give in my initial post. The hard disk containing windows is /dev/hdb and the boot partition is d: according to windows.
|
|
|
07-30-2004, 05:16 AM
|
#6
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
Having windows on the slave drive involves re-mapping the drives so that windows behaves as though it is on the master instead of the slave drive. Do a search of the Linux - Newbie forum for "grub multi boot system". In your search options, de-select case-sensitive if it's selected (the post title isn't consistent in the use of caps). There is an excellent example of the code you need to add to grub.conf.
|
|
|
All times are GMT -5. The time now is 04:55 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
|
|