windhero
Posts: 34
Joined: Fri Aug 03, 2012 9:56 am

SD-card switcher Does such a thing exist?

Fri Aug 24, 2012 9:49 pm

I currently have 2 SD-cards; One with XBian and one with Raspbian. I have to swap between the two all the time, so I was wondering if there was a plug where that could divide one socket into 2 sockets with a switch to decide from which SD card to boot.

Does such a thing exist? If so, where can I buy one? (Idea is same like HDMI-switches to swap between say a ps3 and a computer on the same screen, but with SD-cards)

Image

User avatar
joan
Posts: 14187
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Does such a thing exist?

Fri Aug 24, 2012 9:55 pm

Do a forum search for Berryboot for a method of booting different images.

windhero
Posts: 34
Joined: Fri Aug 03, 2012 9:56 am

Re: SD-card switcher Does such a thing exist?

Sun Aug 26, 2012 11:17 am

Berryboot is a great option except it doesn't have XBian as a preloaded alternative, and I cant swap my mount to SquashFS-format, as I'd need a Linux on my desktop. Tried already via Virtual PC without success and tried even installing Ubuntu as an alternative OS, but the installation process freezes at "Almost done copying files" (let it figure itself out for the night, still no progress after 8 hours). If someone could make XBian into SquashFS and give a link to it, this would solve my problems.

I know it has OpenELEC, but XBian just seems to work much smoother.

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: SD-card switcher Does such a thing exist?

Sun Aug 26, 2012 2:59 pm

Get a BIG SD card
Have 3 partitions on it.
1 vfat which will be /boot
and then 2 ext4 partitions
on /boot, modify the cmdline.txt file to change which partition it boots to, e.g. mmcblk0p2 or mmcblk0p3
and then when you want to switch distros, just change the partition it boots to.
Hopefully the 2 distros use the same kernels etc. otherwise you'd need to change the kernels on /boot also.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Lynbarn
Posts: 464
Joined: Wed Jan 04, 2012 11:03 pm
Contact: Website

Re: SD-card switcher Does such a thing exist?

Wed Nov 07, 2012 11:17 pm

I would like to be able to do the same thing. This might be a solution...

There is this device:http://www.mp4nation.net/blog/2010/12/m ... -of-sorts/ which connects by USB, and holds 4 SD cards.

I'm not sure how, but it should be possible to use a single SD card permanently stored in the Raspberry Pi with a pre-boot program that offered a menu of 1 to 4 to select which of the cards in this device to boot from, maybe even interrogating the loaded cards to extract the image name for the boot menu? At $40 it isn't exactly cheap, but if it works...


Return to “Beginners”