I have ubuntu 12.04 running on my system. I repartitioned my hard disk yesterday, I have an empty 40GiB partiton.
Can I mount it at say /data-part
? How do I do this ?
I have formatted it as ext4
.
I have ubuntu 12.04 running on my system. I repartitioned my hard disk yesterday, I have an empty 40GiB partiton.
Can I mount it at say /data-part
? How do I do this ?
I have formatted it as ext4
.
=== EDIT STARTS ===
I am assuming you want it to be mounted every time you boot, if what you want is to mount it one time:
should do the trick.
=== EDIT ENDS ===
Sure you can. First you need to know device file of the partition you need to mount (it should be something like sda* in most cases). If you don't know, install and run gparted and find out device file of the partition.
Once you find the device file, fire up your favorite editor from terminal (assuming device file you want to mount is /dev/sdaX, replace accordingly):
When editor opens, go to the bottom of the file and add a line like:
And then, all you need to do is to create a directory at mount point:
After your next reboot, partition should be mounted at the mount point automatically.
Try running these commands:
This will do the trick.