Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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.

Filter by
Sorted by
Tagged with
171
votes
5answers
329k views

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 ...
23
votes
2answers
85k views

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 ...
20
votes
4answers
51k views

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 ...
18
votes
4answers
35k views

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, ...
16
votes
1answer
20k views

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?
13
votes
2answers
23k views

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 ...
13
votes
1answer
574 views

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 ...
11
votes
5answers
44k views

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 ...
11
votes
4answers
7k views

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 ...
10
votes
2answers
2k views

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?
8
votes
3answers
1k views

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 ...
8
votes
1answer
10k views

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) ~...
7
votes
1answer
2k views

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 ...
7
votes
1answer
8k views

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 ...
6
votes
2answers
21k views

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 ...
5
votes
1answer
6k views

Correctly partition 4TB drive with enclosure using Pi

When I first connected my new hard drive enclosure with 4TB drive to my Pi, the drive was not listed when I typed sudo fdisk -l. I want to mount this drive, but I think I first need to partition it ...
5
votes
3answers
17k views

Move 16GB SD NOOBS Raspbian to 64GB Micro SD for a new B+

I am upgrading to a Raspberry Pi B+. These are my concerns: I have RASPBIAN via NOOBS on a full sized 16GB SD card. How do I get that onto a 64GB Micro SD card? raspi-config does NOT support ...
5
votes
2answers
3k views

NOOBS multiboot - resize partitions

I just started playing with NOOBS and a question came to my mind. I installed Raspbian, OpenELEC and OSMC on the same SD. The config didn't ask how I wanted to split the memory for the three OSs and ...
4
votes
2answers
722 views

Can't boot after adding a third partition to sd card

I am trying to create a third FAT32 partition on the SD card that consumes the free space on the card not used by the image. I want this instead of the root partition being resized. Creating the ...
4
votes
1answer
2k views

Why won't my raspberryPi boot if I use parted to adjust the partition?

I've been struggling to figure out a boot problem with the RaspberryPi 3 (I've not tested other models) using a modified Raspbian Jessie Lite image, and finally narrowed down to something to do with ...
3
votes
5answers
663 views

Shrinking partition for backup

I have a large SD card ~60G. I expanded Rasbian to the entire disk but now I want to make backups. Preferable backups that aren't 60G. How do those with large SD cards go about this? Granted I'm only ...
3
votes
3answers
5k views

Raspberry Pi not booting at all with most images, but with some it does

I am having a very basic problem with my raspberry PI: It can't get it boot when I flash Images with dd on Linux nor with Win32 Image Writer on Windows. I tried several *.img-images, such a as Arch, ...
3
votes
2answers
3k views

How to use external flash drive as raspberry pi 3 root storage?

What I want to be able to do is make my raspberry pi use my 1TB Flash drive as the root file system drive for raspberry pi so I can run everything trough it. I want to do this because my current SD ...
3
votes
2answers
9k views

How can I run gparted over ssh?

I'm SSHing into my RPi, with X forwarding enabled. I'm trying to run gparted, but it seems to fail for me. $ gksudo gparted ====================== libparted : 2.3 ====================== The program '...
3
votes
1answer
113 views

make boot disk on disk with failed sectors?

I have several sd micro SD cards that have a failed sector or two. But i don't see why i shouldn't be able to make a boot disk out of them. Unfortunately, dd fails when it encounters a bad sector, and ...
3
votes
4answers
6k views

can I use a disk larger than 320 GB with RPi?

I have a 500GB Toshiba 2.5' HD, which I formated using Debian Wheezy 64bit. I created 2 partitions (180GB and 320GB). RPi would only recognize the first partition. So, I tried creating the ...
3
votes
2answers
4k views

Dual boot for the rpi

Is it possible to have dual boot partitions on usb stick switchable by berryboot loader via vnc. I need to have a backup boot partition with raspbian Bootable on it. So that if my primary partition ...
3
votes
1answer
95 views

Migrating part of existing system into a pendrive

I've had a 2GB SD card containing a Arch Linux installation running for a while now, and decided to buy a 16GB pendrive to extend its space. I've formatted it to ext4 to match the filesystem on the ...
2
votes
2answers
6k views

Expanding partition on SD

I have a Raspberry Pi running Openmediavault and I need to expand the main partition as I’m running out of space. I’ve got a 2013 i7 (64bit) MacBook and I’ve been trying to boot GParted from a usb ...
2
votes
2answers
37 views

Why is the volume ID of the root partition of Raspbian always [7ee80803]?

I noticed that no matter which microSD card I burn the Raspbian image onto, its "identifier" is always 7ee80803. This appears counter-intuitive to be because "disk identifier" is something written in ...
2
votes
3answers
5k views

How to shrink the size of your sd card before using dd to backup your sd card [duplicate]

I use 32gb micro sd card for my raspibian. I use dd this command to backup it. But, I found it is too large. How to shrink it before I backup it? Thanks. Add words: I had used a 16gb sd card. Then, ...
2
votes
2answers
5k views

Formatting 64/128gb microSC card to run on RP3

