Questions tagged [partition]

Partitions are individual divisions of hard disk drives. Drives may be split up in to multiple partitions, so that they act as if many drives were connected.

Multiple partitions allow for separation of files (e.g. system files vs. user data), and simplify independent multi-boot setups.

136 questions
185
votes
5 answers

How can I resize my / (root) partition?

Even though my SD card is 16GB, the image I flashed onto it was only 2GB and now I can only see 2GB of storage space on the disk. How can I resize the image so that I have more space on my root partition?
Jivings
  • 22,458
  • 11
  • 89
  • 139
26
votes
3 answers

What's the difference between UUID and PARTUUID?

I've followed the procedure in the raspberry pi forums to make my Raspberry Pi 3 use an USB key instead of the SD card as root filesystem in the hope to make it more robust to power loss. The process worked, but I lost time because I confused UUID…
AProgrammer
  • 363
  • 1
  • 3
  • 5
23
votes
2 answers

How to get remaining memory in SD Card?

I have 16 GB SD card where I installed Raspbian using Win32 Disk Imager. After burning the image in Windows it shows only around 40+ MB of free space. Since Raspbian image is around 2 GB where is rest of the memory? In Linux, using GParted I am…
user40138
  • 363
  • 2
  • 5
  • 10
22
votes
4 answers

Image of a 16Gb card containing unpartitioned space at the end: Truncating possible?

I wanted to prepare a distro for some friends. As I didn't have anything else lying around, I used a 16Gb SD card. I started with the default Debian Weezy 2Gb image and did not do any resizing. Now, as I am done, I wanted to create an image of what…
Nippey
  • 671
  • 1
  • 7
  • 12
22
votes
5 answers

Copy current SD image to larger SD card

So I got my new pi and the only free SD I had was 2GB. I couldn't hold off playing with it so it had to do for the time being. I loaded raspbmc and then spent time loading repositories, add-ons and customizing to my liking. I now I have a 16GB class…
Kevin Brey
  • 598
  • 1
  • 3
  • 9
19
votes
1 answer

How do I create and mount a partition using the remainder of my SD card?

I have seen instructions for resizing the partition here, but how do I create a whole new partition using the remaining space, and then mount it?
David Sykes
  • 1,435
  • 3
  • 19
  • 28
19
votes
7 answers

How to mount a Raspbian SD card on a Mac?

I have a running Raspberry Pi image. Now I want to do the following: Access the files on my Mac when accessing the SD Card Be able to copy the SD Card to have a clone of the current system In Disk Utility I see the partitions disk1s3 and disk1s6…
Besi
  • 844
  • 4
  • 11
  • 22
14
votes
4 answers

btrfs root filesystem on raspbian

I thought I might experement with btrfs as the root partition to see how it handles file corruption during power cuts. But I can't get it to boot. What I did: on the PI before switching: apt-get install btrfs-tools 2. From a linux…
GuySoft
  • 895
  • 2
  • 9
  • 25
13
votes
2 answers

How do I resize my debian partition?

I've seen advice here for resizing, which is fine if you have another linux distribution to work with. How can I do resize the partition otherwise? Are there any Windows tools for example?
weston
  • 321
  • 5
  • 11
13
votes
1 answer

How can I mitigate the need for manual intervention with remotely deployed Raspberry Pis?

I'm working on a project that makes use of Raspberry Pis which will be deployed to several locations. They have special hardware attached to it for automation purposes, and run a web-service (that I wrote) to access the hardware. We will…
BobIsNotMyName
  • 231
  • 1
  • 2
9
votes
3 answers

Custom recovery partition

I am working on a project where upgrades to the Raspberry PI will over HTTP, and the Raspberry PI will not be directly accessible (cannot just swap cards). I would like to have a partition setup like so: Partition 1- /boot (contains kernels for…
beatgammit
  • 91
  • 7
8
votes
1 answer

Netbooting multiple "workers" RPi from a "master" RPi

My question is, I believe, a little bit complex, and I think it would be better to fully describe what I have and what I want to achieve, with what I am able to do. What I have I have a group of RPi 3B+, with one RPi serving as a Master of the…
Longwelwind
  • 83
  • 1
  • 6
8
votes
1 answer

How to shrink root / partition and add a new one

I have a 4 GB SD card with only two partitions /boot ~50 Mb / (root) ~3900 Mb ext4 and I need to shrink the root partition to about 3 GB to use the following schema /boot ~50 Mb / (root) ~3000 Mb ext4 /var ~900 Mb ext4 Then I want to mount /…
Alessandro Da Rugna
  • 1,206
  • 3
  • 13
  • 17
8
votes
1 answer

Loading the NOOBS image for 1st time -- What's the purpose of the "Data Partition" selection

I hate to sound stupid but I just wanted to know, when I copy and paste the NOOBS package onto a fresh microsd and load it into my pi, on first startup I get these options: Raspbian Data Partition Raspian - Boot to Scratch I understand option #1 &…
user3658362
  • 81
  • 1
  • 2
6
votes
2 answers

How to make a Raspberry Pi SD partition accessible from windows and raspbian?

I'm trying to make a partition on my Raspberry Pi SD card that allows me to access it from a Windows system as well as from linux. How I've to proceed? For example: On my SD card with 8GB I've 4GB used by the Raspbian partition and i want to create…
Alejandro Rosas
  • 63
  • 1
  • 1
  • 4
1
2 3
9 10