Saturday, July 2, 2011

Resizing partitions, auto-mount, and granting access to the new partition

INSTALLING THE STORAGE DEVICE MANAGER
1. In Ubuntu, install the Storage Device Manager
sudo apt-get install pysdm

I'll use this to make life easier configuring to automount the new partition during boot time, instead of the fstab thingy.

CREATING THE NEW PARTITION
1. Download Parted Magic and burn it to CD or USB.
For my purposes, I installed parted magic in a USB using the Universal USB Installer in www.pendrivelinux.com.
2. Boot the computer from the USB.
3. Proceed to resize the partition.
4. Create the new partition from the reclaimed unused space. I made an ext2 partition.
5. Log off parted magic, shutdown computer, and start up Ubuntu.

FINAL TOUCHES
1. Start up System - Administration - Storage Device Manager
2. Select the new partition, and click on the Assistant button.
3. Put a check on The file system is mounted at boot time.
Note also the mount point name of your new partition. You will need it for the last step below.
4. Restart Ubuntu.
5. In a terminal window,
sudo chown lavezarez:lavezarez /media/mydata
where you replace lavezarez with your own user name, and mydata with the mount point name of your new partition.

No comments:

Post a Comment