resize and move partition/filesyste, using gparted and UUID

it is not difficult to resize and move partition. I booted up using USB ubuntn. and fired up gparted.  after done resize/move. it is important to mount filesystem containing /etc/fstab to update UUID in this file.

UUID in /etc/fstab eg

UUID=baa85a80-ca5c-48e7-a6bf-df64652750a0 /data        ext4    defaults        1 2
UUID=22d08735-23c2-4cc1-a874-d6845a8619a5 /data1      ext4    defaults        1 2
#UUID=22d08735-23c2-4cc1-a874-d6845a8619a5 /data     ext4    defaults        1 2
UUID=84b7f553-cd97-4ffc-bc76-efca3b1075e7 /       ext3    defaults        1 1
UUID=25b33da2-8d3a-4900-9da9-6f1b18da0eef /home      ext4    defaults        1 2
UUID=a8af51e3-c8e6-417d-8038-b5b4b10a2ce4 swap       swap    defaults        0 0

ls -l /dev/disk/by-uuid/

sudo vol_id /dev/sda1

blkid /dev/sda1

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s