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

[HOW-TO] Install in BerryBoot
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[HOW-TO] Install in BerryBoot
20th Feb, 2013, 05:56 AM
Post: #1
reeeky2001 Offline
Registered
Posts: 3
Joined: Feb 2013
Reputation: 1
[HOW-TO] Install in BerryBoot
Intro: I wanted to use Xbian in BerryBoot on the RPi, b/c I'm new to the Pi and wanted to find out what distro I wanted to use, w/o having to constantly backup and wipe my SD card. So BerryBoot it was.

Prerequisites:
PC w/ Linux (I used ubunutu from a DVD)
Raspberry Pi w/ keyboard and mouse
Xbian img file
SD card
USB stick at least as big as your SD card

How to:
  1. Install Xbian img on SD card
  2. Put SD Card in RPi and let it resize and start up fully.
  3. Shutdown RPi, unplug mouse and use keyboard. Start the RPi again.
  4. While Xbian is starting, but before the GUI is started (b/c I can't figure out how to start a terminal instance in XBMC), press Control-C then use the command "dd bs=1M if=/dev/mmcblk0 of=/media/sda1/backup.img", sda1 being my USB stick.
  5. Wait until its done. This could take a while depending on the size of your SD card, mine was 4GB and took about 15 mins.
  6. Once its finished you'll be able to start programs/commands again. Turn off RPi and unplug USB stick.
  7. Mount USB in Linux on PC. I used Ubunutu 12.10 LiveCD, as its not my primary OS.
  8. Use the following code, obviously if loop2p2 is something else, use that.
    Code:
    $ sudo kpartx -av backup.img
    add map loop2p1 (252:5): 0 117187 linear /dev/loop0 1
    add map loop2p2 (252:6): 0 3493888 linear /dev/loop0 118784
    $ sudo mount /dev/mapper/loop2p2 /mnt
  9. Goto /mnt/etc/ and commented out all the entries in fstab
    Code:
    $ sudo sed -i 's/^\/dev\/mmcblk/#\0/g' /mnt/etc/fstab
    This code may do that, but I did it manually. I do get a warning when starting Xbian via BerryBoot that may be the result of me not using this code, but idk.
  10. Use mksquash on the img that we mounted, make sure squashfs-tools is installed, "sudo apt-get install squashfs-tools" if its not installed.
    Code:
    $ sudo mksquashfs /mnt /media/sda1/xbian-bb.img -comp lzo -e lib/modules
    $ sudo umount /mnt
    $ sudo kpartx -d image_you_want_to_convert.img
  11. Put this img file on your USB drive, boot the BerryBoot SD card on your RPi, click edit menu, click and hold on Add OS until you get a sub-menu for adding IMG from USB.
  12. Add the XBian img and go from there. You should know what to do now


Also, you could ignore the above and install the img here http://www.mediafire.com/download.php?by1007dtub0wro4
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
[HOW-TO] Install in BerryBoot - reeeky2001 - 20th Feb, 2013 05:56 AM
RE: [HOW-TO] Install in BerryBoot - javcarbe - 22nd Feb, 2013, 11:44 AM
RE: [HOW-TO] Install in BerryBoot - brantje - 23rd Feb, 2013, 07:51 AM
RE: [HOW-TO] Install in BerryBoot - reeeky2001 - 5th Mar, 2013, 04:01 AM
RE: [HOW-TO] Install in BerryBoot - Bref - 19th Jul, 2013, 05:41 PM
RE: [HOW-TO] Install in BerryBoot - mk01 - 19th Jul, 2013, 06:03 PM
RE: [HOW-TO] Install in BerryBoot - Bref - 19th Jul, 2013, 11:09 PM
RE: [HOW-TO] Install in BerryBoot - coloxim - 5th Dec, 2013, 07:44 AM
RE: [HOW-TO] Install in BerryBoot - mk01 - 5th Dec, 2013, 09:26 AM
RE: [HOW-TO] Install in BerryBoot - MediaMarat - 30th Dec, 2013, 04:44 AM
R: RE: [HOW-TO] Install in BerryBoot - coloxim - 5th Dec, 2013, 11:56 PM
RE: [HOW-TO] Install in BerryBoot - mk01 - 6th Dec, 2013, 02:09 AM
R: RE: [HOW-TO] Install in BerryBoot - coloxim - 6th Dec, 2013, 04:16 AM
RE: [HOW-TO] Install in BerryBoot - mk01 - 6th Dec, 2013, 06:50 AM
R: RE: [HOW-TO] Install in BerryBoot - coloxim - 6th Dec, 2013, 07:26 AM
RE: [HOW-TO] Install in BerryBoot - mk01 - 8th Jan, 2014, 09:35 AM
Help xbian in berryboot - coloxim - 5th Dec, 2013, 05:41 AM
RE: [HOW-TO] Install in BerryBoot - rikardo1979 - 5th Dec, 2013, 06:27 AM

Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Install Xbian in berryboot Eloy88 4 127,232 25th Jun, 2013 10:41 PM
Last Post: Alastaire

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

Current time: 23rd Jun, 2025, 11:11 AM Powered By MyBB, © 2002-2025 MyBB Group.