I had no success with experimenting on my SanDisk Ultra 64GB microSDXC UHS-I (SDSQUNC-064G-GN6MA). I tried formatting entire one to Fat, Fat32 using 3rd party software, making small Fat/Fat32 ...
2
votes
2answers
702 views

Raspberry Pi backup server (windows & mac)

I would like to set up my raspberry pi model B and my 2TB hard drive as a backup server for both my windows pc and my mac. I would like to partition my hard drive such that 300GB is for mac time ...
2
votes
1answer
159 views

dd corrupts my SD card

I have encountered the following issue with the installation of RASPBIAN on my RPi Model B. I have downloaded the raspbian image but when I flash it on my SD card via sudo dd bs=1M if=image.img of=/...
2
votes
1answer
3k views

Partitioning SD Card For Multiple OS

is it possible to partition the SD card and install 2 different OS on it? Rather than installing another OS onto a seperate SD card. I was just wondering as I'd like to be able to have openelec + XBMC ...
2
votes
1answer
97 views

Overlapping SD Card Partitions

I have a 32GB SD card that I have been using for a year or so and when troubleshooting a separate issue I noticed that the partition table looks very different than the other Raspbian images I have ...
2
votes
1answer
774 views

The .img file transferred to SD Card generates no valid partition table

My RapsBerry Pi 2 B boots Ubuntu 14.04LTS fine in a 32GB SD HC Card, but it does not boot at all (nothing on screen) when trying with Kali Linux v1.1.0. I tried transferring the .img file from Linux ...
2
votes
1answer
15k views

“no space left on device” on fresh install

I did a fresh install of NOOBS on a 4gb SD card. As soon as I did apt-get update && apt-get upgrade, I got an error with a message that there is "no space left on device". I thought that ...
2
votes
3answers
932 views

View files on a Raspbian SD Card from a Mac?

Recently, my Pi 3 broke, and I had some important files on its Raspbian Stretch SD card. I would like to get these files off the SD card without buying a whole new Pi. Does anyone know a way of doing ...
2
votes
1answer
60 views

Multiple /media/user/SETTINGS* directories yet only one partition

I am running Raspbian Stretch on a Pi 3 B+. One thing I noticed is that I have more /media/user/SETTINGS* than actual partitions. See, I have 3 directories: $ ls -la total 17 drwxr-x---+ 5 root root ...
2
votes
1answer
1k views

Why are the /boot partition from Raspberry Pi and a EFI system partition (ESP) both formatted as a FAT32 partition? [closed]

I understand that each processor has its own specific way of starting. Fact is that both of them (RPi and UEFI boot) need a small FAT partition to boot, both around 100MB. Is there any reason for ...
2
votes
1answer
900 views

Strange fdisk output for USB device

I am trying to access a USB thumb drive. The drive has been formatted using Windows 10's format utility. Nothing fancy: One (empty) FAT32 partition (named "VOLUME") taking up the drive's entire ...
2
votes
0answers
1k views

Bad magic number in super-block when trying to resize RPi image

I'm trying to follow RomanG's instructions in this thread: http://www.raspberrypi.org/forums/viewtopic.php?f=91&t=19468 on the Raspberry Pi Forums in order to shrink a Raspbian Image to fit on a ...
2
votes
0answers
3k views

Unable to expand filesystem on SD card running Raspbian

I'm new to Raspberry Pi and I just flashed the SD card and installed Raspbian on it. After reboot, I used raspi -config to expand file system. However, I get the error Your partition layout is not ...
2
votes
1answer
2k views

Expand root partition arch [duplicate]

I have just installed Arch to a 8GB SD card, but it only uses c. 2GB of the disk. How do I expand it to fill the whole card, like rasp-config does? Is there some way to put rasp-config on Arch?
2
votes
2answers
787 views

I can't expand my root space

I'm using Kali 2.1 on RPi2 (armhf) and I've got problem with expanding my root partition from 3GB to 28GB When I try to expand via GParted it's saying that the partition is mounted: error: e2fsck -...
1
vote
3answers
52 views

Editing Pi 3 System files on SD outside Linux?

Following the Tutorial - How to give your Raspberry Pi a Static IP Address my Pi 3+ doesn't appear on network. I have no HDMI display and I am trying to restore the original /etc/network/interfaces. ...
1
vote
1answer
436 views

Mounting one USB stick to multiple locations [closed]

I have a USB stick permanently mounted to my Pi to increase its storage capacity and to reduce strain on the ever so volatile SD card. At present, the USB stick is mounted to one of the users' home ...
1
vote
2answers
1k views

Unable to mount Win95 FAT32 (LBA) boot partition of freshly imaged external hard drive on host machine, to make Pi boot from USB

So here's my problem: I really want to have a large swap space (and native persistent storage as well), so I decided I want to be able to boot Pi from USB. So far, I'm at the part where I need to copy ...
1
vote
1answer
167 views

using linux command line to format and partition an sd card for raspberry pi

I need help understanding how to format and partition and sd card for raspberry pi 4 from linux command line please. I have downloaded an iso image for raspian light (not noobs). Question: If I am ...