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:
- Created 6 years ago
- Reactions:8
- Comments:9 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
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?