Anda di halaman 1dari 5

Benchtest.

Com - Dual Boot NT & RedHat 7

HOME
What's New
Dual Boot - NT4 and redhat 7
These instructions will also work for redhat 6.X - though there may be some
CPU Cooler
minor differences in the screens.
Programs
This should also work for Windows 2000 - though I haven't tested it personally.
Introduction
AmnHLT
This example assumes you are running NT4 with the NTFS file system with
CpuIdle minimum of 3 gig free for your redhat installation.
Rain
VCool 2.0 1. Start with a installation of NT workstation or server.
Waterfall Pro
Current Tests 2. Make sure you have the 3 NT floppies you were prompted to make while
Test Archives performing the Windows NT installation.

UDMA Driver 3. Make sure you have a newly created NT repair disk in case all should go
Tests wrong. To make or update your repair disk:
Windows 95
Windows 98 4. (In NT) Click Start | Run | Type "Rdisk" | Click Go
Windows NT
5. When the applet starts, select Create Repair Disk.
Way 2 Cool
6. Now format another floppy disk for DOS (FAT). Put the floppies aside for
Projects
now.
Compaq 1800T
1800T Temp Monitor OK, Let's begin.
Celeron-A
Going for 504 7. Reboot with redhat 7 CD in the drive.
More on 504
Cheap Sandwich 8. Press enter to install in graphic mode.
BX6r2 Diode Fix
Condensation 9. Choose English - next
Lap that Slug
Celeron PPGA 10. Choose a keyboard, us english w/ISO9995-3, disable dead keys - next
Journey to 1080
Building an NT Box 11. Choose mouse - next
Heat Pipe 1
12. You'll get a Welcome screen - next
Heat Pipe 2
Heat Pipe 2.2
13. Choose Custom Install - next
gp_Temp
gp_Temp4 14. Set partitions - choose manual w/ Disk Druid - next
gp_Temp5

http://www.benchtest.com/dual_nt_linux.html (1 of 5)12/2/2007 3:38:47 AM


Benchtest.Com - Dual Boot NT & RedHat 7

15. You will see your NT partitions listed as <not set> NTFS/HPFS - LEAVE
Heat Sinks THESE ALONE
Aavid
A&C Prototype Sink 16. Choose "add" to add your Linux partitions. You will need a minimum of 3: /
Alpha P125 boot, /, and <swap>. You may add more if you wish. As I choose to keep lots of
Alpha P521 stuff in the /home directory, I have made it a separate partition. My partitions
CPU Cooler look like this for a 20 gig drive:
FullWay
Tom's Sink
Name Mount Point Requested Size Actual space taken Type
Water Cooler 1
<not set> hda1 1992M 1992M NTFS/HPFS
Water Cooler 2
Water Cooler 3 <not set> hda5 2008M 2008M NTFS/HPFS
Water Cooler 4 <not set> hda6 4000M 4000M NTFS/HPFS
* /boot hda7 40M 47M Linux Native
Water Cooler 6 /home hda10 4000M 4000M Linux Native
Water Cooler 7 <swap> hda9 64M 70M Linux Swap
/ hda8 7451M 7451M Linux Native
Way 2 Cool
Thermometer 17. If you're working with 3 gigs, use 50 meg or less for /boot, half the abount of
Thermometer 2 RAM you have (up to 128 meg space on the drive) for and the remainder for /.
K-6 heat sink
Case Cooling 18. You may want to make sure you've used 100% of the drive. (Indicated in the
Heat Sink Tester lower right) You don't want to be wasteful.
More Case Cooling
Klamath heat sink 19. MAKE SURE to note the location of the /boot and / partitions. In this case /
Q500A Cooling dev/hda7 for /boot and /dev/hda8 for /. - Next
My Server Temps
20. Choose the partitions to format (Choose all boxes - there should only be the
Temp Calculators
Linux partitions listed and no swap) - next
CKS400 Rack Case
Fan Controller 21. Check these boxes:
Cooling Links Create boot disk
Downloads Page Install lilo to /dev/hda7 (hda7 is the /boot in my example, yours may be different)
First sector of boot partition.
Tips and Trix Partition /dev/hda8 (again, hda8 is my / partition in this example)
Dual Boot Win95 / 98 check default boot image
Dual Boot Linux/NT4 boot label Linux
In the box, there will be: <check> /dev/hda8 Linux Native Linux
D-B Linux/Win2k
Hot Flash your BIOS
22. Click next

