These are the steps I did:You're not supposed to *delete* the block device /dev/hda1 - those are block devices. Run '/dev/MAKEDEV hda1' (this will recreate hda1[0-9]).
1. unmount /dev/hda1 2. delete /dev/hda1 3. create a new partition for /dev/hda1 4. while writing it shows the above error