Talk:RPi Easy SD Card Setup

From eLinux.org
Revision as of 14:37, 28 May 2012 by Gus3 (Talk | contribs)

Jump to: navigation, search

Question about deleting the swap partition

Steps 4 and 6 under section "Copying an image to the SD Card in Linux (command line)" assume that the OS will automount the USB SDCard reader. This is not the case with the current release of Debian that's listed on the RPi downloads page. (debian6-19-04-2012) Using the df command with this release does not provide the user with the needed information. I do not (yet) know enough about Linux to provide easy, more reliable instructions. I was able to determine the correct device name by using "tail -f /var/log/messages" and watching for any mention of "sda" or similar while plugging/unplugging the USB SDCard reader. --GG Crew 20:33, 16 May 2012 (UTC)

The steps currently listed under Manually resizing the SD card on Raspberry Pi instruct the user to delete the swap partition (in order to expand the main partition), but never recreate a new swap partition. For a device as limited on RAM as the RPi, this does not seem like a good idea. Hopefully someone with more knowledge than me can update the directions, or explain why we don't need a swap partition. --GG Crew 07:21, 28 May 2012 (UTC)

Having swap space on SSD/Flash isn't a good idea except for testing purposes. Prolonged swapping reduces the MTBF of the unit dramatically. If you're going to go to the trouble of adjusting partitions, it isn't unreasonable to move any needed swap space to some other (safer, or sacrificial) device. Gus3 14:37, 28 May 2012 (UTC)