Rasplex 0.5.1 on BerryBoot

I have the latest Rasplex running quite nicely on a Pi 2 using BerryBoot (so I can dual boot into OpenElec).

 

However, I notice Rasplex gives an I/O error in relation to the swap file on bootup.

 

Is this a problem?  Is there a way to fix it?

I have the latest Rasplex running quite nicely on a Pi 2 using BerryBoot (so I can dual boot into OpenElec).
 
However, I notice Rasplex gives an I/O error in relation to the swap file on bootup.
 
Is this a problem?  Is there a way to fix it?


This is not a problem.

It happens with all RasPlex versions running under BerryBoot, both on RPi1 and on RPi2 units.
The reason is that the method used to create the swap is not permitted with the virtual filesystem usage of BerryBoot.

But that swap has not been needed in any of the recent RasPlex versions, so it doesn't really matter.
When the swap doesn't exist no attempt would be made to use it even if needed.
And with current versions it's not needed even on an RPi1, which has just half of the RAM of an RPi2.

You should be aware though that a new release of RasPlex has been made, which provides separate images for RPi1 and RPi2.
So you can now run RasPlex on the RPi2 natively, without needing to boot it through BerryBoot.

That said I should also add that these new RasPlex images still work with BerryBoot.

The BerryBoot version made for the RPi2 can handle all RasPlex images made either for RPi1 or RPi2.
But the BerryBoot version made for the RPi1 can only handle the RasPlex images made for RPi1.

NB: In the above I use the "RPi1" acronym to cover both "Rpi model B" and "RPi model B+", as they have most features in common.

Best regards: dlanor

dlanor, thanks for the response.

I'm running the new 0.5.1 version of Rasplex for Rpi2 under BerryBoot.  I had been using this directly, but then changed it to using BerryBoot due to the dual boot requirement.

My Rasplex box is destined to live as the media player on a boat, where access to the PMS will not always be available, so I also need the option to run OpenElec so I can play stuff direct off iPlayer/USB stick.

I also have the PlexBMC add-on installed on OpenElec, but I don't find this as nice as RasPlex.

How did you manage to install the Rasplex 0.5.1 image to BerryBoot?

I have tried several solutions found on the internet but I cant get it to work.

I am fairly new to Rasberry, and Linux,  (did work with IBM AIX back in the 90ths, but all is forgotten) :)

I tried this solution below but first I get error with the line, sudo sed -i 's/^\/dev\/mmcblk/#\0/g' /mnt/etc/fstab
Some guy said that its not needed., and I always end up with a 4k small image 

sudo kpartx -av rasplex-RPi2-RP-0.5.1.img
add map loop0p1 (252:5): 0 117187 linear /dev/loop0 1
add map loop0p2 (252:6): 0 3493888 linear /dev/loop0 118784
sudo mount /dev/mapper/loop0p2 /mnt
sudo sed -i 's/^\/dev\/mmcblk/#\0/g' /mnt/etc/fstab
sudo mksquashfs /mnt rasplex-RPi2-RP-0.5.1_for_berryboot.img -comp lzo -e lib/modules
sudo umount /mnt
sudo kpartx -d rasplex-RPi2-RP-0.5.1.img

 

How did you manage to install the Rasplex 0.5.1 image to BerryBoot?
 
I have tried several solutions found on the internet but I cant get it to work.
I am fairly new to Rasberry, and Linux,  (did work with IBM AIX back in the 90ths, but all is forgotten) :)
 
 
I tried this solution below but first I get error with the line, sudo sed -i 's/^\/dev\/mmcblk/#\0/g' /mnt/etc/fstab
Some guy said that its not needed., and I always end up with a 4k small image 

 
 
 
sudo kpartx -av rasplex-RPi2-RP-0.5.1.img
add map loop0p1 (252:5): 0 117187 linear /dev/loop0 1
add map loop0p2 (252:6): 0 3493888 linear /dev/loop0 118784
sudo mount /dev/mapper/loop0p2 /mnt
sudo sed -i 's/^\/dev\/mmcblk/#\0/g' /mnt/etc/fstab
sudo mksquashfs /mnt rasplex-RPi2-RP-0.5.1_for_berryboot.img -comp lzo -e lib/modules
sudo umount /mnt
sudo kpartx -d rasplex-RPi2-RP-0.5.1.img


You obviously didn't bother searching, if you had you would have found this topic:

https://forums.plex.tv/topic/145555-want-rasplex-on-rpi2-try-the-berryboot-method/?p=846065