Family Stuff 23. Set time zone - next


Prom / St. John
Providenciales 24. Set root password - enter the password twice

Email Jim 25. Create an account (The root account should NOT be used for normal

http://www.benchtest.com/dual_nt_linux.html (2 of 5)12/2/2007 3:38:47 AM


Benchtest.Com - Dual Boot NT & RedHat 7

access to the system.)


<your account name> password password (full account name) - Click add

26. Enter more accts. if you wish - next

27. Authentication - Check MD5 and Shadow - leave the rest blank - next

28. Packages - scroll to bottom, check "everything" - next

29. Choose monitor & sync rates - default settings usually work - next

30. Choose graphic card, amount of video memory, then test. Hopefully you'll see the test and click OK

31. Choose graphical logon - choose custom config - choose Gnome click next

32. Choose resolution - DON'T set the bits or resolution too high! One step lower than you'd choose in
windows is good for a starter - next

33. About to install - next

34. Linux will format, then install disk 1 and ask for disk 2, then finish

35. Create boot disk on a new floppy, click next

36. Remove CD - leave floppy in

37. Reboot

38. redhat will come up.

39. Log on to redhat as root. Open a terminal window.

40. Time to grab the bootsector from your Linux boot partition (/boot). With /dev/hda7 as your /boot, the dd
command is:

# dd if=/dev/hda7 of=/bootsect.lnx bs=512 count=1

41. The bootsect.lnx should be 512 bytes.

42. Remove Linux boot disk - Install a DOS formatted floppy

43. Now copy the file bootsect.lnx to the floppy.

44. You can copy it with:

# mcopy /bootsect.lnx a:

http://www.benchtest.com/dual_nt_linux.html (3 of 5)12/2/2007 3:38:47 AM


Benchtest.Com - Dual Boot NT & RedHat 7

45. Remove floppy

46. Log out and Reboot

47. NT should come up - log on

48. Insert DOS floppy

49. From a command prompt (or any way you want) # copy a:\bootsect.lnx c:

50. Now, go to:

Start | Programs | Windows NT Explorer

51. Navigate to C:\boot.ini

52. Right click on boot.ini, left click properties

53. Uncheck Read-only | Click OK

54. Open boot.ini in notepad

55. Add the line: c:\bootsect.lnx="redhat 7" to the OS Loader. It should look like this:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ...
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows NT Workstation ...
C:\bootsect.lnx="redhat 7"

56. Save the file in Notepad

57. Close Notepad

58. Navigate back to C:\boot.ini

59. Right click on boot.ini, left click properties

60. Check Read-only | Click OK

61. Remove floppy

62. Reboot

63. At the NT Boot Loader screen you should see

http://www.benchtest.com/dual_nt_linux.html (4 of 5)12/2/2007 3:38:47 AM


Benchtest.Com - Dual Boot NT & RedHat 7

Windows NT Workstation Version 4.0


Windows NT Workstation Version 4.0 [VGA mode]
redhat 7

64. Choose redhat 7 and hit enter

65. Linux should load. You're done.

NOTE: If you recompile the kernel, you will need to perform steps 40 through 49 (after the compile and
running lilo) to get the new kernel to boot.

If you would prefer to dual boot using Red Hat's loader, take a look at Win2k / Red Hat 7.1 Dual Boot.

http://www.benchtest.com/dual_nt_linux.html (5 of 5)12/2/2007 3:38:47 AM

Anda mungkin juga menyukai