I would like to know, if it is possible to use a SSD as the only drive for a Raspberry PI.
The reason is, I would like to use it as database- and webserver and I am not sure about the lifetime of SD-cards.
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.Sign up to join this community
Another option could be to use an alternative to the Raspberry Pi with an SATA-interface, like the Cubieboard (see this list on Wikipedia).
On the other hand, SD cards are not as unreliable as you might think.
root=/dev/mmcblk0p2 rootfstype=ext4 indicating the root partition.
I assume that if you used a
SSD with a suitable partition you could use
root=/dev/sda1 (or whatever). I have not tried this (and don't share the paranoia many seem to have about using SDCARDS).
It is not clear whether Raspbian contains the
SSD trim support needed to ensure reasonable lifetime on a
It would be interesting to see if this works. I might even give it a go with a HD.
As of recently (June 2020) booting from USB is out of "beta" but hasn't been announced as officially supported. Read all about it here