I have followed these instructions to move my linux installation from /dev/sda5 to /dev/sda7. The copy things went perfect.
I have edited /boot/grub/grub.cfg so that it boots from /dev/sda7 and it works. I have also edited /etc/fstab on /dev/sda7 so that root (/) dir is pointed to UUID of /dev/sda7.
But after booting, when doing mount it still show / is mounted to /dev/sda5 What should I do to make it mounted to /dev/sda7?
My fstab on /dev/sda7:
UUID=af7b38bc-f8d0-400a-b42a-c4904210213a / ext4 errors=remount-ro 0 1
My ls -l /dev/disk/by-uuid show:
lrwxrwxrwx 1 root root 10 Th10 16 17:52 af7b38bc-f8d0-400a-b42a-c4904210213a -> ../../sda7
# mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro)