How come I can't see my other partitions when I'm using Xubuntu? I want to play some music through Rythmbox (which I actually still need to install, come to think of it), but I can't even see my other partitions let alone mount them Any ideas?
It should list all sata drives and their partitions. For example mine outputs:
$ ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 Apr 11 20:20 /dev/sda
brw-rw---- 1 root disk 8, 1 Apr 11 20:20 /dev/sda1
brw-rw---- 1 root disk 8, 2 Apr 11 20:20 /dev/sda2
brw-rw---- 1 root disk 8, 3 Apr 11 20:20 /dev/sda3
brw-rw---- 1 root disk 8, 4 Apr 11 20:20 /dev/sda4
brw-rw---- 1 root disk 8, 16 Apr 11 20:20 /dev/sdb
brw-rw---- 1 root disk 8, 17 Apr 11 20:20 /dev/sdb1
brw-rw---- 1 root disk 8, 32 Apr 11 20:20 /dev/sdc
brw-rw---- 1 root disk 8, 33 Apr 11 20:20 /dev/sdc1
brw-rw---- 1 root disk 8, 48 Apr 11 20:20 /dev/sdd
/dev contains all of your hardware devices (everything is a file).
/dev/sda refers to the whole hard drive.
/dev/sda[1-4] refer to the partitions.
If you can see them there then it's just a case of mounting them.
As root:
# mkdir /media/myMountPoint
# mount /dev/sdb1 /media/myMountPoint
# ls /media/myMountPoint
If you see your files then you've mounted the partition successfully. But only as root... you'll need to do some tidying up to allow users to do this.
This is the way I do it:
My user is in the group storage.
# gpasswd -a <username> storage
I created a mount point for my media at /media/myMountPoint and changed it's owner to root and it's group to storage. Then made it so that only it's owner and group could have read/write/execute on the directory.
^ THANKS! I guess I just need to know how to work around the Linux terminal a little better in order to do stuff. Thanks for the reply, it worked. Only problem is that I fucked up my partitioning and I have 9 partitions :facepalm: I found the correct one in the end though
^ THANKS! I guess I just need to know how to work around the Linux terminal a little better in order to do stuff. Thanks for the reply, it worked. Only problem is that I fucked up my partitioning and I have 9 partitions :facepalm: I found the correct one in the end though
Don't you have a drive utility manager in xbuntu like ubuntu and kbuntu?
Comments
It should list all sata drives and their partitions. For example mine outputs:
/dev contains all of your hardware devices (everything is a file).
/dev/sda refers to the whole hard drive.
/dev/sda[1-4] refer to the partitions.
If you can see them there then it's just a case of mounting them.
As root:
If you see your files then you've mounted the partition successfully. But only as root... you'll need to do some tidying up to allow users to do this.
This is the way I do it:
My user is in the group storage.
I created a mount point for my media at /media/myMountPoint and changed it's owner to root and it's group to storage. Then made it so that only it's owner and group could have read/write/execute on the directory.
Then add an entry into fstab to allow user mounting:
To mount this partition I can simply type (as a user in the storage group):
Simple.