Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[HOW-TO] Installing XBIAN directly on RASPBIAN IMG
Thank you for your donation

Pages (8): « Previous 1 ... 3 4 5 6 7 8 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[HOW-TO] Installing XBIAN directly on RASPBIAN IMG
15th Jan, 2014, 07:28 AM
Post: #61
nypete20 Offline
Registered
Posts: 1
Joined: Jan 2014
Reputation: 0
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
Hey,

I tried to install xbian 2 days ago on my raspbian installation using your instructions from the first post.

But after the restart my raspberry ran into a kernel panic.
I found here an extension for cmdline.txt that extends it with "rootflags=subvol=root/@,autodefrag,compress=lzo"
Now the boot process aborts with an error message "fsck.xbian not found" and throws a shell to me.

What should I do to complete the installation or at least to get my rasbian working?
Find all posts by this user
Quote this message in a reply
16th Jan, 2014, 03:35 AM
Post: #62
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
@nypete20

Sounds like you missed a critical process.

Can you provide a screen shot of the error message and paste the cmdline.txt and config.txt files.

What Raspbian image did you initially boot from? Date.

If all fails, can you provide output from all the commands you issue and their output via pastebin.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
16th Jan, 2014, 06:32 PM
Post: #63
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
@nypete20

did you enable STAGING and DEVEL repos as well? as in point 1. opening post? in older packages there was typo providing "fsck,xbian" file instead of "fsck.xbian" (comma instead of dot).

in that shell you are dropped into try
Code:
mv /sbin/fsck,xbian /sbin/fsck.xbian

if this doesn't help (no file found), create dummy fsck as follows:

Code:
cat >/sbin/fsck.xbian <<\EOF
> #!/bin/sh
> exit 0
> EOF

(just type what you see. then exit the shell or reboot. raspbian should boot normally and you can continue with the packages)

(14th Jan, 2014 07:27 AM)roelofpieter Wrote:  And indeed, the filesystem isn't btrfs so the error isn't that strange, but why isn't anybody else seing this? Am I missing something? I should be able to go through the script on a fresh installed raspbian installation shouldn't I?

I fixed the appearance of the errors - if you retry after apt-get update, it should be ok.

if you still have the semi-configured apt system, do this:

Code:
sudo nano  /var/lib/dpkg/info/xbian-package-config-shell.postinst

go to the end of file and on new line (as last line) put "exit 0". save with ctrl+x, run "dpkg --configure -a". then you can continue.

(11th Jan, 2014 02:02 AM)IriDium Wrote:  Noticed in final install

status: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

I also think that a restore of a backup erases the pi home directory!! Just double checked - it does!!

After that xbian user just takes you to a blank lxde screen not XBMC.

the pi user thing would be quite interesting, I have to check. as /home is subvolume and the backup file is nothing else as exported snapshot (image) of this subvolume.

during "backup" and "restore" (export and import) there is no option or tool to manipulate with folders or files. simply it is even not possible to see what is inside. it is pure data/metadata stream.

but I know that your presence always makes something to fall apart Blush

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
16th Jan, 2014, 06:59 PM
Post: #64
gobracket Offline
Registered
Posts: 5
Joined: Jan 2014
Reputation: 0
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
Hi,
Trying to install and get this error,

Code:
Processing triggers for xbian-package-initramfs-tools ...
grep: /boot/config.txt: No such file or directory
cat: /boot/config.txt: No such file or directory
SETTING rootfstype=btrfs in cmdline.txt. This will start filesystem conversion during next reboot. As soon as DPKG and APT processes terminate, reboot your RPI
grep: /boot/cmdline.txt: No such file or directory
sed: can't read /boot/cmdline.txt: No such file or directory

and then after reboot, i found that
Code:
Root partition LABEL=xbian-root-btrfs missing
moung: mounting LABEL=xbian-root-btrfs on /rootfs failed: No such device
mount: mount point /rootfs/proc does not exist
mount: mount point /rootfs/boot does not exist
mount: mount point /rootfs/dev does not exist
mount: mount point /rootfs/sys does not exist
mount: mount point /rootfs/lib/modules does not exist

