Instead of doing a reboot after fdisk you can just tell the kernel about any new partitions: partprobe or hdparm -z /dev/sdX
Back