Install Xbian in berryboot
|
18th Jan, 2013, 04:34 AM
Post: #1
|
|||
|
|||
Install Xbian in berryboot
I'm trying to install Xbian in Berryboot. When Xbian decompress the image I get an error:
Quote:sudo kpartx -av XBian1.0Alpha4.img Looking in BerryBoot forums someone said that the image of Xbian not correct, if you apply the image Fdisk is confirmed:[Spanish] Quote:fdisk XBian1.0Alpha4.img 1400832 sectors, but img2 finish in 1402879 Same trying descompress in windows: ! C:\Users\Eloy\Desktop\Raspberry\1.0Alpha4.tar.gz: El archivo está dañado "Archive damaged". Of course i download it again. |
|||
21st Jan, 2013, 07:02 PM
Post: #2
|
|||
|
|||
RE: Install Xbian in berryboot
Berry Boot -> Nice found! Going to use it with xbian.
XBian Skin Beta Testing Clock Screensaver If you liked my help, click on "Thanks" to show your appreciation. |
|||
20th Feb, 2013, 06:46 AM
Post: #3
|
|||
|
|||
RE: Install Xbian in berryboot
(18th Jan, 2013 04:34 AM)Eloy88 Wrote: I'm trying to install Xbian in Berryboot. When Xbian decompress the image I get an error: See my post http://forum.xbian.org/thread-477.html to see what you need to do. I'll have also finished uploading the img for BerryBoot in a few minutes. |
|||
18th Jun, 2013, 03:59 AM
Post: #4
|
|||
|
|||
RE: Install Xbian in berryboot
I have found a better way of generating the XBian image for BerryBoot.
These are the instructions and commands that fail with the XBian image: Terminal $ sudo kpartx -av image_you_want_to_convert.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 converted_image_for_berryboot.img -comp lzo -e lib/modules $ sudo umount /mnt $ sudo kpartx -d image_you_want_to_convert.img The first command will fail, so the mount cannot be done the way it is in the instructions. Instead, we can do a mount directly from the image file. We are interested only on the Linux partition of the image. For that, we run the fdisk command: Terminal $ sudo fdisk -lu XBian1.0Alpha5.img You must set cylinders. You can do this from the extra functions menu. Disk XBian1.0Alpha5.img: 0 MB, 0 bytes 255 heads, 63 sectors/track, 0 cylinders, total 0 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0x000f06a6 Device Boot Start End Blocks Id System XBian1.0Alpha5.img1 2048 71679 34816 c W95 FAT32 (LBA) Partition 1 does not end on cylinder boundary. XBian1.0Alpha5.img2 71680 1443839 686080 83 Linux Partition 2 does not end on cylinder boundary. Notice the Units value (512) and the start of the Linux partition (71680). These values might change for other images, but the procedure would be the same. Now we mount the Linux partition from the image file like this: Terminal $ sudo mount -t auto -o loop,offset=$((71680*512)) XBian1.0Alpha5.img /mnt Here, we use the numbers from the units and the start of the partition for the offset value in the mount command: offset=$((71680*512)). After this, just continue with the instructions from the "sed" line onward: Terminal $ sudo sed -i 's/^\/dev\/mmcblk/#\0/g' /mnt/etc/fstab $ sudo mksquashfs /mnt converted_image_for_berryboot.img -comp lzo -e lib/modules $ sudo umount /mnt $ sudo kpartx -d image_you_want_to_convert.img Cheers! |
|||
25th Jun, 2013, 10:41 PM
Post: #5
|
|||
|
|||
RE: Install Xbian in berryboot
[code]Yes it is a good found and hopefully, it will work better with xbian. Because it needs to upload the image and then it works properly and without any error.
How to Trade Forex |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[IDEA] Xbian Berryboot RPi B+ | Jan Picha | 1 | 6,047 |
7th May, 2016 03:55 AM Last Post: Nachteule |
|
[HOW-TO] Install in BerryBoot | reeeky2001 | 17 | 80,480 |
8th Jan, 2014 09:35 AM Last Post: mk01 |