Now I can BerryBoot Rasplex 0.5.1, but my IR dont work with this setup. It works if I do a plain Rasplex install on the SD card

I also have Openlec in the Berryboot, this also lacks the IR remote.

Now I can BerryBoot Rasplex 0.5.1, but my IR dont work with this setup. It works if I do a plain Rasplex install on the SD card
I also have Openlec in the Berryboot, this also lacks the IR remote.


I don't use any IR remote myself, but your results of losing that interface with two different OpenELEC implementations under BerryBoot indicate either that the BerryBoot device drivers don't support this interface, or that the OpenELEC method of accessing the interface is incompatible with how it needs to be done under BerryBoot.

FYI: RasPlex is implemented as a PHT replacement for the XBMC application of a normal OpenELEC distribution,
so all limitations of the OpenELEC system used also apply to RasPlex.

Modifying the interface compatibility of BerryBoot/OpenELEC is of course outside of the scope of the RasPlex project, so for this to be fixed you will need some updates of the BerryBoot or OpenELEC projects. RasPlex coders are currently working on integrating current PHT/RasPlex sources with a newer OpenELEC version, but it is not yet known whether or not that will affect the IR remote usage under BerryBoot that you need.

Best regards: dlanor

Thank you for the answer.

I guess i need to dig in, and study examples on the net.

On the plain SD card installation of Rasplex my remote almost work perfectly, all buttons exept fast forward works, and rewind. Rewind actually triggers rewind as you can se that on the rewind button in the interface, but nothing is rewinded.  Fast forward doesnt react at all. I hope to find som information about that.

I have only had my Raspberry for a week now, so there is much to learn.

What i love moste with the Rasberry and Rasplex is that it takes a couple of minutes to reinstall the system, so it does encourage you to experiment.

I also have Plex HT on a Intel NUC, and that one takes a bit longer to reinstall.. But that "rig" just works as a charm. But you can buy at least 5 rasplex for what one NUC costs

My plan is to have a rasplex at every tv set at home. And I would love to have Limelight and RetroPi on there to.

Besr regards

Ulf

Thank you for the answer.
 
I guess i need to dig in, and study examples on the net.
On the plain SD card installation of Rasplex my remote almost work perfectly, all buttons exept fast forward works, and rewind. Rewind actually triggers rewind as you can se that on the rewind button in the interface, but nothing is rewinded.  Fast forward doesnt react at all. I hope to find som information about that.
I have only had my Raspberry for a week now, so there is much to learn.
What i love moste with the Rasberry and Rasplex is that it takes a couple of minutes to reinstall the system, so it does encourage you to experiment.
I also have Plex HT on a Intel NUC, and that one takes a bit longer to reinstall.. But that "rig" just works as a charm. But you can buy at least 5 rasplex for what one NUC costs
My plan is to have a rasplex at every tv set at home. And I would love to have Limelight and RetroPi on there to.
 
Besr regards
Ulf


Ff/RW has never worked in Rasplex, should be fixed in next release.

I see an error relating to the GPIO chip on boot into Rasplex under BerryBoot.  Don't know if this error also shows up under Rasplex directly, but if you have a GPIO IR remote, this may be the problem?

That is correct, I have an IR on the GPIO and it is this error I get´.

gpio chip not found!

I get the same error when I boot up Openelec from berryboot

Is it possible to fix?

I hooked up an USB dongle for IR and it works but it is sluggish and slow. (Its a very old one though)

The gpio IR works fast when I boot in a Clean image.

Best regards/

Ulf

I solved the problem.

I made a custom image of Rasplex for the Noobs image and installed the operating systems I wanted to multiboot from it.

Now it work's with my GPIO IR remote

Best regards/

Ulf

I solved the problem.
I made a custom image of Rasplex for the Noobs image and installed the operating systems I wanted to multiboot from it.
Now it work's with my GPIO IR remote
 
Best regards/
Ulf

I see. That pretty much nails the problem down to the BerryBoot system not loading the necessary stuff for handling the GPIO IR remote interface. I wonder if that can be fixed by modifications to the FAT32 boot image of BerryBoot, without needing to recompile BerryBoot as such...?

On the other hand, the BerryBoot author probably will fix this in some future BerryBoot release.

Best regards: dlanor

RasPlex 0.5.1 BerryBoot image:

https://www.dropbox.com/s/bq3c4zjiq8mq6yb/rasplex_0.5.1_Pi2_berryboot.img?dl=0

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.