# \[SOLVED\] Expand partition after flashing.

**URL:** <https://community.volumio.com/t/solved-expand-partition-after-flashing/3665>\
**Category:** Guides\
**Created:** [February 21, 2016, 10:10am UTC](https://community.volumio.com/t/solved-expand-partition-after-flashing/3665 "2016-02-21T10:10:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaosMusic](https://community.volumio.com/user_avatar/community.volumio.com/chaosmusic/32/256_2.png) [@chaosMusic](https://community.volumio.com/u/chaosMusic)\
**Post date:** [February 21, 2016, 10:10am UTC](https://community.volumio.com/t/solved-expand-partition-after-flashing/3665/1 "2016-02-21T10:10:05Z")

</div>

Hello everyone,  
I just flashed my 1.55 volumio and of course like any raspbian distro i wish extend the partition to fill all the space in the SD card.  
I should see 3 partition like here:

[chrisnewland.com/resize-ras … rry-pi-245](https://www.chrisnewland.com/resize-raspberry-pi-sd-card-partition-to-fill-32gb-card-from-a-running-raspberry-pi-245)

but i see only 2 partition, i deleted the #2 and create a new one.  
It does not works 👿👿  
It seems like there is an hidden partition, why?

---

<div class="post-metadata">

**Author:** ![chaosMusic](https://community.volumio.com/user_avatar/community.volumio.com/chaosmusic/32/256_2.png) [@chaosMusic](https://community.volumio.com/u/chaosMusic)\
**Post date:** [February 23, 2016, 10:20am UTC](https://community.volumio.com/t/solved-expand-partition-after-flashing/3665/2 "2016-02-23T10:20:54Z")

</div>

I found it the solution.

I need to run only:

```auto
sudo resize2fs /dev/mmcblk0p1
```

Seems to work

---

<div class="post-metadata">

**Author:** ![luuk](https://community.volumio.com/letter_avatar_proxy/v4/letter/l/8e7dd6/32.png) [@luuk](https://community.volumio.com/u/luuk)\
**Post date:** [March 15, 2016, 7:19am UTC](https://community.volumio.com/t/solved-expand-partition-after-flashing/3665/3 "2016-03-15T07:19:28Z")

</div>

For whomever it may concern: in here you can find the complete step-by-step manual on how to increase/expand the partition size of Volumio:

[faq-and-the-answers-for-t1545.html](https://volumio.org/forum/faq-and-the-answers-for-t1545.html) “Increase the partition size”

---

<div class="post-metadata">

**Author:** ![dice](https://community.volumio.com/letter_avatar_proxy/v4/letter/d/35a633/32.png) [@dice](https://community.volumio.com/u/dice)\
**Post date:** [May 2, 2016, 7:04pm UTC](https://community.volumio.com/t/solved-expand-partition-after-flashing/3665/4 "2016-05-02T19:04:00Z")

</div>

Hey,  
I went exactly trought the instructions ([FAQ](https://volumio.org/forum/faq-and-the-answers-for-t1545.html)) (twice) and i couldnt log on afterwards both times (ssh).  
I get the error “Bad file number”. Any clues? Is `
sudo resize2fs /dev/root
` only from “onBoard” possible?! I havent got an HDMI device 😕  
Raspi B+, 16Gb Class 10 SDCard, wired connection, Volumio2

Thanks, regards  
d

---

<div class="post-metadata">

**Author:** ![wga22](https://community.volumio.com/user_avatar/community.volumio.com/wga22/32/261_2.png) [@wga22](https://community.volumio.com/u/wga22)\
**Post date:** [September 7, 2016, 2:21am UTC](https://community.volumio.com/t/solved-expand-partition-after-flashing/3665/5 "2016-09-07T02:21:19Z")

</div>

I can see that the 3rd partion is there, but it isnt mounted (that I can tell…pardon my self taught linux skills). How are we supposed to put music on it?

```auto
/dev/mmcblk0p2 2.0G 529M 1.4G 28% /imgpart
/dev/loop0 263M 263M 0 100% /static
overlay 13G 844M 11G 8% /
devtmpfs 233M 0 233M 0% /dev
tmpfs 242M 0 242M 0% /dev/shm
tmpfs 242M 4.8M 237M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 242M 0 242M 0% /sys/fs/cgroup
tmpfs 242M 16K 242M 1% /tmp
tmpfs 242M 0 242M 0% /var/spool/cups
tmpfs 242M 360K 241M 1% /var/cache/apt/archives
tmpfs 242M 60K 242M 1% /var/log
tmpfs 242M 0 242M 0% /var/spool/cups/tmp
/dev/mmcblk0p1 61M 29M 33M 47% /boot
tmpfs 49M 0 49M 0% /run/user/1000
```

```auto
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 1 125000 125000 61M c W95 FAT32 (LBA)
/dev/mmcblk0p2 125001 4492187 4367187 2.1G 83 Linux
/dev/mmcblk0p3 4492188 31116287 26624100 12.7G 83 Linux
```

---

<div class="post-metadata">

**Author:** ![wga22](https://community.volumio.com/user_avatar/community.volumio.com/wga22/32/261_2.png) [@wga22](https://community.volumio.com/u/wga22)\
**Post date:** [September 26, 2016, 8:57pm UTC](https://community.volumio.com/t/solved-expand-partition-after-flashing/3665/6 "2016-09-26T20:57:40Z")

</div>

In Volumio2 it looks like the media is put on the 3rd partition, that is automatically sized to be full remainder of the partition. you wont see it when you do a df -h (no idea why).

The 2nd partition, is about 4gb, and only seems partially used, but on a 16gb card, I should be fine filling the 3rd partition.

---

<div class="post-metadata">

**Author:** ![volumio](https://community.volumio.com/user_avatar/community.volumio.com/volumio/32/3_2.png) [@volumio](https://community.volumio.com/u/volumio)\
**Post date:** [September 26, 2016, 10:24pm UTC](https://community.volumio.com/t/solved-expand-partition-after-flashing/3665/7 "2016-09-26T22:24:42Z")

</div>

The second partition stores the core system images (factory, current image, and backup image), basically those are snapshots of the system that get loaded on RAM on boot. The third partition is the data partition, where we store changes to the system and user data. It is automatically resized on first boot to fit the entire sd card…

---

<div class="post-metadata">

**Author:** ![dirk0504](https://community.volumio.com/letter_avatar_proxy/v4/letter/d/7feea3/32.png) [@dirk0504](https://community.volumio.com/u/dirk0504)\
**Post date:** [July 17, 2023, 6:22pm UTC](https://community.volumio.com/t/solved-expand-partition-after-flashing/3665/8 "2023-07-17T18:22:09Z")

</div>

Hi there.  
I try to extend my " /dev/mmcblk0p1" / “boot”. Init it is just ~92 MB which is to small for maybe “sudo rpi-update”.

> volumio@volumio:/$ sudo rpi-update  
> \*\*\* Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom  
> \*\*\* Performing self-update  
> \*\*\* Relaunching after update  
> \*\*\* Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom  
> Partition size 91M may not be sufficient for new Pi4 files  
> This could result in a system that will not boot.  
> 256M FAT partition is recommended. Ensure you have a backup if continuing.  
> Would you like to proceed? (y/N)

How can I resize /boot to … let`s say 300 MB?

---

<div class="post-metadata">

**Author:** ![gkkpch](https://community.volumio.com/user_avatar/community.volumio.com/gkkpch/32/17306_2.png) [@gkkpch](https://community.volumio.com/u/gkkpch)\
**Post date:** [July 17, 2023, 7:56pm UTC](https://community.volumio.com/t/solved-expand-partition-after-flashing/3665/9 "2023-07-17T19:56:15Z")

</div>

Apart from you replying to an ancient post, the answer is simple, you should never do an rpi-update with Volumio. Volumio is a dedicated, customized OS, based on Debian but not equal to Rasbian.  
Why the urge to use rpi-update?
