Benchtest.

Com - Dual Boot NT & RedHat 7

HOME What's New CPU Cooler Programs Introduction AmnHLT CpuIdle Rain VCool 2.0 Waterfall Pro Current Tests Test Archives UDMA Driver Tests Windows 95 Windows 98 Windows NT Way 2 Cool Projects Compaq 1800T 1800T Temp Monitor Celeron-A Going for 504 More on 504 Cheap Sandwich BX6r2 Diode Fix Condensation Lap that Slug Celeron PPGA Journey to 1080 Building an NT Box Heat Pipe 1 Heat Pipe 2 Heat Pipe 2.2 gp_Temp gp_Temp4 gp_Temp5

Dual Boot - NT4 and redhat 7
These instructions will also work for redhat 6.X - though there may be some minor differences in the screens. This should also work for Windows 2000 - though I haven't tested it personally. This example assumes you are running NT4 with the NTFS file system with minimum of 3 gig free for your redhat installation. 1. Start with a installation of NT workstation or server. 2. Make sure you have the 3 NT floppies you were prompted to make while performing the Windows NT installation. 3. Make sure you have a newly created NT repair disk in case all should go wrong. To make or update your repair disk: 4. (In NT) Click Start | Run | Type "Rdisk" | Click Go 5. When the applet starts, select Create Repair Disk. 6. Now format another floppy disk for DOS (FAT). Put the floppies aside for now. OK, Let's begin. 7. Reboot with redhat 7 CD in the drive. 8. Press enter to install in graphic mode. 9. Choose English - next 10. Choose a keyboard, us english w/ISO9995-3, disable dead keys - next 11. Choose mouse - next 12. You'll get a Welcome screen - next 13. Choose Custom Install - next 14. Set partitions - choose manual w/ Disk Druid - next

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

Heat Sinks Aavid A&C Prototype Sink Alpha P125 Alpha P521 CPU Cooler FullWay Tom's Sink Water Cooler 1 Water Cooler 2 Water Cooler 3 Water Cooler 4 * Water Cooler 6 Water Cooler 7 Way 2 Cool Thermometer Thermometer 2 K-6 heat sink Case Cooling Heat Sink Tester More Case Cooling Klamath heat sink Q500A Cooling My Server Temps Temp Calculators CKS400 Rack Case Fan Controller Cooling Links Downloads Page Tips and Trix Dual Boot Win95 / 98 Dual Boot Linux/NT4 D-B Linux/Win2k Hot Flash your BIOS Family Stuff Prom / St. John Providenciales Email Jim

15. You will see your NT partitions listed as <not set> NTFS/HPFS - LEAVE THESE ALONE 16. Choose "add" to add your Linux partitions. You will need a minimum of 3: / boot, /, and <swap>. You may add more if you wish. As I choose to keep lots of stuff in the /home directory, I have made it a separate partition. My partitions look like this for a 20 gig drive:

Name Mount Point <not set> hda1 <not set> hda5 <not set> hda6 /boot hda7 /home hda10 <swap> hda9 / hda8

Requested Size 1992M 2008M 4000M 40M 4000M 64M 7451M

Actual space taken 1992M 2008M 4000M 47M 4000M 70M 7451M

Type NTFS/HPFS NTFS/HPFS NTFS/HPFS Linux Native Linux Native Linux Swap Linux Native

17. If you're working with 3 gigs, use 50 meg or less for /boot, half the abount of RAM you have (up to 128 meg space on the drive) for and the remainder for /. 18. You may want to make sure you've used 100% of the drive. (Indicated in the lower right) You don't want to be wasteful. 19. MAKE SURE to note the location of the /boot and / partitions. In this case / dev/hda7 for /boot and /dev/hda8 for /. - Next 20. Choose the partitions to format (Choose all boxes - there should only be the Linux partitions listed and no swap) - next 21. Check these boxes: Create boot disk Install lilo to /dev/hda7 (hda7 is the /boot in my example, yours may be different) First sector of boot partition. Partition /dev/hda8 (again, hda8 is my / partition in this example) check default boot image boot label Linux In the box, there will be: <check> /dev/hda8 Linux Native Linux 22. Click next 23. Set time zone - next 24. Set root password - enter the password twice 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

Sign up to vote on this title
UsefulNot useful