Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: marcolazzaroni on October 30, 2012, 08:04:35 PM

Title: Is boot from 4GB Sd card possible?
Post by: marcolazzaroni on October 30, 2012, 08:04:35 PM
Is boot from a HC SD Card possible?
I'd need a higher capacity than 2 GBytes, so I wonder if I can create a bootable SD Card with 4 or 8 GB capacity.
Cheers
  Marco
Title: Re: Is boot from 4GB Sd card possible?
Post by: jeroends on October 30, 2012, 11:33:32 PM
no problem at all, I use 2, 4 and 8Gb cards. Only bigger and smaller I haven't tried.
Title: Re: Is boot from 4GB Sd card possible?
Post by: dingbatca on October 31, 2012, 05:35:29 PM
8GB working just fine
Title: Re: Is boot from 4GB Sd card possible?
Post by: Kean on November 01, 2012, 07:31:36 PM
Yes, I've also used 2GB, 4GB, and 8GB microSD cards.
I use gparted on a PC running Ubuntu to adjust the main partition to fill the majority of the card.
Title: Re: Is boot from 4GB Sd card possible?
Post by: nidalpres on November 01, 2012, 07:58:22 PM
Kernel has 2TB+ support enabled by default so you should be good with all sizes.
I'm using 4GB microSD and just untar rootfs to second (big) partition after build.
Title: Re: Is boot from 4GB Sd card possible?
Post by: marcolazzaroni on November 03, 2012, 10:27:15 AM
Thank you all!
I've not understood what went wrong the first two times but now I'm able to boot from 4GB SD Cards too.
Cheers
  Marco
Title: Re: Is boot from 4GB Sd card possible?
Post by: marcolazzaroni on November 03, 2012, 12:21:55 PM
I noticed a strange thing: with 2 identical SD Card (same kernel and rootfs), the 2GB card boots in 20 seconds, the 4GB card boots in one minute and ten seconds.
Quite strange...
Title: Re: Is boot from 4GB Sd card possible?
Post by: dpwhittaker on November 03, 2012, 07:13:57 PM
Sd cards come in different speed classes.  Larger sd cards are harder to make fast, so usually come in lower speed classes (or are more expensive).  On top of that, larger drives take longer to mount.  So if boot time is an issue for your app, you want 2gb class 10 sd cards.