Idem for these instructions. Both use /dev/sda1 as the name of partition, which it might not be, and makes them conflict with each other too. And any typo the user makes when running fdisk could erase their data.