Skip to main content

Install Windows XP and Redhat 7.1 Dual Boot on Dell Dimension 4300

1. Partition.

The Dell Dimension 4300 comes with a whole C:. Even if you just want to use Windows system, it is a bad idea to put everything in one logical disk. You can use some partition tools to partition hard disk while keeping all the installed software, such as PowerQuest's PartitionMagic or Paragon's Partition Commander.

I like to install everything from scratch. I prefer to use fdisk tools coming with Redhat than FDISK with DOS boot disk.

  1. Enter the BIOS setup by click F2, and change the boot sequence, such as first boot from Floppy Disk, second boot from CD-ROM and third boot from Hard Disk.
  2. Put Redhat 7,1 CD1 into CD-ROM and restart PC.
  3. Follow the Redhat 7.1 Installation step-to-step until it comes the step to partition the disk, you should choose fdisk to partition the hard disk. Click the hard disk to partition.
  4. Hints: 'm' for help, 'p' to display current disk table, 'd' to delete partition, 'n' to add partition, 't' to toggle partition id, 'q' to quit without saving, 'w' to save the partition table and quit.
  5. Plan how you want to use your hard disk. You can create 2 partitions as HPFS/NTFS for Windows XP. Create partitions for /boot, Linux swap and Linux /, /home, /usr, etc. based on your own plan. Here is the example of what the final partition table looks like: (/dev/hda4 is extended partition that /dev/hda5 above sits)
    Device Boot Blocks Id System
    /dev/hda1 * 20G 7 HPFS/NTFS
    /dev/hda2 30G 7 HPFS/NTFS
    /dev/hda3 31M 83 Linux
    /dev/hda4 25G 5 Extended
    /dev/hda5 2G 82 Linux Swap
    /dev/hda6 10G 83 Linux
    ... ... ... ...
  6. Restart your PC

2. Windows XP Professional Installation

  1. Put the Windows XP Professional CD-ROM into CD-ROM driver and restart.
  2. Windows XP Professional will install automatically, following the on-screen step until it completes. For the example above, select /dev/hda1, it shows as C:\ in Windows. Format it as NTFS.
  3. Now you should be able to boot into Windows XP Professional
  4. Format /dev/hda2, shows as D:\ in Windows to NTFS.
  5. Make "Windows Update" and install software, drivers for Windows XP if needed.

3. Redhat Linux 7.1 Installation

  1. Now put Redhat 7.1 CD1 into CD-ROM driver again and restart Windows XP. It will boot into Linux installation
  2. Follow the installation on-screen steps until reach the partition step, use fdisk to show partition table and quit without saving.
  3. Specify Linux directory locations, as example shows above, /dev/hda3 as "/boot", /dev/hda6 as "/", etc.
  4. Follow the steps until Linux installation ask you something about LILO. you MUST choose "create boot disk", if install LILO, you MUST choose "Install LILO on the first sector of boot partition", DON'T choose "Install LILO on the MBR"
  5. Redhat 7.1 should install without any problem and you should have the step to create a bootable floppy disk. After installation, Redhat 7.1 will restart the PC, and your PC now should be able to boot into Linux with the floppy disk.

4. Prepare Dual Boot with NTLDR

  1. In Linux, run "dd if=/dev/hda3 of=/bootsect.lnx bs=512 count=1" providing the boot device is /dev/hda3 as example shows
  2. In Linux, run "mcopy /bootsect.lnx a:" . If you don't have mcopy, download the tools, it is in mtools ( http://mtools.linux.lu/)
  3. OK, now reboot to Windows XP Professional
  4. Copy A:\BOOTSECT.LNX to C:\
  5. Edit C:\boot.ini, you may need to modify the file property to change it.
  6. Add "C:\BOOTSECT.LNX="Redhat 7.1" to C:\boot.ini and save. < /FONT>
  7. Reboot, now you should have the menu to choose which OS you want to boot into.

5. Fine Tune

  1. Adjust the boot wait time for Redhat 7.1 Linux by editing /etc/lilo.conf. You can change "timeout" value, disable "message..."
  2. Adjust the boot wait time for NTLDR by editing c:\boot.ini
  3. Remember to redo the step 4 after you change boot configurations in Linux.

