Virtualbox Image

Home » CentOS » Virtualbox Image
CentOS 1 Comment

How do you make a Virtualbox image of C7 so that when you EXPORT that image and someone imports it that the values in /etc/fstab will be OK.

Example:
UUID813d49-15b7-48ed-ab0d-da52aa3a9078 / xfs defaults 0 0
UUID25297f-170c-4aee-ad4f-7ccc5867ed25 /home xfs defaults 0 0
/dev/mapper/CentOS-swap swap swap defaults 0 0

Then the exported, imported image boots its still referencing the first UUID there and it cannot find it so it does not boot.

How can I change this so my image runs, and then when I export it and someone imports it that their image runs. ???

Thanks,

Jerry

One thought on - Virtualbox Image

  • switch to using LABEL= instead of UUID= … or, I use lvm, so my mounts are all /dev/mapper/vg_name-lv-name