Remove FreeNAS from flash drive

Status
Not open for further replies.

survive

Behold the Wumpus
Moderator
Joined
May 28, 2011
Messages
875
Hi fishstick41,

There are a couple of ways you can do this:

1) use "diskpart.exe" in windows. Run "diskpart" -> list disks -> select disk # -> clean <- double check your work because diskpart will happly wipe your C: drive if you tell it to!

2) Download "ActiveKillDisk" for windows and just erase the whole key. This will take maybe 15 minutes while it fills the disk with "0000000"'s.

Note this is not an exhaustive list....there are just 2 ways I have "cleaned" a FreeNAS boot device.

-Will
 

anujsharma01

Cadet
Joined
Dec 24, 2012
Messages
8
Follow these steps and u can recover ur flash drive...

1. Open Command Prompt.
2. Type:
diskpart
3. At the DISKPART prompt, type:
list disk
Make note of the disk number of the disk from which you want to delete the partition.
4. At the DISKPART prompt, type:
select disk n
Select the disk n from which you want to delete the partition.
5. At the DISKPART prompt, type:
list partition
Make note of the number of thepartition that you want to delete.
6. At the DISKPART prompt, type:
select partition n
Select the partition n that you want to delete.
7. At the DISKPART prompt, type:
delete partition
Caution
*. Deleting a partition on a dynamic disk can delete all dynamic volumes on the disk, thus leaving the disk in a corrupt state. To delete a dynamic volume, use the deletevolume command instead. For instructions on how to delete a dynamic volume, see Related Topics.
*. When you delete a partition, all data on that deleted partition orlogical drive is lost.
*. You cannot recover deleted partitions or logical drives.
 

gpsguy

Active Member
Joined
Jan 22, 2012
Messages
4,472
@MRDcanadian, if your old stick is corrupt, buy a new one. If you followed the advice in the manual, you'd have a spare one or two readily available.
 

MRDcanadian

Cadet
Joined
Aug 31, 2014
Messages
3
was an issue accessing the img file of freenas. I am re-installing on the machine as we speak. I dont think access issue that win32disk imager encountered are the same as killdisk but the drive is brand new from a week ago bought specially for this setup and i didn't pick the cheapest of the bunch (nor the most expensive) for the job. but you maybe correct if i get weird stuff happening again i'll use another one readily available. for now i'll consider that as a mistake from my part and test it out
 
Joined
Nov 11, 2014
Messages
1,174
Hi fishstick41,

There are a couple of ways you can do this:

1) use "diskpart.exe" in windows. Run "diskpart" -> list disks -> select disk # -> clean <- double check your work because diskpart will happly wipe your C: drive if you tell it to!

2) Download "ActiveKillDisk" for windows and just erase the whole key. This will take maybe 15 minutes while it fills the disk with "0000000"'s.

Note this is not an exhaustive list....there are just 2 ways I have "cleaned" a FreeNAS boot device.

-Will

Thanks a lot. I tried solution 1) and it works. Creating and deleting partition is not working like others advice , "clean" command is what made it happened.
 
Status
Not open for further replies.
Top