no tools available to resize disk with 'gpt'

Bug #1605589 reported by Marcin Juszkiewicz
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CirrOS
Fix Committed
High
Scott Moser

Bug Description

During boot there is an attempt to resize disk. But as we moved to GPT current resizer does not know how to follow:

no tools available to resize disk with 'gpt'
FAILED: failed to get a resizer for id ''
failed growing /dev/root
WARN: /etc/rc3.d/S55-resizefs failed

Related branches

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

One of solutions:

- add sgdisk and e2fsprogs into image
- run "fsck /dev/vda1; sgdisk -d 1 -N 1 /dev/vda; resize2fs /dev/vda1"

After that vda1 should occupy whole hard drive space.

Revision history for this message
Scott Moser (smoser) wrote :

growpart can use sfdisk to resize gpt with newer versions of sfdisk.
not sure why this would nto work.

e2fsprogs should be there.

Scott Moser (smoser)
Changed in cirros:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Scott Moser (smoser) wrote :

believed to be fixed by grabbing newer util linux in revno 378

Changed in cirros:
assignee: nobody → Scott Moser (smoser)
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.