how search for videos and films in the dash from a different location
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
![]() |
#1 |
You could mount the partitions and symlink the mount points to the Music and Movies folder respectively.
Revision history for this message
![]() |
#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
![]() |
#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
![]() |
#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/
would be gratefull tell me what put there thanks
Revision history for this message
![]() |
#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
![]() |
#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
![]() |
#7 |
Those arent mount points. Those are block devices. Those need mounting to then access the data
Revision history for this message
![]() |
#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
![]() |
#9 |
What is the output of :
sudo fdisk -l; lsb_release -a; uname -a
Thanks
Revision history for this message
![]() |
#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-
trooper2@
Thanks
Revision history for this message
![]() |
#11 |
ok and the output of:
sudo blkid
had to be crappy NTFS didn't it *sigh*
Revision history for this message
![]() |
#12 |
sorry the about ntfs stuff was on drive all ready
output
/dev/sda1: UUID="865914c6-
/dev/sda5: UUID="5510a039-
/dev/sdb1: LABEL="mymedia" UUID="2e68f8ad-
/dev/sdc1: LABEL="MyMusic1" UUID="B6BC6E0CB
/dev/zram0: UUID="32946aa7-
trooper2@
Revision history for this message
![]() |
#13 |
ok, and the output of:
mount; cat /etc/fstab
Thanks
Revision history for this message
![]() |
#14 |
Input info
/dev/sda1 on / type ext4 (rw,errors=
proc on /proc type proc (rw,noexec,
sysfs on /sys type sysfs (rw,noexec,
none on /sys/fs/
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,
tmpfs on /run type tmpfs (rw,noexec,
none on /run/lock type tmpfs (rw,noexec,
none on /run/shm type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/
gvfs-fuse-daemon on /home/trooper2/
/dev/sdb1 on /media/mymedia type ext4 (rw,nosuid,
/dev/sdc1 on /media/MyMusic1 type fuseblk (rw,nosuid,
# /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-
# swap was on /dev/sda5 during installation
UUID=5510a039-
trooper2@
Thanks
Revision history for this message
![]() |
#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-
UUID=B6BC6E0CBC
Save the new file and reboot
Revision history for this message
![]() |
#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
![]() |
#17 |
But if you run:
mount
What is output?
Thanks
Revision history for this message
![]() |
#18 |
/dev/sda1 on / type ext4 (rw,errors=
proc on /proc type proc (rw,noexec,
sysfs on /sys type sysfs (rw,noexec,
none on /sys/fs/
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,
tmpfs on /run type tmpfs (rw,noexec,
none on /run/lock type tmpfs (rw,noexec,
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sdc1 on /mnt/MyMusic1 type fuseblk (rw,nosuid,
/dev/sdb1 on /mnt/mymedia type ext4 (rw,errors=
binfmt_misc on /proc/sys/
gvfs-fuse-daemon on /home/trooper2/
Revision history for this message
![]() |
#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
![]() |
#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
![]() |
#21 |
thanks for help and bit of sorting got it to work
Thanks
Revision history for this message
![]() |
#22 |
Thanks actionparsnip, that solved my question.