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: UUID=13813d49-15b7-48ed-ab0d-da52aa3a9078 / xfs defaults 0 0 UUID=7f25297f-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
On 10/11/2016 12:50 PM, Jerry Geis wrote:> 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: > UUID=13813d49-15b7-48ed-ab0d-da52aa3a9078 / xfs > defaults 0 0 > UUID=7f25297f-170c-4aee-ad4f-7ccc5867ed25 /home xfs > defaults 0 0 > /dev/mapper/centos-swap swap swap defaults 0 0switch to using LABEL= instead of UUID= ... or, I use lvm, so my mounts are all /dev/mapper/vg_name-lv-name -- john r pierce, recycling bits in santa cruz