CRP99
Posts: 36
Joined: Mon Jan 27, 2014 12:11 am

Setting Up the SD Card

Sat Feb 15, 2014 6:51 pm

Hi all, I just have a quick question:

Before using WinDisk32Imager to flash the image file of the Raspbian OS to an SD card, do you first need to use the SD card formatting tool (found here https://www.sdcard.org/downloads/formatter_4/), or is this step only necessary when using NOOBS?

Thanks

User avatar
richiepp
Posts: 140
Joined: Wed Dec 19, 2012 4:56 pm

Re: Setting Up the SD Card

Sat Feb 15, 2014 6:54 pm

I've done it with a brand new card without first formatting. Be sure to expand the partition when you first log on.

Good Luck!
Rich

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5798
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Setting Up the SD Card

Sat Feb 15, 2014 7:05 pm

CRP99 wrote:Hi all, I just have a quick question:
Before using WinDisk32Imager to flash the image file of the Raspbian OS to an SD card, do you first need to use the SD card formatting tool (found here https://www.sdcard.org/downloads/formatter_4/), or is this step only necessary when using NOOBS?
Thanks
WinDisk32Imager should overwrite the whole card with the disk image and so SDFormatter should not be needed. However, if you are re-using an SDHC card that may have suffered "corruption" (due to power glitches, bad shutdowns ...) IIRC, it has been suggested that using SDFormatter's full overwrite mode may be helpful in recovering the full capacity. (Windows may not "see" beyond the corruption)
Trev
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Setting Up the SD Card

Sat Feb 15, 2014 7:06 pm

CRP99 wrote:Before using WinDisk32Imager to flash the image file of the Raspbian OS to an SD card, do you first need to use the SD card formatting tool (found here https://www.sdcard.org/downloads/formatter_4/), or is this step only necessary when using NOOBS?
The latter. Win32DiskImager writes a bit-by-bit copy of the content of the image file onto the SD card, ignoring (and destroying) any existing data or partition structure on the SD card. Using SDformatter in this situation is therefore redundant, but not harmful.

(But I agree with the previous reply's emphasis on should and may... )
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

CRP99
Posts: 36
Joined: Mon Jan 27, 2014 12:11 am

Re: Setting Up the SD Card

Sat Feb 15, 2014 7:22 pm

Thanks for that quick response (which could be the understatement of the year thus far, considering that it literally only took about 3 minutes) :lol:
richiepp wrote:...Be sure to expand the partition when you first log on...
Also, I have seen things about expanding the partition in numerous places, and I don't think I fully grasp the concept of it quite yet.

From what I understand, the purpose of expanding the partition is to speed up the performance/response of the OS, which would otherwise be limited. I think it has to do with something inherent with the structure of flash memory, where expanding the partition effectively places it across more easily accessible memory locations... or something to that effect that.

My only question about that is whether the expanding partition would leave me with less room on the card for saving other things, like programs, applications, and the like?

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Setting Up the SD Card

Sat Feb 15, 2014 7:31 pm

CRP99 wrote: From what I understand, the purpose of expanding the partition is to speed up the performance/response of the OS, which would otherwise be limited. I think it has to do with something inherent with the structure of flash memory, where expanding the partition effectively places it across more easily accessible memory locations... or something to that effect that.
No, nothing like that at all.
My only question about that is whether the expanding partition would leave me with less room on the card for saving other things, like programs, applications, and the like?
The opposite. The installed Operating System - if installed by 'flashing' from a .img file - only takes up the minimum possible space on the SD card. The remaining space is inaccessible for "saving other things, like programs, applications, and the like". Expanding the filesystem via the option in raspi-config makes as much as possible of the SD card capacity available to you for these purposes.

NOOBS shares out SD card space differently, so the option in raspi-config is not useful in this situation.
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

CRP99
Posts: 36
Joined: Mon Jan 27, 2014 12:11 am

Re: Setting Up the SD Card

Sat Feb 15, 2014 7:43 pm

DeeJay wrote: The opposite. The installed Operating System - if installed by 'flashing' from a .img file - only takes up the minimum possible space on the SD card. The remaining space is inaccessible for "saving other things, like programs, applications, and the like". Expanding the filesystem via the option in raspi-config makes as much as possible of the SD card capacity available to you for these purposes.

NOOBS shares out SD card space differently, so the option in raspi-config is not useful in this situation.
Ohhhh, so the flashing process of the .img file makes the rest of the card's storage inaccessible, and expanding the filesystem corrects this issue. Got it now.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5798
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Setting Up the SD Card

Sat Feb 15, 2014 9:18 pm

CRP99 wrote:
DeeJay wrote: The opposite. The installed Operating System - if installed by 'flashing' from a .img file - only takes up the minimum possible space on the SD card. The remaining space is inaccessible for "saving other things, like programs, applications, and the like". Expanding the filesystem via the option in raspi-config makes as much as possible of the SD card capacity available to you for these purposes.
NOOBS shares out SD card space differently, so the option in raspi-config is not useful in this situation.
Ohhhh, so the flashing process of the .img file makes the rest of the card's storage inaccessible, and expanding the filesystem corrects this issue. Got it now.
FWIW, a screenshot based guide to the process which illustrates the partition size changes etc. (via Ubuntu Linux tools) can be found at: http://www.cpmspectrepi.webspace.virgin ... _SDHC_Card , albeit for an older version of Raspbian.
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

Return to “Raspberry Pi OS”