partitioning - Enabling write access to partition - Ask Ubuntu


i have formatted partition in ubuntu 14.04 lts running system large chunk of disk space allocated it. not mount default when computer starts up, , not writable either. it's pretty annoying can't use it. so, how enable write access me, sole user?

the output of df -t command returns following details:

filesystem     type     1k-blocks     used available use% mounted on` /dev/sda3      ext4     503834856    71520 478146904   1% /media/deependra/e4da4ac5-3b38-4b89-9402-397eb940e4d3 

also, how enable partition auto-mount on starting system?

partitions mount @ boot if specified in file /etc/fstab , can set mount options here ensure writable.

the ubuntu wiki has a page fstab , can see tag wiki

first, make mount point partition in /media, example,

sudo mkdir /media/storage 

then make backup of fstab

sudo cp /etc/fstab /etc/fstab-bak 

then uuid of partition mounted. since know partition want /dev/sda3 can grep it

sudo blkid | grep sda3 

the output like:

/dev/sda3: uuid="4ee1bbce-9d64-44b6-821b-511e06a804e0" type="ext4" partuuid="482d7ecc-43f2-4c1b-985d-21b42999ed84" 

copy long string after uuid between "quotes", listing, in case 4ee1bbce-9d64-44b6-821b-511e06a804e0 copy.

now open /etc/fstab editing in favourite text editor, using sudo, example

sudo nano /etc/fstab 

at end of file, make new entry using uuid string copied, mount point made earlier, filesystem type, mount options , 0 0 @ end, example:

uuid=4ee1bbce-9d64-44b6-821b-511e06a804e0 /media/storage ext4 defaults 0 0 

everything must in right order , separated spaces. defaults mount ext4 partition writable. if want add more mount options, should separated commas , no spaces (see documentation)


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User