Apple TV1, OSMC and internal HDD

#1

Hello all. Please help me. I have an apple tv1 and installer OSMC, but i cannot save my music and video, because the system does not see internal hdd 160Gb. How i can mount my disk? Sorry my mistakes(i’m from Russia) )

Yesterday i write this commands -
"logging in from terminal:

sudo nano /etc/fstab

then adding this line:

/dev/sda4 /home/atv/ATVHDD auto rw,auto,user 0 0"

but after this command OSMC don’t start - freezes start image and many line code the left on the display.

0 Likes

#2

You should at least provide a screenshot/picture of the scrolling.
If you can get lods, it would help too.

1 Like

#3

Ok thank you, i will do it later.

0 Likes

#4

It now I see this picture
This is log after added line - /dev/sda4 /mnt/atvhdd auto rw,auto,user 0 0
Generation complete.

osmc@osmc:~$ sudo mkdir /mnt/atvhdd

osmc@osmc:~$ sudo nano / etc / fstab

osmc@osmc:~$ fdisk -l

Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 4096 bytes

I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/sda: 149,1 GiB, 160041885696 bytes, 312581808 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

Disklabel type: gpt

Disk identifier: 801E4618-0B59-4708-9476-32786554672F

Device Start End Sectors Size Type

/dev/sda1 40 500000 499961 244,1M Apple TV recovery

/dev/sda2 503808 312580095 312076288 148,8G Microsoft basic data

and photo

0 Likes

#5

Well, log in and type in “journalctl -xb” as the screen output tells you, to see what is failing.
But I think the devs may be able to help - I don’t know what the UTMP/Boot update is about.

0 Likes

#6

It looks like problems mounting the internal drive. Try commenting out the line in fstab and reboot.

Then add the line back to fstab (remove the #) and manually mount the drive to see what happens.

0 Likes

#7

AFAICT, your disk only has 149.1 GiB (or 160 GB)

So the disk has only two partitions: /dev/sda1 and /dev/sda2.

Delete /dev/sda4 from the /etc/fstab file since there is no /dev/sda4 partition on the device.

0 Likes

#9

what I can to second part sda2 ? How mount this hdd in my system?

0 Likes

#10

After this picture i can’t enter to system, but i deinstall osmc and now get the log how you write.

0 Likes

#11

This photo where my hdd in the system, but I can’t save music and other because can’t enter

0 Likes

#12

When I write line ‘journalctl -xb’ I get this ask - No journal files were found.

0 Likes

#13

sudo nano /etc/fstab get this ask -
/dev/sda1 /boot hfsplus defaults,noatime,noauto,x-systemd.automount $
/dev/sda2 / ext4 defaults,noatime 0 0

0 Likes

#14

It looks like /dev/sda2 is the root filesystem, which you see as /dev/root on the photo.

So it is already mounted – and has 138 GiB free.

1 Like

#15

it’s true, I now go to file manager and select new hdd and congratulations !!! Thanks!!!

0 Likes