question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: option to resize partitions/filesystems on disk to fill available space

See original GitHub issue
  • Etcher version: All
  • Operating system and architecture: All
  • Image flashed: Raw disk images
  • Do you see any meaningful error information in the DevTools? n/a

Use case for this feature request: I have a build process whose output artefact is a raw disk image with two partitions. This image then gets flashed onto boot media of various sizes. Since the size isn’t known ahead of time, the image can’t be pre-sized to the boot media. That means the process for flashing looks like this, resizing the partition with parted and then the filesystem with e2fstools:

etcher my-image.img # or dd if=my-image.img of=/dev/sdX if you're feeling dangerous
parted -s /dev/sdX resizepart 2 '100%'
resize2fs /dev/sdX2

Could this be implemented as part of Etcher? For the UI, perhaps a check-box for ‘Attempt to maximize partition size’, and a similar command line option?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:8
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
cyberbcommented, Feb 14, 2021

Syncloud project is willing to pay for this feature £100 even if it is a Linux only option, job proposal is published at upwork.com

1reaction
lurchcommented, May 18, 2017

I’m fairly sure we discussed this before somewhere, but Github search isn’t finding the right issue discussion for me…

Etcher simply copies the disk image byte-perfect onto the destination drive, and doesn’t mess about with the partition tables at all. So I dunno if we’ll be adding this feature anytime soon. In the meantime, perhaps you could use the same workaround that Raspbian uses, where it automatically enlarges the root partition the first time it boots up?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix - Not Enough Space on the Disk to Complete This Operation
Step-by-step guide on how to remove "there is not enough space available on the disk(s) to complete this operation" while creating/resizing ...
Read more >
Format and edit partitions on any operating system - Acronis
When you know how to create, resize and format partitions, you unlock new, flexible capabilities. You decide where your data is stored and ......
Read more >
Extend a Windows file system after resizing a volume
After you increase the size of an EBS volume, use the Windows Disk Management utility or PowerShell to extend the disk size to...
Read more >
Troubleshooting full disks and disk resizing - Google Cloud
Delete files that you don't need on the disk to free up space. ... data (non-boot) persistent disk, you must manually resize the...
Read more >
UEFI/GPT-based hard drive partitions - Microsoft Learn
Create custom partition layouts for your hard disk drives (HDDs), ... Recovery Environment (Windows RE) tools require additional free space:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found