SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-09-22 00:17:31

Bob E
#! Member
Registered: 2012-01-12
Posts: 95

#! on an SD Card: Pros-Cons?

I've got an old Asus eee with no hard drive and a 32GB class 10 SDHC card. I installed #! on it and it runs fine. I'm just wondering if there are any long-term / short-term problems with running the OS on a card. (I'm not even sure if I need to setup TRIM or not, or even if TRIM can be set on a card.)

Just looking for feedback. Thanks.

Offline

Be excellent to each other!

#2 2014-09-22 00:27:07

CSCoder4ever
BL Keyboard Troll
From: /dev/zero
Registered: 2013-09-03
Posts: 2,256

Re: #! on an SD Card: Pros-Cons?

Should be okay, although if you can throw in an SSD into your eee, I'd do that.

Offline

#3 2014-09-22 01:05:56

cpoakes
#! CrunchBanger
From: Tucson, Arizona
Registered: 2012-05-19
Posts: 202

Re: #! on an SD Card: Pros-Cons?

I wrote the following article Using Compact Flash as a Root Filesystem discussing using Compact Flash devices but the concepts apply to SD cards and USB flash devices as well.  I personally run wheezy/waldorf on an Atom-based thin client using an SD card without problems. 

It runs as a low-power, always-on system with a bit-torrent client (capturing files to a NAS), connectivity logger for my internet connection, and also a general desktop system.  It has been online without problems for two years.  It runs libreoffice, the gimp, a browser just fine.  My only complaint: the Atom processor is heavily taxed by the browser and page load times are long compared to my laptop and that has little to do with the SD card.  Access times are slower than a hard drive, but acceptable.

Last edited by cpoakes (2014-09-22 01:07:00)


programming and administering unix since 1976 (BSD, System III, Xenix, System V, Linux)

Offline

#4 2014-09-22 07:06:28

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: #! on an SD Card: Pros-Cons?

You can check whether TRIM is supported using:

sudo hdparm -I /dev/<SD reader> | grep TRIM

Can't remember what an SD reader shows as (mmcblk?)...
http://en.wikipedia.org/wiki/Trim_%28computing%29#ATA
smile

Last edited by Head_on_a_Stick (2014-09-22 07:07:48)

Offline

#5 2014-09-22 07:43:10

exidux
#! CrunchBanger
From: Your screen.
Registered: 2014-09-05
Posts: 202
Website

Re: #! on an SD Card: Pros-Cons?

Running linux operating systems for a full year on a high quality SD card for an
asus 1101ha from which i removed the HDD and it is still running fine.
If you want to be certain about saving as much lifetime as possible
on the SD  ;

- do not make a cache partition / do not let one be made and do not let the OS cache.

everything will be slightly slower then with a HDD, and if you chose to play it safe and
disable caching then you will have to watch your memory usage if you are going to top it
or things could lock up.

Last edited by exidux (2014-09-22 07:45:36)


~ When jessie hits stable you could upgrade crunchbang and keep it alive a bit longer.

Offline

#6 2014-09-22 10:02:10

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: #! on an SD Card: Pros-Cons?

I've been running a version of crunchbang on a Raspberry Pi SD card for a while (as have many others!). I have the root system on the card, and the user data on a separate usb stick.


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#7 2014-09-22 13:02:14

uname
#! Junkie
Registered: 2013-03-15
Posts: 484

Re: #! on an SD Card: Pros-Cons?

I use an IBM Thinkpad with SSD. The homedir from my user is /tmp/user on tmpfs. If i want really save files i save to another directory like /data on SSD. Search for /etc/xdg for global openbox configuration (you can not save it to ramdisk).
Also you can only move ~/.mozilla to ramdisk for iceweasel-browsing. Or deactivate caching to disk ( http://lifehacker.com/5687850/speed-up- … k-required )

Last edited by uname (2014-09-22 13:03:36)

Offline

#8 2014-09-22 14:12:34

twoion
Moderator
Registered: 2012-05-11
Posts: 1,648

Re: #! on an SD Card: Pros-Cons?

Bob E wrote:

I've got an old Asus eee with no hard drive and a 32GB class 10 SDHC card. I installed #! on it and it runs fine. I'm just wondering if there are any long-term / short-term problems with running the OS on a card. (I'm not even sure if I need to setup TRIM or not, or even if TRIM can be set on a card.)

Just looking for feedback. Thanks.

If you can, set up TRIM. If not, doesn't matter - you've gained a very nice toy. Does it have SATA ports on its board? Then I would pry the computer out of its case, mount everything on some kind of board (wood, old PC case, wire board, ...), connect a disk and run it from there => your new data server.


Tannhäuser ~ {www,pkg,ddl}.bunsenlabs.org/{gitlog,repoidx}

Offline

#9 2014-09-22 17:22:40

dbvolvox
#! CrunchBanger
From: England
Registered: 2011-01-05
Posts: 180

Re: #! on an SD Card: Pros-Cons?

I run the PiBang #! on the Raspberry Pi, works very well.

Offline

#10 2014-09-22 22:39:52

Bob E
#! Member
Registered: 2012-01-12
Posts: 95

Re: #! on an SD Card: Pros-Cons?

A lot of good info here...thanks everyone. It's a 1215 with a 1.80 GHz Atom processor. On the card I mentioned, it runs really well. Iceweasel isn't even lagging as I thought it would. I just wanted to make sure this install isn't going to be short-lived for any reason because it's on a non-traditional drive. From what I've read here, including the article by cpoaks, I think I've found out what I needed to know...it's a keeper!

I got this for free and don't really have any "extra" money to put into it, otherwise I would do like CSCoder4ever mentioned and get a new SSD for it.

@twoion: Good idea, but I want to keep it as a portable system.

Thanks again everyone!

Offline

#11 2014-09-23 22:33:09

paxmark1
#! Junkie
From: Winnipeg, MB Canada
Registered: 2009-07-08
Posts: 263

Re: #! on an SD Card: Pros-Cons?

I had / on an sdch10 till it [edit the motherboard] died on an EEE and also did it on an EEEbox also until I bought a 125GB ssd.

Last edited by paxmark1 (2014-09-25 22:30:26)


Jean Vanier wrote "Being Human" and "A Short History of Progress" by Ronald Wright.  Gotta love the Massey Lectures.

Offline

#12 2014-09-24 00:39:36

jeffreyC
#! Die Hard
Registered: 2010-09-02
Posts: 596

Re: #! on an SD Card: Pros-Cons?

To avoid needing a swap partition, you could use ZRam

https://wiki.debian.org/ZRam


There's a reason you separate military and the police. One fights the enemies of the state, the other serves and protects the people. When the military becomes both, then the enemies of the state tend to become the people.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo