Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Adafruit Logo
0

Resizing the Raspberry Pi Boot Partition

Image for user pburgess
published May 30, 2016, last edited March 08, 2024
Save Link Note Download
31
Beginner
Skill guide

Overview

raspberry_pi_banner.jpg

Though the Raspberry Pi computer is eminently networkable, some projects still just work best by physically moving the SD card to a desktop system to exchange data…but normally only a small section of the card is accessible to Windows and Mac computers. This guide explains one way of making more space available to both the Pi and other systems.

Some examples of projects that work this way include cameras, data loggers and handheld game consoles…anywhere a network connection can’t be assumed. This is the decades-old tradition of “Sneakernet” — once done with floppy disks or tape, but still occasionally relevant in our age of flash memory.

Utilities exist to allow Windows and Mac systems to access the main SD partition, but I prefer the following method as it allows a stock PC to read and write the card, vital when working in the field or on a borrowed computer.

Items Needed

In most cases,two Raspberry Pi computers are required…

One is the “target” system — usually embedded into a project, this is the camera or data logger or game console, whatever you’re building. Sometimes it might be a “headless” system with no display.

The other is the “setup” system — this runs a full version of the Raspbian desktop operating system, hasnetworking capability, withkeyboard,mouse andmonitor attached. A RaspberryPi 3,Pi 2, orModel B+ are ideal for this, since they have ample USB ports (and built-in WiFi on the Pi 3).

There are some exceptions where this can be done with a single system, or an alternate setup system…more on that in a moment.

Also required:

  • USB flash card reader.
  • Two micro SD cards: thesetup system requires an8 GB or larger card, thetarget can be most any size, though4 to 32 GB is ideal…whatever your target operating system requires, plus space for the data to be moved between systems.
  • Depending on your network and setup system features, an Ethernet connection or a USB WiFi adapter may be required (WiFi is built-in on Pi 3).

Some prior Raspberry Pi experience is assumed; writing an SD card, connecting to networks, etc. If you’re new to Raspberry Pi and any of this is unfamiliar, begin with our starter tutorials in theLearn Raspberry Pi series.

What if I’ve Only Got One Raspberry Pi?

If your target system is a “full featured” Pi — something like a Pi 3, Pi 2 or Model B+, easily networked and with many USB ports — it’s no problem, the target system can also act as the setup system, just switch SD cards when needed.

If your target is a “feature-limited” Pi — like a Model A+ or Pi Zero — you can still do your setup on this system, but unless you already own a collection of the required dongles (powered USB hub, WiFi or Ethernet adapter, mini-to-full-size HDMI adapter for Pi Zero, etc.), it’s easier and often cheaper just to order the latest Pi board to do the setup than to deal with all these parts. And when you’re done, now you have an extra Pi to play around with.

But there’s one more option…if you have a desktop or laptop computer running any of the popular Linux desktop distributions (e.g. Ubuntu, Debian, etc.)…often you can use this as the “setup” system, the necessary software (gparted) is usually already installed. You’ll only need one Raspberry Pi (the target system) and one SD card in this situation.

Page last edited May 21, 2016

Text editor powered bytinymce.

Related Guides
Search

Search

Categories

[8]ページ先頭

©2009-2025 Movatter.jp