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
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-03 08:24 UTC by Richard W.M. Jones
Modified: 2018-07-18 14:20 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

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

http://libguestfs.org/virt-sysprep.1.html#fs-uuids-

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):

1.23.13

How reproducible:

100%

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:

http://libguestfs.org/virt-sysprep.1.html#fs-uuids%2d


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