fstab question

Phil phillor9 at gmail.com
Fri Aug 7 01:30:07 UTC 2020


On 7/8/20 10:06 am, Ken D'Ambrosio wrote:
>
>
> Unless I"m mistaken, the volume UUID absolutely *WILL* change during a 
> clone.  I kinda-sorta thought Clonezilla might be smart enough to deal 
> with that, but it's perhaps worth a shot trying the /dev/sda5 approach 
> and see what happens.

Thank you Ken for your reply which makes me thing that I may be on the 
right track to fix this irritating problem.  The fstab file and the 
blkid shows the same UUID and the same UUID shows up in several places 
in in the  /boot/grub/grub.cfg file.

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type> <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=b51f0844-4826-4643-b34b-f324a67739e4 /               ext4 
errors=remount-ro 0
     1
/swapfile                                 none            swap 
sw              0

   0

blkid

/dev/sda5: UUID="b51f0844-4826-4643-b34b-f324a67739e4" TYPE="ext4" 
PARTUUID="32ab9667-05"


> What I might check, however, is your /boot/grub/grub.cfg file.  It 
> will likely have the same UUID in there, and that probably *does* need 
> to change. 

As above, the same UUID does appear in several places in the grub.cfg 
file. Is there a command that will change the UUID to what it should be? 
An Internet search hasn't revealed anything.

-- 

Regards,
Phil





More information about the ubuntu-users mailing list