6. Other Issues about Dual Boot

  1. The descriptions above also works well with Windows NT, Windows 2000 Professional.
  2. Redhat 7.2 comes with GRUB, which is very nice boot loader. I have used it to install a dual boot system with Windows 98, Redhat 6.2 and Redhat 7.2
  3. The descriptions above WON'T work with Redhat 7.2. It will hang during boot. What you can try is install GRUB at MBR. Everyone is saying don't install Linux boot at MBR as it will overwrite the NTLDR. Is it true? NO!
  4. Some discussion shows installation of Mandrake 8.1/Windows XP is much easier then Redhat/Windows XP. I haven't test it yet.
  5. Redhat 7.2 GRUB also Won't work with Windows NT, Windows 2000 and Windows XP. There is no nice way to make it work although there is a HOWTO ( http://www.linuxdoc.org/HOWTO/mini/Multiboot-with-GRUB.html). It doesn't work for me. Let's wait public release version of GRUB.

7. Updates on Redhat 8 and later version

  1. Partition your hard disk for Windows and Redhat Linux OS.
  2. Install Windows OS as usual.
  3. Install Redhat. Use GRUB as boot loader an install GRUB in MBR.
  4. Reboot and enjoy!

Comments

Popular posts from this blog

spring 2.0 bean scope

singleton Scopes the bean definition to a single instance per Spring container (default). prototype Allows a bean to be instantiated any number of times (once per use). request Scopes a bean definition to an HTTP request. Only valid when used with a web capable Spring context (such as with Spring MVC). session Scopes a bean definition to an HTTP session. Only valid when used with a webcapableSpring context (such as with Spring MVC). global-session Scopes a bean definition to a global HTTP session. Only valid when used in a portlet context.

Crocs sandals

Suddenly one special looking sandals get popular. The brand is Crocs. It even opens a brand store at Marina Square. The design idea is from Dutch wooden shoes, I guess. A pair of Crocs sandals is sold at around SGD 50. The price is justified for what it is made of - Croslite. Based on Crocs website, "Croslite™, a proprietary Closed Cell Resin (PCCR) which is NOT plastic NOR rubber. Croslite™ is closed-cell in nature and anti-microbial, which virtually eliminates odor. it is an extraordinary impact absorbing resin material developed for maximum cushioning. its closed cell properties resist odor, inhibits bacterial and fungal growth and are non toxic. this versatile material can be worn next to skin and be cleaned with just soap and water." However, it really looks like made of plastic or rubber, and the design is unique. Replica comes. they are sold at SGD 20, SGD 10, SGD 5 depending on quality.

Singapore Girl Sex Clip Posted Online

A couple days ago, a sex video clip about a female Chinese graduate student Wang Ting Ting (王婷婷) was posted on the internet. Just as it is about to cool down, another sex video clip pops. It is a sex clip of a Singapore Nanyang Polytechnic student . The video clip was stored on her cell phone. Someone stole it and posted the video clip on the Internet. This is a breaking news. It is even reported on major Singapore and Malaysia newspapers. Now we have so many cool gadgets. It is a breeze to shoot photos/videos, and share them on the internet. Everyone, even dog, is on the internet waiting for breaking news. Be careful when you do something secret or stupid. It may appear all over the world, live!

No smoking sign

Watch out this sign before you light the cigarette up. SGD 1000 fine! However, I wonder if someone had really paid so much for violation.

Prostitutes in Singapore

Singapore is very realistic about this issue. Prostitution is legal. The famous red light zone is Geylang area. I heard Hong Kong officials are considering to legalize this business in HK also. Singaporeans are not allow to work as prostitute. Maybe also SPR. The prostitutes are mainly foreign workers from poor countries in SEA area, such as Indonesia, Thailand, India, Malaysia, not from China. They come under special 2-year working pass, and must pass the health exam, yes, to prevent STD such as HIV, AIDS and so on. The brothels are mixed with normal resident houses. The brothel's house number is red lighted. The price is ranged from SGD 50 to SGD 200. Illegal sex workers are also around, and in some massage clinics. A very recent fatal case and newly effective government policy make a special social group - Chinese accompanying mom for studying kids a hot media buzz again.