fabic974 random (binary) wanderings in the philament empires…

Raspberry Pi 2: Install that OSMC Linux distribution

Plug in tha microSD card.

Ensure your desktop env. has not mounted any previous FS there may be on you

$ mount

Download the latest appropriate OSMC image from osmc.tv :

$ wget -S http://download.osmc.tv/installers/diskimages/OSMC_TGT_rbp2_20190623.img.gz

Find out what /dev/... block device is that microSD card :

$ sudo fdisk -l

Transfer the uncompressed OSMC disk image using dd :

$ time ( gunzip -dc OSMC_TGT_rbp2_20190623.img.gz | \
         sudo dd of=/dev/mmcblk0 bs=1M oflag=direct iflag=fullblock status=progress )

Trigger kernel re-read the partition tables (so that your desktop will present the correct mount devices) :

$ sudo partprobe

Check that the device does have that 243 MB FAT partition :

$ sudo fdisk -l /dev/mmcblk0

Output :

Device         Boot Start    End Sectors  Size Id Type
/dev/mmcblk0p1       2048 499711  497664  243M  c W95 FAT32 (LBA)

EOF