I'm using raspbian fresh install from noobs
Can I manually edit config.txt and cmdline.txt ? What should i add / change ?

Thanks
Find all posts by this user
Quote this message in a reply
16th Jan, 2014, 10:28 PM
Post: #65
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
(16th Jan, 2014 06:32 PM)mk01 Wrote:  but I know that your presence always makes something to fall apart Blush

The backup was from a "pure" Xbian system and retrofitted to Rasbian/Xbian - so I'm not suprised. Maybe the backup needs to only backup/restore /home/xbian and not /home.

(16th Jan, 2014 06:59 PM)gobracket Wrote:  I'm using raspbian fresh install from noobs
Can I manually edit config.txt and cmdline.txt ? What should i add / change ?

Thanks
I'd forget NOOBS - this was never tested on NOOBS and has a different file structure (I believe).

Install a fresh imgae of RASPBIAN and start again.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
16th Jan, 2014, 11:43 PM
Post: #66
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
As there seems to be some confusion. Here are the commands and expected results.

Up to and including apt-get install xbian-package-kernel Post 1

[resize in progress - will start Raspbian when finished]

After apt-get install xbian-update xbian-package-rasp-switching Post 2

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
17th Jan, 2014, 12:40 AM
Post: #67
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
(16th Jan, 2014 10:28 PM)IriDium Wrote:  The backup was from a "pure" Xbian system and retrofitted to Rasbian/Xbian - so I'm not suprised. Maybe the backup needs to only backup/restore /home/xbian and not /home.

yes, mystery solved.

sooner or later we will have to migrate from subvolume /home to subvolume /home/xbian or even /home/xbian/.xbmc as I realized that /home/(xbian) is used also as tmp storage for downloader packages.

making backups unnecessary big and (after some longer period) restoring rubbish (tmp files long gone).

with 1.0 release

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
17th Jan, 2014, 12:47 AM
Post: #68
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
One thing I have noticed that when playing movies, you may get errors like this one.

14:26:19 T:2969564224 ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.video_decode - OMX_ErrorInsufficientResources, insufficient resources

Unless you need more resoures in Raspbian
I'd suggest switching to Xbian overclock and adding gpu_mem_512=256 to /boot/config.txt then large movies will play

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
17th Jan, 2014, 12:51 AM
Post: #69
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
@IriDium

is this "classic" omxplayer ERROR meaning just notification, or playback won't start at all ?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
17th Jan, 2014, 01:02 AM
Post: #70
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
Xbian-config - Not working

15:00:59 T:2790257728 ERROR: File "/usr/local/share/xbmc/addons/plugin.xbianconfig/resources/lib/xbmcguie/virtualControl.py", line 51, in __init__
15:00:59 T:2790257728 ERROR: self.onInit()
15:00:59 T:2790257728 ERROR: File "/usr/local/share/xbmc/addons/plugin.xbianconfig/categories/30_packages.py", line 167, in onInit
15:00:59 T:2790257728 ERROR: self.packages.append(PackageCategory(package,self._onPackage,self._onGetMore))
15:00:59 T:2790257728 ERROR: File "/usr/local/share/xbmc/addons/plugin.xbianconfig/categories/30_packages.py", line 28, in __init__
15:00:59 T:2790257728 ERROR: self.available = int(tmp[1])
15:00:59 T:2790257728 ERROR: IndexError: list index out of range
15:00:59 T:2790257728 ERROR: Exception in xbianSettingWindow None
15:00:59 T:3040837632 ERROR: ClearBlock: Trying to clear non existent block /usr/local/share/xbmc/addons/plugin.xbianconfig
15:00:59 T:2790257728 WARNING: The python script "/usr/local/share/xbmc/addons/plugin.xbianconfig/default.py" has left several classes in memory that we couldn't clean up. The classes include: Addon

