set up dvd rips to play

Share your success stories with others

Moderator: Pablo

Post Reply
scmm8709
Member
Posts: 14
Joined: Wed Feb 02, 2011 5:38 am

set up dvd rips to play

Post by scmm8709 »

Had to hunt around in here and thought I'd publish what I learned and did.

$ sudo apt-get install squashfs-tools
$ sudo find / -name libdvdcss.so.2 -print

/usr/lib/libdvdcss.so.2

$ mkdir -p /tmp/squashme/lib
$ cp /usr/lib/libdvdcss.so.2 /tmp/squashme/lib
$ sudo chown -R nobody.nobody /tmp/squashme
$ sudo chmod -R 755 /tmp/squashme
$ sudo mksquashfs /tmp/squashme /srv/tftp/PXEClient/conf/default/extras.sfs
$ sudo chown nobody.nobody /srv/tftp/PXEClient/conf/default/extras.sfs
$ sudo chmod 755 /srv/tftp/PXEClient/conf/default/extras.sfs
$ sudo rm -rf /tmp/squashme/

verify contents:

$ sudo unsquashfs -ll /srv/tftp/PXEClient/conf/default/extras.sfs

drwxr-xr-x nobody/nobody 26 2011-02-26 20:20 squashfs-root
drwxr-xr-x nobody/nobody 37 2011-02-26 20:21 squashfs-root/lib
-rwxr-xr-x nobody/nobody 34132 2011-02-26 20:21 squashfs-root/lib/libdvdcss.so.2

reboot frontend
Post Reply