After creating partitions using parted, the partition table information in the operating system needs to be updated. This can be done using the following methods:

  1. Execute the sudo partprobe command to rescan the partition table information in the system and update the partition table in the kernel.
  2. Rebooting the system: Rebooting the system will reload partition table information and update the partition table in the kernel.
  3. Run the command sudo udevadm trigger using udevadm, which will reload udev rules and update partition table information.
  4. Run the command “sudo fdisk -l” using the fdisk tool to reload the partition table information and display the updated table.

Please ensure that you have correctly created and saved the partition before updating the partition table information, or else data loss or corruption may occur.

bannerAds