bob5731
Posts: 11
Joined: Mon Sep 02, 2019 8:19 pm

Add external hard drive

Fri Sep 13, 2019 6:10 am

How to add external hard drive?
Using tvheadend for raspberry pi.
Folder called TV shows.
What would the past be that I need to enter?
It's a 1 terabyte hard drive.
Trying to set up DVR through Osmc.
Not able to record TV shows and TV guide it's not showing the right time.
How do I add a grabber to automatically update from zap2xml.com

The easiest way possible we would help me out.

graphicw
Posts: 88
Joined: Mon Sep 09, 2019 5:04 pm

Re: Add external hard drive

Fri Sep 13, 2019 6:37 am

Format your external drive to Ext 4 and you should be good to go. An easy to use software to help you can be had this way:

Open a terminal session.

Type the following:

Code: Select all

sudo apt install gnome-disk-utility
Hit enter and once installed, goto the Main menu, select accessories, select Disk. Look for your Drive and let the gnome disk utility do the work for you. Let us know if you need additional help.

bob5731
Posts: 11
Joined: Mon Sep 02, 2019 8:19 pm

Re: Add external hard drive

Fri Sep 13, 2019 2:18 pm

I currently have the drive formatted to NTFS and have the appropriate drivers installed.
How do I find the path to the hard drive so that I can add it to tvheaden?

graphicw
Posts: 88
Joined: Mon Sep 09, 2019 5:04 pm

Re: Add external hard drive

Sat Sep 14, 2019 6:00 am

If you are only using the drive on your Pi, why would you have it formatted to NTFS? That is only necessary if using the drive with Windows machines as well. The same tool I showed you can handle NTFS, but keep in mind that there is no reliable tool to repair NTFS in Linux. You really need to use EXT 4 if Linux only or FAT 32 if you want the drive to work under any OS. EXT 4 is best if Linux only and it is a true magnetic HD. No EXT 4 on SSDs.

User avatar
Roken
Posts: 309
Joined: Sun Dec 31, 2017 4:35 pm
Location: UK

Re: Add external hard drive

Sat Sep 14, 2019 7:22 am

bob5731 wrote:
Fri Sep 13, 2019 2:18 pm
I currently have the drive formatted to NTFS and have the appropriate drivers installed.
How do I find the path to the hard drive so that I can add it to tvheaden?
You need to mount it. First find the device node to the drive with

Code: Select all

sudo fdisk -l
It will probably be /dev/sda or similar. The partition will be /dev/sda1 (again, or similar)

Then mount it. You can mount to any blank directory anywhere on your system, but for ease

Code: Select all

sudo mount -t ntfs-3g /dev/sda1 /mnt
Then you will find the drive at /mnt

You'll probably want to make it permanent, so modify /etc/fstab accordingly

https://wiki.debian.org/NTFS
https://wiki.debian.org/fstab
Headless PI. OMG, someone cut it's head off. Oh, hang on. it didn't have one to start with.

Return to “Media centres”