Bug 991641 - virt-sysprep fs-uuids plugin doesn't update UUIDs in fstab, elsewhere
Summary: virt-sysprep fs-uuids plugin doesn't update UUIDs in fstab, elsewhere
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2013-08-03 08:24 UTC by Richard W.M. Jones
Modified: 2023-06-15 12:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Richard W.M. Jones 2013-08-03 08:24:09 UTC
Description of problem:


I disabled the fs-uuids plugin in virt-sysprep because it
most likely breaks the guest.

To fix this we have to identify all the places in the guest
which use the UUID and fix them up.  eg:

 - /etc/fstab
 - initramfs
 - Windows boot loader
 - grub
 - others?

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. virt-sysprep --enable fs-uuids -a disk.img
2. Try to boot disk.img afterwards.

Actual results:

Guest won't be able to find and mount its root filesystem.

Comment 1 Richard W.M. Jones 2013-08-03 08:24:55 UTC
The link should be:


Comment 2 Dominic Kohls 2023-05-22 15:28:18 UTC
Does anyone have this on their list? Will this ever get fixed?

Comment 3 Richard W.M. Jones 2023-05-22 15:33:51 UTC
I don't think so.  However the source is open if you would like to have a go.

Note You need to log in before you can comment on or make changes to this bug.