how search for videos and films in the dash from a different location

Asked by Tonyt

Using 12.10 for my media center ,but like to be able to access from 2 different drive installed in the pc

There are 2 extra drives ,have a 1 drive which contains videos/flims and another which as music would like be able to access them from the music and video dash panels as at the moment only the video and music folders from the home folder show up there ..plus would like choice of player too as got rhymbox as default and if poss automount the drives too

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You could mount the partitions and symlink the mount points to the Music and Movies folder respectively.

Revision history for this message
Tonyt (tonys666) said :
#2

thanks for the info ,so how do i mount the drives as the pc boots is some
thing never done before .never come across symlink too

so what the procedure to set all that up

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You can add the mounting in /etc/fstab

You should use UUIDs as these don't change. You can see the UUIDs if you run:

sudo blkid

Revision history for this message
Tonyt (tonys666) said :
#4

thanks got the drives to auto mount

Just stuck on the symlinks what is the correct input for the terminal

ln -s / name of the drive or number unsure ? /trooper2/mymedia /home/trooper2/videos or this the correct line to input? not sure

would be gratefull tell me what put there thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

You don't mount drives, you mount partitions. Even if the partition uses 100% of the available space you still mount the partition. What mount points have you used for each storage?

Revision history for this message
Tonyt (tonys666) said :
#6

the mount points i have being trying to use are dev/sdb1 and dev/sdc1 using the full drives/full partitons

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Those arent mount points. Those are block devices. Those need mounting to then access the data

Revision history for this message
Tonyt (tonys666) said :
#8

thanks, so if there not mounting points .where go i start .think need hepl please

so got two hard drive one with music and one with videos which to link with matching folders in the home folder ie music hhd to music home , so where do i find the mounting points which i need .
 do use folders as mounting points ? do i have group say all the music for example in one folder to link as the folders are individually on the drives
have look at various internet links but confusing myself

if you could please tell what to do ,what to input .please

going from secondary hard flies to a home folder to access dash panel so can access music and videos there

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

What is the output of :

sudo fdisk -l; lsb_release -a; uname -a

Thanks

Revision history for this message
Tonyt (tonys666) said :
#10

Info output

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00020b64

   Device Boot Start End Blocks Id System
/dev/sda1 * 2048 471625727 235811840 83 Linux
/dev/sda2 471627774 488396799 8384513 5 Extended
/dev/sda5 471627776 488396799 8384512 82 Linux swap / Solaris

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00064ebd

   Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 1953521663 976759808 6 FAT16

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x974bec54

   Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 3907026943 1953512448 7 HPFS/NTFS/exFAT
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
Linux trooper2-System-Product-Name 3.2.0-39-generic #62-Ubuntu SMP Thu Feb 28 00:28:53 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
trooper2@trooper2-System-Product-Name:~$

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

ok and the output of:

sudo blkid

had to be crappy NTFS didn't it *sigh*

Revision history for this message
Tonyt (tonys666) said :
#12

sorry the about ntfs stuff was on drive all ready

output
/dev/sda1: UUID="865914c6-0752-4563-8c14-9a6fa20c8922" TYPE="ext4"
/dev/sda5: UUID="5510a039-24ef-4fad-ad56-9c1c329a4677" TYPE="swap"
/dev/sdb1: LABEL="mymedia" UUID="2e68f8ad-6050-459f-990a-c49142c33d26" TYPE="ext4"
/dev/sdc1: LABEL="MyMusic1" UUID="B6BC6E0CBC6DC787" TYPE="ntfs"
/dev/zram0: UUID="32946aa7-cd76-41af-8988-de6fad403445" TYPE="swap"
trooper2@trooper2-System-Product-Name:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#13

ok, and the output of:

mount; cat /etc/fstab

Thanks

Revision history for this message
Tonyt (tonys666) said :
#14

Input info

/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/trooper2/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=trooper2)
/dev/sdb1 on /media/mymedia type ext4 (rw,nosuid,nodev,uhelper=udisks)
/dev/sdc1 on /media/MyMusic1 type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=865914c6-0752-4563-8c14-9a6fa20c8922 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=5510a039-24ef-4fad-ad56-9c1c329a4677 none swap sw 0 0
trooper2@trooper2-System-Product-Name:~$

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#15

sudo mkdir /mnt/mymedia
sudo mkdir /mnt/MyMusic1
sudo cp /etc/fstab /etc/fstab26032013
gksudo gedit /etc/fstab

You can now add these 2 lines:

UUID=2e68f8ad-6050-459f-990a-c49142c33d26 /mnt/mymedia ext4 errors=remount-ro 0 1
UUID=B6BC6E0CBC6DC787 /mnt/MyMusic1 ntfs-3g defaults 0 1

Save the new file and reboot

Revision history for this message
Tonyt (tonys666) said :
#16

hi did as you said

drives not auto loading anymore and no access the drives folders in the dash and drives still no long showing in home menu when access from laucher

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#17

But if you run:

mount

What is output?

Thanks

Revision history for this message
Tonyt (tonys666) said :
#18

/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sdc1 on /mnt/MyMusic1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sdb1 on /mnt/mymedia type ext4 (rw,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/trooper2/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=trooper2)

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#19

Then they just need symlinking in

ln -s /mnt/MyMusic1 ~/Music/MyMusic1
ln -s /mnt/mymedia ~/Videoa/mymedia

Something like that........

Revision history for this message
Tonyt (tonys666) said :
#20

drives still not mounting and still not able access from folder via launcher ,only access drives now from filew system and uable change mymusic1 from root to trooper2 as use plus not geting symlinks to work no change

Thanks

Revision history for this message
Tonyt (tonys666) said :
#21

thanks for help and bit of sorting got it to work

Thanks

Revision history for this message
Tonyt (tonys666) said :
#22

Thanks actionparsnip, that solved my question.