(17th Jan, 2014 12:51 AM)mk01 Wrote:  @IriDium

is this "classic" omxplayer ERROR meaning just notification, or playback won't start at all ?

Playback would not work - audio but no video. Only managed to get it to work on a 1G MP4 file.

Making the changes mentioned enabled a 10G DTS movies to be played on my PC monitor so no DTS encoding!!

Added a USB3 drive. Was picked up in DMESG and is noticed in Videos, but when I select it - XBMC returns
"Path not found or invalid"

df -h
/dev/sda1 932G 99G 833G 11% /media/Seagate Expansion Drive
xbmc.log
15:29:53 T:3041005568 ERROR: GetDirectory - Error getting /media/Seagate Expansion Drive/
15:29:53 T:3041005568 ERROR: CGUIMediaWindow::GetDirectory(/media/Seagate Expansion Drive/) failed
mount
/dev/sda1 on /media/Seagate Expansion Drive type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,b​lksize=4096)

Works fine on a Pure" Xbian Beta 2

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
17th Jan, 2014, 02:08 AM
Post: #71
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
(17th Jan, 2014 01:02 AM)IriDium Wrote:  self.packages.append(PackageCategory(package,self._onPackage,self._onGetMore))
15:00:59 T:2790257728 ERROR: File "/usr/local/share/xbmc/addons/plugin.xbianconfig/categories/30_packages.py", line 28, in __init__
15:00:59 T:2790257728 ERROR: self.available = int(tmp[1])

if you do before ?
Code:
sudo xbian-config packages updatedb

(17th Jan, 2014 01:02 AM)IriDium Wrote:  15:29:53 T:3041005568 ERROR: GetDirectory - Error getting /media/Seagate Expansion Drive/
15:29:53 T:3041005568 ERROR: CGUIMediaWindow::GetDirectory(/media/Seagate Expansion Drive/) failed
mount
/dev/sda1 on /media/Seagate Expansion Drive type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,b​lksize=4096)

is it browsable with user xbian from shell ?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
17th Jan, 2014, 02:33 AM
Post: #72
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
(17th Jan, 2014 02:08 AM)mk01 Wrote:  if you do before ?
Code:
sudo xbian-config packages updatedb

Returns 0
is it browsable with user xbian from shell ?

User Xbian is blocked - last time I changed the password the Rasbian/XBMC switch failed to work.

Browsing with user "Pi" gets permission denied
Root is OK - shows everything.
Drive is mounted as xbian:xbian as are all of the files.

From root going su -l xbian I can browse the files on the disk.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
17th Jan, 2014, 02:37 AM
Post: #73
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
and if you try to browse by adding for instance new source ? as browsing ROOT DIR, then MEDIA, then SEAGA… ?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
17th Jan, 2014, 02:43 AM
Post: #74
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
(17th Jan, 2014 02:37 AM)mk01 Wrote:  and if you try to browse by adding for instance new source ? as browsing ROOT DIR, then MEDIA, then SEAGA… ?
I tried that - it showed up and I could add it but nothing was shown when I tried to browse it.

Will have another play tomorrow to see what I can deduce.
It's available via ssh at the moment but not a screen.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
17th Jan, 2014, 03:15 AM
Post: #75
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [HOW-TO] Installing XBIAN directly on RASPBIAN IMG
@Iri

can you maybe post xbmc.log from very beginning until the error?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (8): « Previous 1 ... 3 4 5 6 7 8 Next »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Dual boot raspbian xbian tony_the_unik 5 20,439 3rd Apr, 2014 07:58 PM
Last Post: mk01
  Using xbian xbmc binaries on raspbian thrillrseekr 4 16,096 19th Aug, 2013 11:55 PM
Last Post: CurlyMo

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 04:11 AM Powered By MyBB, © 2002-2025 MyBB Group.