WindowsDualBootHowTo

Revision 20 as of 2005-07-29 02:22:54

Clear message

If Windows isn't already installed, install it first. If you leave space for Ubuntu at this step you don't have to resize your NTFS partition later.

Windows XP with NTFS or Any Other NTFS partition

  • This assumes Windows is already installed with the NTFS file system and is taking up the whole/most of the hard drive

The Ubuntu installer does not yet include support for resizing NTFS partitions, so the method of doing so is somewhat complicated. Hopefully support will be included with a future release of Ubuntu. This method uses the System Rescue CD to resize NTFS partitions:

  1. Boot into Windows and backup any valuable documents/photos etc onto removable media such as CD-R/DVD-R.
  2. Run the windows Defragment tool on C:\
  3. [http://www.sysresccd.org/download.en.php Download the System Rescue CD ISO image] (100 MB very useful softwares).

  4. Burn the ISO image to a CD.
  5. Boot from the CD and hit <ENTER> when you see the message "Boot:".

  6. When you get a command prompt, enter:

run_qtparted 
  1. Select your disk on the graphical screen (most likely /dev/hda).
  2. Select your NTFS partition to be resized (most likely /dev/hda1).
  3. Right click with the mouse and choose Resize.
  4. Set the new partition size.
  5. Commit your changes in the File -> Commit menu. If your keyboard and mouse stop responding during resizing then please just be patient.

  6. Once your changes are saved, remove the System Rescue CD and insert your Ubuntu installation CD.
  7. Reboot and install Ubuntu into the free space.

Every Other File System On the Planet

  • Support for resizing other file systems is included as part of the Ubuntu installation procedure

  • Download/burn or order CD
  • Once you have the CD, insert it into your CDROM drive and reboot your PC.
    • If the computer does not boot from the CD (eg. Windows starts again instead), check your BIOS settings and fix as appropriate.
  • If successfully booted from CD, the Ubuntu Logo will be displayed on the screen, press Enter to continue.
  • Follow the prompts.
  • The installer will then detect your hard drives and load the disk partitioner.
    1. Choose "Manually edit partition table"
      • Listed will be your current partitions
    2. Select the partition you want to resize and press Enter.
    3. Select "Size:", press Enter.
    4. Select Yes, press Enter.
    5. Type in a new size in Gigabytes for your the partition, its recommended you make AT LEAST 10 GB of free space for your Ubuntu install. Press Enter when happy with your changes. It may take some time to apply the changes.
    6. Create a swap partition of around 500mb.
    7. Create a partition for your Ubuntu installation, at least 10 GB.
    8. Select "Finish partitioning and write changes to disk".
    9. Finish installing your Ubuntu system.
    10. On reboot, remove your Ubuntu cdrom from the cdrom drive, you should be presented with a list of operating systems to boot. Ubuntu should have automatically detected your Windows installation and added an option to boot it on this screen.

Note: According to [http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html this page] NTFS Resize is part of the Ubuntu 5.04 partitioner


CategoryHardware