Results 1 to 4 of 4
Hello everyone !
I have three partitions in my disk (Ubuntu, Debian, and Home).
When booting from Ubuntu I can perfectly get access to Debian partition and home partition. But ...
- 03-23-2010 #1Just Joined!
- Join Date
- Mar 2010
- Location
- Philippines
- Posts
- 7
Cannot mount volume
Hello everyone !

I have three partitions in my disk (Ubuntu, Debian, and Home).
When booting from Ubuntu I can perfectly get access to Debian partition and home partition. But when I try to access Ubuntu or home partition from Debian I receive this message: "Cannot mount volume. You are not privileged to mount this volume."
Can somebody out there help me to find the solution to this problem?
Thanks!
- 03-23-2010 #2Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 1,939
You need to first create a mount point (directory) in Ubuntu as root user: mkdir /mnt/debian
then you need to mount it using the mount command, also as root., Example:
mount -t ext3 /dev/sdX /mnt/debian
If you do not use "ext3" type filesystem you will need to change that and the "sdX" will need to be replaced with whatever partition Debian is on.
- 03-23-2010 #3Did you gain root privileges?When booting from Ubuntu I can perfectly get access to Debian partition and home partition. But when I try to access Ubuntu or home partition from Debian I receive this message: "Cannot mount volume. You are not privileged to mount this volume."
Execute su - command and then mount partition.
You will have read only access in /media/ubuntu. You have to give ownership of /media/ubuntu to Regular User for write access.Code:su - mkdir /media/ubuntu mount -t ext3 /dev/<partition> /media/ubuntu cd /media/ubuntu ls
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-24-2010 #4
You can use the "user" option in /etc/fstab under Debian to enable userspace mounting of the filesystems, e.g.
/dev/sda2 /mnt/ubuntu auto rw,noauto,user 0 0
As devils casper sort of alludes to, your privileges on the mounted filesystem will depend on file ownerships and modes. If you make sure your UID in /etc/password is the same for your user in both Ubuntu and Debian, you'll have the same privileges in Debian on the Ubuntu stuff as you do in Ubuntu. That takes some forethought; if you just change a UID willy nilly you'll break the file ownerships of the old UID.


Reply With Quote