Showing posts with label partition. Show all posts
Showing posts with label partition. Show all posts

Thursday, November 5, 2015

Linux command low level format

Warning!!! This command will destroy all data on your drive

This command is use to check bad sector on a hard disk.

dd if=/dev/zero of=/dev/sda1 bs=1024



Now we know that is a trouble at first 1 GB

Friday, May 1, 2015

Make uninitialized disk using diskpart

Warning this command will erase all of data on the disk!!!

1. run cmd
2. type : diskpart
3. type : list disk
4. select the disk you want to clean / uninitialize, in this example : select disk 1
5. clean
6. done


This steps are useful if we want to change the disk partition type (GPT or MBR or other)