You can also use blkid to attach labels to your partitions and then mount via labels which is much easier read man blkid to learn more.Īfter you change the partitions and adjust /etc/fstab you should run the update-grub - available on Debian/Ubuntu script or grub-mkconfig -o /boot/grub/grub.cfg to generate a new config file and then reinstall grub into the first hdd that you bot from. You can get the partition uuid by running blkid /dev/sdXn where X is name of the drive and n number of partition. adjust then your /etc/fstab to the new UUID's of partitions that you will use. If you are moving the files to new partition then don't forget to use cp -p while copying to preserve permissions. If you intent to move separated /boot partition and or / partition you should consider first of all changing the fstab entries.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |