|
What You'll Need: |
- Windows 2000 Boot/Installation CD
- Redhat Linux Boot/Installation CDs (1 and 2)
- A floppy which can be erased
- Keyboard/monitor/mouse
- Direction-Following Skills
|
A Computer with... • Enough RAM to run win2k • About 4 gig hard drive • CD-ROM Drive • Bios Configured to Boot floppy, then CD-ROM, then hd • All other vital hardware supported by linux and win2k |
All steps will be orded by number. If there is a "substep", I'll list it as
"a, b, c, etc" underneath a particular numbred step. This How-To does not
cover the obvious steps, but only the more complicated ones. The How-To will
assume that... You have installed redhat linux once before, you have
knowledge of basic linux commands (and pico or another text editor), you have
installed win2k oncebefore, and that none of the data on your primary master
hard drive (your boot drive) contains any information you still need. If
there is data which must be backed up, do so BEFORE following this How-To.
1. Boot off the Win2k installation CD.
a) Follow generic installation steps until you get to the partitioning stage
2. Clear out all existing partitions on your primary master hard drive.
a) Create a new partition between 1.5 and 3 gigs in size (NOT LARGER THAN 3,000 MEGS)
b) Leave the rest of the hard drive unpartitioned
3. Have Win2k install on that partition you have created.
a) Continue through with the remainder of the Win2k installation.
4. When that installation is done, make sure windows boots up properly.
a) If it doesn't, then fix it or start over, this time fixing the problem.
5. Once this works properly, pat yourself on the back. You just finished the first OS.
6. Boot off of Redhat installation disk #1.
a) Fill in appropriate settings for the first "language" page all the way through the
"Install Type" page (stop here).
7. Select "Custom System", and click 'next'.
8. "Automatic Partitioning": Select "Manually Partition with Disk Druid", and click 'next'.
9. You next come to the partitioning page. The windows partition should show up as "/dev/hda1".
a) Click "add" and select "partition type: SWAP"
aa) If have 128 megs of RAM or more, make it the same size as megs of ram
that your computer has.
ab) If you have less than 128 megs of RAM, make it double the amount of ram
that your computer has.
b) Take note of the labels of each of the three partitions (/dev/hda?)
10. Now click 'add' again: Select "mount point: /", and "partition type: linux native"
a) Select the "Use remaining disk space" radio button.
11. Take a deep breathe and click 'next' to continue to the next screen.
12. Next screen: "Choose Partitions to format".
a) Leave default (just don't let it format /dev/hda1)
13. Next Screen: "Lilo"
a) Make only one change to the default: About halfway down the screen you can
choose between installing lilo on either the "master boot record", or on
/dev/hda2. Click the radio button beside the "/dev/hda2" option to select it.
14. Next few screens: "Network Configuration", "Time Zones", "Account Configuration".
a) Fill them all in properly.
15. Next screen: "Packages". Do not unselect any of the default selected packages unless
you don't want/need a GUI such as xwindows/gnome/kde. If you don't need a GUI, then
unselect "xwindows" and "gnome" near the top of the list to save space.
a) Scroll to near the bottom and select the "Utilities" package!!!!!!!!!!!!!!!!!
b) Select any other packages which interest you (disk space permitting)
16. Properly fill in the next screen: "monitor configuation".
17. Next screen: "Begin Installation" Just Do It - Nike.
18. Watch the installation or go get something to drink.
19. When it's done: "Bootdisk Creation". "Skip Boot Disk Creation?" - HELL NO!
a) Insert your floppy (if you havn't already) and click 'next' to make the floppy
b) If you don't make the floppy, you'll have to restart at step 6!!!!!!!
20. "Congradulations, Installation Complete": Leave the floppy in, and click 'exit' =)
a) Take the CD-ROM out as it is automatically ejected after clicking 'exit'
21. Let the computer boot off the floppy (if it doesn't, then you need to start
troubleshooting)
22. When it gives you a boot prompt, type 'linux'
23. Log in as root
24. (I will list the following commands in the order in which they must be executed):
mkdir win
mount -t vfat /dev/hda1 /root/win
dd if=/dev/hda2 of=/root/win/bootrec.lnx count=1 bs=512
pico /root/win/boot.ini
################### Begin directions for editing boot.ini #######################
(the file should look like this):
[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect
(on a new line at the bottom, add this):
C:\bootrec.lnx="RedHat Linux 7.1"
(Set the timeout to whatever you want, and save/exit if you want windows to be the default boot)
(If you want linux to be default, change the third line to look like this):
default=C:\bootrec.lnx
################# End directions for editing boot.ini ###########################
25. Remove linux boot floppy (linux won't die if you do this).
a) type: "shutdown -r now" and hopefully when the computer comes back up, it will
give you the dual-boot option screen. If this did not work,
contact me.
You can still edit the boot options (timeout/default/title) by opening the boot.ini file from windows (or linux via steps 21-24).
|