Add instructions on how to resize the main partition on the microSD card #372

Merged
ryanlerch merged 1 commit from rpi-install-linux into main 2022-12-10 11:24:17 +00:00
Contributor

Added more specific instructions on how to resize the main partition on the microSD card due to the increased complexity of the partition layout on recent versions of Fedora. I faced this difficulty myself and found out that others have too.

The arm-image-installer tool automates all of this, but it's not always available depending on the distribution.

I've tested these instructions on a system running Fedora Workstation 34. Parted was already installed by default.

Added more specific instructions on how to resize the main partition on the microSD card due to the increased complexity of the partition layout on recent versions of Fedora. I faced this difficulty myself and found out that [others have too](https://askbot.fedoraproject.org/en/question/122703/how-can-i-resize-the-root-partition-on-a-raspberry-pi-3-b/). The `arm-image-installer` tool automates all of this, but it's not always available depending on the distribution. I've tested these instructions on a system running Fedora Workstation 34. Parted was already installed by default.
Author
Contributor

Does anyone know how to make it so that we don't have to specify a target size? Something that makes it grow through all the available space automatically (like the lvextend -l +100%FREE command)

(parted) resizepart <partition_number> <target_size>
Does anyone know how to make it so that we don't have to specify a target size? Something that makes it grow through all the available space automatically (like the `lvextend -l +100%FREE` command) ``` (parted) resizepart <partition_number> <target_size> ```
Contributor

Metadata Update from @pbokoc:

  • Pull-request tagged with: needs info
**Metadata Update from @pbokoc**: - Pull-request tagged with: needs info
Contributor
@crimsonking Does this help? https://unix.stackexchange.com/questions/373063/auto-expand-last-partition-to-use-all-unallocated-space-using-parted-in-batch-m
Contributor

Not sure what happened here, @crimsonking : could you reply here again please?

Not sure what happened here, @crimsonking : could you reply here again please?
Author
Contributor

Wow, that was strange. I think ProtonMail just sent my message encrypted.

Here's the message:

That's interesting, but unfortunately I can't test it anymore. Someone else will have to continue this

Besides, I was unaware of the fact that Fedora doesn't officially support the Raspberry Pi 4, which is what I was using...

Wow, that was strange. I think ProtonMail just sent my message encrypted. Here's the message: > That's interesting, but unfortunately I can't test it anymore. Someone else will have to continue this >Besides, I was unaware of the fact that Fedora doesn't officially support the Raspberry Pi 4, which is what I was using...
Contributor

Metadata Update from @ankursinha:

  • Pull-request tagged with: help wanted, needs changes
**Metadata Update from @ankursinha**: - Pull-request tagged with: help wanted, needs changes
Contributor

rebased onto 1d70d8156b

rebased onto 1d70d8156be8343fafa935aff2646052b9c101f7
Contributor

Pull-Request has been merged by copperi

Pull-Request has been merged by copperi
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Docs/quick-docs#372
No description provided.