1. After editing the partition table, to have the proper device files created under /dev, run: partprobe. (It is in parted package.)
  2. After creating filesystems, to have the proper files created under /dev/disk/by-uuid, run: /etc/init.d/udev restart.
  3. To find the uuid of filesystems, run: blkid.

This is in Ubuntu or Debian.

blog comments powered by Disqus