Gparted is a graphical tool to edit disk partitions.
Install the gparted package (see Chapter 2, Adding, Removing and Updating Applications).
You can run the application with
-> -> .Windows and other partitions should be automatically available from any Ubuntu system. If they are not, you can enable them using the graphical disks tool.
Open
-> ->Select the correct hard disk, and click the Partitions tab.
Select the relevant partition, and click Enable.
To unmount the partition, click Disable.
Again, Windows and other partitions should be automatically available from Ubuntu. If they are not, the following procedure will make them automatically available:
Read the section called “Check disk space usage and view the partition table”
First make a directory where the partition can be made available ("mounted"):
sudo mkdir /media/windows
Next, backup your disk configuration file and open the file in a text editor with administrative privileges:
sudo cp /etc/fstab /etc/fstab_backup gksudo gedit /etc/fstab
Append the following line at the end of file:
/dev/hda1 /media/windows ntfs umask=0222 0 0
![]() |
|
Replace /dev/hda1 with the correct device name for your partition. If your Windows partition uses the FAT32 filesystem, replace ntfs with vfat in the above command. If you have a FAT32 filesystem, it is also safe to allow read-write access. To do this, change the value of umask to 0000. |
Save the edited file (an example)
The changes will take effect when the computer is restarted.
Sometimes it can be useful to add a custom command to the startup process so that your computer executes it on every boot. To do this:
Edit the crontab with administrative privileges (see the section called “Root And Sudo”):
sudo crontab -e
Insert the following line:
@reboot /home/user/command
![]() |
|
Replace |
Save the file and exit.
To change the Operating System which starts by default when booting, it is necessary to edit the configuration file for booting.
Make a backup of your boot configuration file, and open it in a text editor:
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup gksudo gedit /boot/grub/menu.lst
Find this line:
... default 0 ...
Replace with the following line:
default X_sequence
Save the edited file (an example)
This requires administrative privileges (see the section called “Root And Sudo”).
Run Services Settings: -> -> .
Enter your password.
Tick/untick the services you want running, then click OK when done.
For greater control over the boot-up services, install the bum from the Universe repository (see Chapter 2, Adding, Removing and Updating Applications) and run it: -> -> .