Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upMissing instructions for adjusting partition table and filesystem after growing HVM disk image #2378
Comments
andrewdavidwong
added
C: doc
task
labels
Oct 14, 2016
andrewdavidwong
added this to the
Documentation/website milestone
Oct 14, 2016
andrewdavidwong
changed the title from
Documentation issue
to
Missing instructions for adjusting partition table and filesystem after growing HVM disk image
Oct 14, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Oct 14, 2016
Member
@psionin @andrewdavidwong
There are instructions for Windows 7 and FreeBSD - do we need to add instructions for Linux or just a line that says something like "use the appropriate commands for your OS".
Or is the issue that the format of the headings doesn't make it clear that those are subheadings, following the colon?
|
@psionin @andrewdavidwong |
unman
referenced this issue
in QubesOS/qubes-doc
Oct 14, 2016
Merged
Update resize-disk-image.md #202
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Oct 15, 2016
Member
@unman: It could be either or both. I'll add clarifications on top of your PR.
|
@unman: It could be either or both. I'll add clarifications on top of your PR. |
andrewdavidwong
closed this
in
QubesOS/qubes-doc#202
Oct 15, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
psionin
Oct 16, 2016
I was coming from using the Qubes VM Manager to resize a VM using the GUI. It does all the steps necessary except the last one, that needs to be done inside the VM.
sudo resize2fs /dev/mapper/dmroot is the specific command, which could save some time if included in the doc or VM Manager notification.
psionin
commented
Oct 16, 2016
|
I was coming from using the Qubes VM Manager to resize a VM using the GUI. It does all the steps necessary except the last one, that needs to be done inside the VM.
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Oct 16, 2016
Member
@psionin @andrewdavidwong The problem is that in a HVM we have no idea how the disk is partitioned or used. For example, in a default Debian install, there would be /root and /swap in an extended partition. Growing the image creates free space at the end of the disk. resize2fs doesn't touch partitions so in this case would be no use.
There really isn't a general answer to this - it's so dependent on how the disk is partitioned in the first place, and where the user wants to use the new space.
|
@psionin @andrewdavidwong The problem is that in a HVM we have no idea how the disk is partitioned or used. For example, in a default Debian install, there would be /root and /swap in an extended partition. Growing the image creates free space at the end of the disk. resize2fs doesn't touch partitions so in this case would be no use. |
psionin commentedOct 14, 2016
https://www.qubes-os.org/doc/resize-disk-image/
Missing instructions after "The partition table and file-system must be adjusted after this change:"
under the HVM disk image section
Please fix.