Results 1 to 8 of 8

Thread: External Harddrive - Videos

  1. #1
    Join Date
    Oct 2007
    Location
    Calgary, AB
    Beans
    57
    Distro
    Ubuntu 9.10 Karmic Koala

    Question External Harddrive - Videos

    I am running into an issue where mythtv can't see the external harddrive after restart.

    I can go into media settings and direct the videos folder to my external harddrive at /media/USB-HDD/videos/ and then go to the video manager and find all the videos (go through the imdb tagging etc) and have no problem watching the videos. However, once I restart the computer, myth tv can not find the videos anymore and I need to remove the harddrive and replug it in for mythtv to find it. The harddrive is always accessible to the file manager through the desktop though and always maintains the same /media/USB-HDD/ location.

    Any help would be great.

    kyfehr
    Asus M2NPV-VM - Gefore 6150 - 2 GB Ram
    Huappauge 150 - Huappauge 500 - Mythbuntu 8.40

  2. #2
    Join Date
    Oct 2005
    Location
    Austin, TX
    Beans
    2,983
    Distro
    Ubuntu Development Release

    Re: External Harddrive - Videos

    Quote Originally Posted by kyfehr View Post
    I am running into an issue where mythtv can't see the external harddrive after restart.

    I can go into media settings and direct the videos folder to my external harddrive at /media/USB-HDD/videos/ and then go to the video manager and find all the videos (go through the imdb tagging etc) and have no problem watching the videos. However, once I restart the computer, myth tv can not find the videos anymore and I need to remove the harddrive and replug it in for mythtv to find it. The harddrive is always accessible to the file manager through the desktop though and always maintains the same /media/USB-HDD/ location.

    Any help would be great.

    kyfehr
    I would recommend making a symlink in your normal videos directory to this /media/USB-HDD location. It would appear that it doesn't mount until the system is started up, causing the issues I believe.

  3. #3
    Join Date
    Oct 2007
    Location
    Calgary, AB
    Beans
    57
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: External Harddrive - Videos

    how exactly do you setup a symlink?
    Asus M2NPV-VM - Gefore 6150 - 2 GB Ram
    Huappauge 150 - Huappauge 500 - Mythbuntu 8.40

  4. #4
    Join Date
    Oct 2005
    Location
    Austin, TX
    Beans
    2,983
    Distro
    Ubuntu Development Release

    Re: External Harddrive - Videos

    Quote Originally Posted by kyfehr View Post
    how exactly do you setup a symlink?
    Code:
    ln -s FROM TO
    So lets say we have this structure:
    Code:
    :~/Software/iso_images$ ls
    mythbuntu-7.10-i386.iso  ubuntu-7.04-desktop-i386.iso  ubuntu-7.10-desktop-i386.iso
    We can do a symbolic link like this:
    Code:
    ~$ ln -s  /home/supermario/Software/iso_images/mythbuntu-7.10-i386.iso /home/blah.iso
    We do that and then look at ~

    Code:
    ~$ ls -l ~ | grep *.iso
    blah.iso

  5. #5
    Join Date
    Jul 2005
    Location
    Richmond, VA, USA
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: External Harddrive - Videos

    I ran into this problem tonight after adding a new 500GB usb drive. A symlink won't fix it as the mountpoint /media/USB-HDD doesn't exist until you click on the volume in the left side of thunar. I've played with the thunar preferences drive management and no luck.

  6. #6
    Join Date
    Jul 2005
    Location
    Richmond, VA, USA
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: External Harddrive - Videos

    I worked around the problem by defining the drive in /etc/fstab, unchecking the option in thunar preferences to manage drives, and making a single line script with "mount /dev/sdb1" and set it to autostart through the xubuntu menu -> settings -> autostarted applications.

  7. #7
    Join Date
    Oct 2007
    Location
    Calgary, AB
    Beans
    57
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: External Harddrive - Videos

    srt4play,

    how did you edit the fstab.. I am not sure what info to put in there or how to find out the right info for my external drive.

    Thanks.
    Asus M2NPV-VM - Gefore 6150 - 2 GB Ram
    Huappauge 150 - Huappauge 500 - Mythbuntu 8.40

  8. #8
    Join Date
    Jul 2005
    Location
    Richmond, VA, USA
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: External Harddrive - Videos

    With the drive mounted (can see files on it in file manager), open a terminal and type:

    Code:
    mount
    Look for the line referencing your usb drive, mine said:

    Code:
    /dev/sdb1 on /media/disk
    Create a different mountpoint for the drive, not sure if you have to do this but I didn't want it to conflict with the automounting system, I made mine /video :

    Code:
    sudo mkdir /video
    Edit /etc/fstab:

    Code:
    sudo nano /etc/fstab
    Add this line at the bottom:

    Code:
    /dev/xxx#    /video    ext3    defaults,user,auto   0    0
    Replace /dev/xxx# with the correct device name for your drive, and replace /video with whatever mountpoint you created for it.

    At this point I expected for everything to be ok after a reboot, but the drive still didn't automatically mount. So I created a script on the desktop that contained this:

    Code:
    #!/bin/bash
    mount /dev/sdb1
    Then used the system settings menu to set it to execute on login.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •