Closed enoch85 closed 8 years ago
After a bit of digging on the internet, I think this would need to be scripted - so that when you as the end-user receive the Pi you just plugin the SD-card with the image on (or an install script), and the HDD, boot it and the script starts.
I also noticed that there are different options:
So basically, the script would come pre-installed on the SD card and it would handle everything for the user. That is:
Any other options, or suggestions to do this?
I think solely HDD is not an option, AFAIK RPi will need at least kernel/u-Boot on SD card. Partitioning would be tricky and would say we need to test few possible setups and compare them :-)
When I installed on the Raspberry Pi 2 with the disk ready to go, the BerryBoot option helped a ton. http://www.berryterminal.com/doku.php/berryboot
AllI had to do was point and click, and it downloaded the image I wanted to the card. Maybe it is possible to create an ownCloud berry boot image?
Ubuntu snappy makes 4 partitions of the SD card, I don't get it yet. But I will keep investigating.
So here is my setup: http://michal.hrusecky.net/2016/01/my-way-of-booting-pidrive-raspberry-pi2/
Thanks @miska ! Great blog btw.
I vote for keeping the OS on the SD card and the data on the HDD.
Each OS should make a backup of its config files to a reserved partition on the HDD, so that users can quickly switch OS and restore settings.
@oparoz I think that is great, but be sure to put frequently changing files on the hard drive: that is, especially, the database. The normal OS files are probably fine, they're not written to that often if you do the proper tmpfs stuff for /tmp and such.
There have been some discussions in the mailing list about where to install the OS, and that the Pi eats SD cards and so on.
I just got my Pi up and running, and during first time setup it asks where I want to install the OS. Since I never used a Pi before, I don't know how it works. Is it possible to install everything on the HDD, or is it a better solution to boot from the SD card, and in that case - how do I set it up to do that?
I will use Ubuntu Snappy as OS on the Pi, and right now I have issues with how to get Snappy on the Pi, and where to install it. Some advice would be great!
EDIT Solved the installation of Snappy issue. But I still wonder where to make the "OS" install where ownCloud, Apache and MySQL will be. On a regular Ubuntu install, everything goes into the same drive. Not used to this, were you divide it.