Maybe I'm misunderstanding the purpose or goal but wouldn't this be perfect use case for a virtual machine? I'm surprised no one has suggested that. A one off temporary, easily reverted back to pristine with snapshots sounds like exactly what you would want for testing something like this out.
Install an OS on the card to boot from? Its the same process as making a bootable live USB stick.
The performance will be poor in comparison to an SSD and will reduce the longevity of the card due to many r/w operations.
Short answer: yes, you absolutely can.
But there are a lot of caveats (I did that with a usb stick): you need a light distro, ubuntu server in a nimble installation can work with that but if your server expands (like mine does) you will start to get a hard time.
So long answer: you probably shouldn’t do it if you can avoid it.
Came in here to say this. If you really want to play, get a cheap used hdd and mess around with that. An sd card will make your first experience more trouble than it's worth
100% agreed. I now have to figure out how to change my setup without disrupting everything.
So there's 2 things, I think.
-
Does your bios allow you to boot from SD card? If so, then you can boot from the SD card and so you can install software onto the SD card directly.
-
If you can't boot off of the SD card, then perhaps you can install all the software on the SD card and then install a boot manager on the main drive. In this way, you boot off the main drive, then let the boot manager deal with loading the software.
You might be disappointed by the performance of software running off an SD card, mind you.
You understand that when you install it on the SD card and want to run it, then windows will not run at the same time, yes?
The other option would be a Virtual machine like someone else suggested.
Yes our servers running esxi boot from an SD card
But. That’s not to say you won’t have issues.
As others are saying distro matters
Unraid works this way too. Its perfectly fine as long as you keep frequent writes off it. Use ramdisk when you need scratch space.
Not exactly the answer for the question you ask but you mention yunohost.. i recently installed it and it was impossible from their iso. Install debian first and then use it to install yunohost there
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!