Added 2nd HDD, created new mount point for /mnt/datanew, get you are not the owner
Posted
by
user212383
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user212383
Published on 2013-11-07T15:35:02Z
Indexed on
2013/11/07
16:12 UTC
Read the original article
Hit count: 204
partitioning
|mountpoint
I am completely new to Linux and have been asked to extend a VM running Ubuntu, I thought I would test this first so have just installed it in a test VM, I added the 2nd hard drive and used Gparted to format it with ext4 so I now have a drive called /dev/sdb1
I then created a new directory called mnt/datanew
I then mounted that using the below command
sudo mount -t ext4 /dev/sdb1 /mnt/datanew
I thought I was doing well until when I went into home folder / file system mnt / datanew I noticed I couldn't create a new folder etc, I check the properties and it said I don't have permission as its all root
How do I change this, I need to create some data and then test extending the partition as I want to see if it has any impact.
© Ask Ubuntu or respective owner