特殊:Badtitle/NS100:HowToRemoveWindows:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的5个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/HowToRemoveWindows}} | {{From|https://help.ubuntu.com/community/HowToRemoveWindows}} | ||
{{Languages|UbuntuHelp:HowToRemoveWindows}} | {{Languages|UbuntuHelp:HowToRemoveWindows}} | ||
=== | == Before you Start == | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=important.png Before you start fiddling with your partitions, you should make sure that you have '''ALL IMPORTANT data backed up''', preferably on a secondary hard drive (internal or external), a USB flash drive, or a CD-R or DVD-R. Although it is not common for problems to happen during the partitioning process, it is still possible. Actually, the primary cause of data loss is ''you''! Users sometimes get confused and end up deleting the wrong partition, or just forget to backup their family photos and favorite music before they delete partitions. If at any point during this process you get confused or concerned, '''STOP and ask for help'''. The best place for this is the [http://ubuntuforums.org Ubuntu Forums]. | |||
This guide is designed primarily for users who have a dual boot that now want to fully escape Windows and go purely Ubuntu. | |||
=== | == Using the LiveCD to Remove the Windows Partition == | ||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=cd.png There are other partition editors available, but [[UbuntuHelp:GParted|GParted]] is this documentor's favorite and is already available to you if you have an Ubuntu [[UbuntuHelp:LiveCD|LiveCD]]. You can also use the [http://gparted.sourceforge.net/ GParted LiveCD]. | |||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconNote.png Please note that although you can install [[UbuntuHelp:GParted|GParted]] inside your Ubuntu installation, you will be unable to resize your root partition without a [[UbuntuHelp:LiveCD|LiveCD]] since you cannot change a partition that is mounted. | |||
=== Boot the Disc === | |||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconCDrom.png Place the [[UbuntuHelp:LiveCD|LiveCD]] into your CD/DVD drive, and reboot the computer. Each computer is different, but you may need to change your BIOS to have the system boot from the CD drive before the hard disk. Refer to your computer manufacturer's documentation for this. | |||
=== Run GParted and Locate Windows === | |||
==== | https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=navigate.png On the Ubuntu [[UbuntuHelp:LiveCD|LiveCD]], go to System->Administration->Partition Editor. If you have more than one hard drive on your computer, choose the correct device from the drop down box in the upper right hand corner of the window. Your windows partition will most likely be formatted as NTFS and have a boot flag, which makes it easy to locate. Again, if you are unsure, don't delete it! | ||
=== Deleting the Windows Partition === | |||
. | Select the correct partition, either from the bar graph representation of your disk, or from the list. Now if you are sure that you want to proceed, press the Delete button at the top with the trash can icon, or right click the partition from the list and choose Delete. When you are finished, click the Apply button. | ||
==== | You will now be asked if you are sure you want to apply the pending operations. After reading the suggestion, click Apply. | ||
=== Use the Newly Freed Space === | |||
==== | Now that you have a section of unallocated space, you can either format it as the filesystem type of your choice to use as a data partition (or something else), or you can resize an adjacent partition to use this space. | ||
==== Resizing an Existing Partition ==== | |||
Right click the partition that you want to expand into the empty space and select Resize/Move. You can use either the number sizing, or you can graphically drag the arrows on the visualization into the empty space (the numbers will adjust automatically). When you are finished, click the Resize/Move button, then Apply in the [[UbuntuHelp:GParted|GParted]] window. Again, read the prompt and click Apply. The operation may take awhile, depending on the size of the partition - '''DO NOT interrupt this process''', or you risk losing everything on the partition you are resizing. | |||
==== Creating a New Partition ==== | |||
If you choose to simply use the newly freed space as a new partition, select the unallocated space and click the New button (or right click). Choose which filesystem you want, then click Add, then Apply, and Apply again. | |||
Since you are not using Windows on this system anymore, ext3 is probably the best choice for your new filesystem. If you plan on sharing this drive with Windows (maybe you have Windows on another drive on this computer), NTFS or FAT32 may be easier to share with. | |||
== Reboot == | |||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconBoot.png You can now reboot your system - go to System->Quit->Restart. Don't forget to take out the [[UbuntuHelp:LiveCD|LiveCD]] at the beginning of the boot sequence since you can't remove it while the disc is being used and you don't want to load it again. | |||
== Further Operations == | |||
=== Edit GRUB === | |||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconDevelopment.png Once back in your install, you will probably want to remove Windows from your GRUB menu. Using root privileges and your favorite text editor, open /boot/grub/menu.lst | |||
In Ubuntu, run: | |||
<pre><nowiki> | |||
gksudo gedit /boot/grub/menu.lst | |||
</nowiki></pre> | |||
In Kubuntu, run: | |||
<pre><nowiki> | |||
kdesu kate /boot/grub/menu.lst | |||
</nowiki></pre> | |||
Or for a terminal interface, run: | |||
<pre><nowiki> | |||
sudo nano /boot/grub/menu.lst | |||
</nowiki></pre> | |||
Now scroll down into the file to where it says something similar to | |||
<pre><nowiki> | |||
# This is a divider, added to separate the menu items below from the Debian | |||
You | # ones. | ||
[[ | title Other operating systems: | ||
root | |||
# This entry automatically added by the Debian installer for a non-linux OS | |||
# on /dev/sda1 | |||
title Microsoft Windows XP Professional | |||
root (hd0,0) | |||
savedefault | |||
makeactive | |||
chainloader +1 | |||
</nowiki></pre> | |||
You can place a # in front of each line to "comment out" these entries. If you are comfortable with deleting the entries, you can also do that. After you you save and close, these entries will no longer be available at the GRUB menu. | |||
=== Edit /etc/fstab === | |||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconDevelopment.png If you made a data partition, you can have it automatically mount by adding the correct entry to fstab, which you can edit using root privileges. | |||
In Ubuntu, run: | |||
<pre><nowiki> | |||
gksudo gedit /etc/fstab | |||
</nowiki></pre> | |||
In Kubuntu, run: | |||
<pre><nowiki> | |||
kdesu kate /etc/fstab | |||
</nowiki></pre> | |||
Or for a terminal interface, run: | |||
<pre><nowiki> | |||
sudo nano /etc/fstab | |||
</nowiki></pre> | |||
You may also need to change UUIDs in your fstab file if they changed (perhaps due to partition resizing). To see the UUIDs for your partitions, run one of these two commands: | |||
<pre><nowiki> | |||
sudo blkid | |||
sudo ls -l /dev/disk/by-uuid | |||
</nowiki></pre> | |||
For more information regarding fstab, see [[UbuntuHelp:Fstab|Fstab]]. | |||
== Other Resources == | |||
https://help.ubuntu.com/community/IconsPage?action=AttachFile&do=get&target=IconBook-small.png | |||
* [[UbuntuHelp:LiveCD|LiveCD]] | |||
* [[UbuntuHelp:Fstab|Fstab]] | |||
* [[UbuntuHelp:HowtoPartition|HowtoPartition]] | |||
---- | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2010年5月19日 (三) 22:44的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/HowToRemoveWindows }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/af | • {{#if: UbuntuHelp:HowToRemoveWindows|Afrikaans| [[::HowToRemoveWindows/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/ar | • {{#if: UbuntuHelp:HowToRemoveWindows|العربية| [[::HowToRemoveWindows/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/az | • {{#if: UbuntuHelp:HowToRemoveWindows|azərbaycanca| [[::HowToRemoveWindows/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/bcc | • {{#if: UbuntuHelp:HowToRemoveWindows|جهلسری بلوچی| [[::HowToRemoveWindows/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/bg | • {{#if: UbuntuHelp:HowToRemoveWindows|български| [[::HowToRemoveWindows/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/br | • {{#if: UbuntuHelp:HowToRemoveWindows|brezhoneg| [[::HowToRemoveWindows/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/ca | • {{#if: UbuntuHelp:HowToRemoveWindows|català| [[::HowToRemoveWindows/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/cs | • {{#if: UbuntuHelp:HowToRemoveWindows|čeština| [[::HowToRemoveWindows/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/de | • {{#if: UbuntuHelp:HowToRemoveWindows|Deutsch| [[::HowToRemoveWindows/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/el | • {{#if: UbuntuHelp:HowToRemoveWindows|Ελληνικά| [[::HowToRemoveWindows/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/es | • {{#if: UbuntuHelp:HowToRemoveWindows|español| [[::HowToRemoveWindows/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/fa | • {{#if: UbuntuHelp:HowToRemoveWindows|فارسی| [[::HowToRemoveWindows/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/fi | • {{#if: UbuntuHelp:HowToRemoveWindows|suomi| [[::HowToRemoveWindows/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/fr | • {{#if: UbuntuHelp:HowToRemoveWindows|français| [[::HowToRemoveWindows/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/gu | • {{#if: UbuntuHelp:HowToRemoveWindows|ગુજરાતી| [[::HowToRemoveWindows/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/he | • {{#if: UbuntuHelp:HowToRemoveWindows|עברית| [[::HowToRemoveWindows/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/hu | • {{#if: UbuntuHelp:HowToRemoveWindows|magyar| [[::HowToRemoveWindows/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/id | • {{#if: UbuntuHelp:HowToRemoveWindows|Bahasa Indonesia| [[::HowToRemoveWindows/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/it | • {{#if: UbuntuHelp:HowToRemoveWindows|italiano| [[::HowToRemoveWindows/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/ja | • {{#if: UbuntuHelp:HowToRemoveWindows|日本語| [[::HowToRemoveWindows/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/ko | • {{#if: UbuntuHelp:HowToRemoveWindows|한국어| [[::HowToRemoveWindows/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/ksh | • {{#if: UbuntuHelp:HowToRemoveWindows|Ripoarisch| [[::HowToRemoveWindows/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/mr | • {{#if: UbuntuHelp:HowToRemoveWindows|मराठी| [[::HowToRemoveWindows/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/ms | • {{#if: UbuntuHelp:HowToRemoveWindows|Bahasa Melayu| [[::HowToRemoveWindows/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/nl | • {{#if: UbuntuHelp:HowToRemoveWindows|Nederlands| [[::HowToRemoveWindows/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/no | • {{#if: UbuntuHelp:HowToRemoveWindows|norsk| [[::HowToRemoveWindows/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/oc | • {{#if: UbuntuHelp:HowToRemoveWindows|occitan| [[::HowToRemoveWindows/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/pl | • {{#if: UbuntuHelp:HowToRemoveWindows|polski| [[::HowToRemoveWindows/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/pt | • {{#if: UbuntuHelp:HowToRemoveWindows|português| [[::HowToRemoveWindows/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/ro | • {{#if: UbuntuHelp:HowToRemoveWindows|română| [[::HowToRemoveWindows/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/ru | • {{#if: UbuntuHelp:HowToRemoveWindows|русский| [[::HowToRemoveWindows/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/si | • {{#if: UbuntuHelp:HowToRemoveWindows|සිංහල| [[::HowToRemoveWindows/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/sq | • {{#if: UbuntuHelp:HowToRemoveWindows|shqip| [[::HowToRemoveWindows/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/sr | • {{#if: UbuntuHelp:HowToRemoveWindows|српски / srpski| [[::HowToRemoveWindows/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/sv | • {{#if: UbuntuHelp:HowToRemoveWindows|svenska| [[::HowToRemoveWindows/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/th | • {{#if: UbuntuHelp:HowToRemoveWindows|ไทย| [[::HowToRemoveWindows/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/tr | • {{#if: UbuntuHelp:HowToRemoveWindows|Türkçe| [[::HowToRemoveWindows/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/vi | • {{#if: UbuntuHelp:HowToRemoveWindows|Tiếng Việt| [[::HowToRemoveWindows/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/yue | • {{#if: UbuntuHelp:HowToRemoveWindows|粵語| [[::HowToRemoveWindows/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/zh | • {{#if: UbuntuHelp:HowToRemoveWindows|中文| [[::HowToRemoveWindows/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/zh-hans | • {{#if: UbuntuHelp:HowToRemoveWindows|中文(简体)| [[::HowToRemoveWindows/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:HowToRemoveWindows | UbuntuHelp:HowToRemoveWindows | {{#if: | :}}HowToRemoveWindows}}/zh-hant | • {{#if: UbuntuHelp:HowToRemoveWindows|中文(繁體)| [[::HowToRemoveWindows/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:HowToRemoveWindows|:HowToRemoveWindows|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :HowToRemoveWindows/zh | | {{#ifexist: HowToRemoveWindows/zh | | {{#ifeq: {{#titleparts:HowToRemoveWindows|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:HowToRemoveWindows|1|-1|}} | zh | | }}
Before you Start
Before you start fiddling with your partitions, you should make sure that you have ALL IMPORTANT data backed up, preferably on a secondary hard drive (internal or external), a USB flash drive, or a CD-R or DVD-R. Although it is not common for problems to happen during the partitioning process, it is still possible. Actually, the primary cause of data loss is you! Users sometimes get confused and end up deleting the wrong partition, or just forget to backup their family photos and favorite music before they delete partitions. If at any point during this process you get confused or concerned, STOP and ask for help. The best place for this is the Ubuntu Forums. This guide is designed primarily for users who have a dual boot that now want to fully escape Windows and go purely Ubuntu.
Using the LiveCD to Remove the Windows Partition
There are other partition editors available, but GParted is this documentor's favorite and is already available to you if you have an Ubuntu LiveCD. You can also use the GParted LiveCD. Please note that although you can install GParted inside your Ubuntu installation, you will be unable to resize your root partition without a LiveCD since you cannot change a partition that is mounted.
Boot the Disc
Place the LiveCD into your CD/DVD drive, and reboot the computer. Each computer is different, but you may need to change your BIOS to have the system boot from the CD drive before the hard disk. Refer to your computer manufacturer's documentation for this.
Run GParted and Locate Windows
On the Ubuntu LiveCD, go to System->Administration->Partition Editor. If you have more than one hard drive on your computer, choose the correct device from the drop down box in the upper right hand corner of the window. Your windows partition will most likely be formatted as NTFS and have a boot flag, which makes it easy to locate. Again, if you are unsure, don't delete it!
Deleting the Windows Partition
Select the correct partition, either from the bar graph representation of your disk, or from the list. Now if you are sure that you want to proceed, press the Delete button at the top with the trash can icon, or right click the partition from the list and choose Delete. When you are finished, click the Apply button. You will now be asked if you are sure you want to apply the pending operations. After reading the suggestion, click Apply.
Use the Newly Freed Space
Now that you have a section of unallocated space, you can either format it as the filesystem type of your choice to use as a data partition (or something else), or you can resize an adjacent partition to use this space.
Resizing an Existing Partition
Right click the partition that you want to expand into the empty space and select Resize/Move. You can use either the number sizing, or you can graphically drag the arrows on the visualization into the empty space (the numbers will adjust automatically). When you are finished, click the Resize/Move button, then Apply in the GParted window. Again, read the prompt and click Apply. The operation may take awhile, depending on the size of the partition - DO NOT interrupt this process, or you risk losing everything on the partition you are resizing.
Creating a New Partition
If you choose to simply use the newly freed space as a new partition, select the unallocated space and click the New button (or right click). Choose which filesystem you want, then click Add, then Apply, and Apply again. Since you are not using Windows on this system anymore, ext3 is probably the best choice for your new filesystem. If you plan on sharing this drive with Windows (maybe you have Windows on another drive on this computer), NTFS or FAT32 may be easier to share with.
Reboot
You can now reboot your system - go to System->Quit->Restart. Don't forget to take out the LiveCD at the beginning of the boot sequence since you can't remove it while the disc is being used and you don't want to load it again.
Further Operations
Edit GRUB
Once back in your install, you will probably want to remove Windows from your GRUB menu. Using root privileges and your favorite text editor, open /boot/grub/menu.lst In Ubuntu, run:
gksudo gedit /boot/grub/menu.lst
In Kubuntu, run:
kdesu kate /boot/grub/menu.lst
Or for a terminal interface, run:
sudo nano /boot/grub/menu.lst
Now scroll down into the file to where it says something similar to
# This is a divider, added to separate the menu items below from the Debian # ones. title Other operating systems: root # This entry automatically added by the Debian installer for a non-linux OS # on /dev/sda1 title Microsoft Windows XP Professional root (hd0,0) savedefault makeactive chainloader +1
You can place a # in front of each line to "comment out" these entries. If you are comfortable with deleting the entries, you can also do that. After you you save and close, these entries will no longer be available at the GRUB menu.
Edit /etc/fstab
If you made a data partition, you can have it automatically mount by adding the correct entry to fstab, which you can edit using root privileges. In Ubuntu, run:
gksudo gedit /etc/fstab
In Kubuntu, run:
kdesu kate /etc/fstab
Or for a terminal interface, run:
sudo nano /etc/fstab
You may also need to change UUIDs in your fstab file if they changed (perhaps due to partition resizing). To see the UUIDs for your partitions, run one of these two commands:
sudo blkid sudo ls -l /dev/disk/by-uuid
For more information regarding fstab, see Fstab.
Other Resources