WindowsDualBootHowTo

Differences between revisions 22 and 23
Revision 22 as of 2005-09-17 12:11:09
Size: 3498
Editor: dsl-202-52-55-156
Comment:
Revision 23 as of 2005-09-17 12:15:19
Size: 3507
Editor: dsl-202-52-55-156
Comment: NTFS now supported
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
== 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'''
== Resizing Partitions Using the Ubuntu Installer ==
Line 9: Line 7:
The Ubuntu installer does include support for resizing NTFS partitions, but it is kind of hit or miss. Some people report that it works, for others it doesn't. If you try and have no luck, try this method to resize NTFS partitions:

  1. Boot into Windows and backup any valuable documents/photos etc onto removable media such as CD-R/DVD-R.
  1. Run the windows Defragment tool on C:\
  1. [http://www.sysresccd.org/download.en.php Download the System Rescue CD ISO image] (100 MB very useful softwares).
  1. Burn the ISO image to a CD.
  1. Boot from the CD and hit <ENTER> when you see the message "Boot:".
  1. When you get a command prompt, enter:
{{{
run_qtparted
}}}
  1. Select your disk on the graphical screen (most likely /dev/hda).
  1. Select your NTFS partition to be resized (most likely /dev/hda1).
  1. Right click with the mouse and choose Resize.
  1. Set the new partition size.
  1. Commit your changes in the File -> Commit menu. If your keyboard and mouse stop responding during resizing then please just be patient.
  1. Once your changes are saved, remove the System Rescue CD and insert your Ubuntu installation CD.
  1. 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'''
 1. Boot into Windows and backup any valuable documents/photos etc onto removable media such as CD-R/DVD-R.
 1. Run the windows Defragment tool on C:\
Line 56: Line 33:
== Issues with Windows XP and NTFS ==
 
 '''This assumes Windows is already installed with the NTFS file system and is taking up the whole/most of the hard drive'''

Although the Ubuntu installer does now include support for resizing NTFS partitions, it is not 100% affective. If you try the above procedure and have no luck, try the following alternative method:

  1. Boot into Windows and backup any valuable documents/photos etc onto removable media such as CD-R/DVD-R.
  1. Run the windows Defragment tool on C:\
  1. [http://www.sysresccd.org/download.en.php Download the System Rescue CD ISO image] (100 MB very useful softwares).
  1. Burn the ISO image to a CD.
  1. Boot from the CD and hit <ENTER> when you see the message "Boot:".
  1. When you get a command prompt, enter:
{{{
run_qtparted
}}}
  1. Select your disk on the graphical screen (most likely /dev/hda).
  1. Select your NTFS partition to be resized (most likely /dev/hda1).
  1. Right click with the mouse and choose Resize.
  1. Set the new partition size.
  1. Commit your changes in the File -> Commit menu. If your keyboard and mouse stop responding during resizing then please just be patient.
  1. Once your changes are saved, remove the System Rescue CD and insert your Ubuntu installation CD.
  1. Reboot and install Ubuntu into the free space.


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.

Resizing Partitions Using the Ubuntu Installer

  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. Download/burn or order CD
  4. 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.
  5. If successfully booted from CD, the Ubuntu Logo will be displayed on the screen, press Enter to continue.
  6. Follow the prompts.
  7. 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, however partman/parted on the ubuntu-installer-5.04 does not support NTFS partitions.

Issues with Windows XP and NTFS

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

Although the Ubuntu installer does now include support for resizing NTFS partitions, it is not 100% affective. If you try the above procedure and have no luck, try the following alternative method:

  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.


CategoryHardware

WindowsDualBootHowTo (last edited 2008-08-06 17:00:47 by localhost)