Académique Documents
Professionnel Documents
Culture Documents
Contents
1. 2. 3. Before you Start OS-Uninstaller Graphical Tool Alternative: via gParted and GRUB update 1. Boot the Disc 2. Run GParted and Locate Windows 3. Deleting the Windows Partition 4. Use the Newly Freed Space 5. Further Operations 6. Reboot 4. Other Resources
have a boot flag, which makes it easy to locate. Again, if you are unsure, don't delete it! For more details on partitioning, see HowtoPartition and its subpages.
would also have involved copying and would have taken just as long), 4. reinstall GRUB2 to the new partition (see Grub2#Reinstalling GRUB2), and 5. boot into the new partition (see Reboot below) and make sure everything works as normal. Once you're satisfied that this operation succeeded, use GParted again to delete the old partition and to create a new one in its place, or to expand the new main partition, or to just leave the unused disk space as it is, to be used later.
Further Operations
Edit GRUB
Once back in your install, you will probably want to remove Windows from your GRUB2 menu. Using root privileges and your favorite text editor, open /boot/grub/grub.cfg In Ubuntu, run: gksudo gedit /boot/grub/grub.cfg In Kubuntu, run: k d Or for a terminal interface, run: e t a
/ s Now scroll down into the file to where it says something similar to #B D DA N E# E # I N # This is a divider, addedto separate themenu items below fromth e # o t i Debia n
# This entry automatically added by the Debian installer for a non-linux S O #e/ ov / s nd d t i r o s a m a ca h i 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: gdd /to eu kt s i In Kubuntu, run: k d Or for a terminal interface, run: s 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 su -l / For more information regarding fstab, see Fstab.
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 reload Ubuntu from it.