Software :: Python Script To Use For Wiping Hard Drives?
Jun 18, 2011
I wrote a little python script for myself to use for wiping hard drives since I find myself doing it a lot lately, and I thought I'd share it with you guys. Here's the source code, just copy and paste it into a text file, mark it as executable and enjoy. Forums won't let me attach .py files.
Code:
#!/usr/bin/env python
#Killdisk 11.6.18 - June 18th 2011
#Author: Marcus Dean Adams (marcusdean.adams@gmail.com)
#Imports OS functions
[Code]....
View 1 Replies
ADVERTISEMENT
Jun 23, 2010
I have Debian installed and I want to install Fedora. Is there a way to install Fedora without erasing the drives? I have my /home directory that don't want erased, plus several GB of files stored in other partitions as well as other drives.
If not, then is there a fast and easy way to back up everything?
View 6 Replies
View Related
Jul 20, 2010
Laptop has a fault and needs to go back to dell. I have no idea what they may or may not do it; regardless I want to completely wipe the hard drive (and then put windows back on to keep them happy).
View 14 Replies
View Related
Sep 17, 2010
Because I install/uninstall a fair few operating systems, I occasionally run Kill Disk off Hirens Boot CD to clean my drive.Being a 500GB Drive this takes about 12 hours.Is there any benefit to doing this? ie. drive longevity, speed, etc
View 5 Replies
View Related
Sep 23, 2010
My laptop has had it, so I am getting a new net book instead. So with my old laptop, I am giving it to a charity who refurb them and send them overseas.Not that I do not trust them, but they say they wipe the hard drive to US Department of Defense standard 5220.22M. But I would feel a lot happier if I did it myself first, so how do I go about doing it? I have tried using wipe but as it was a tar file I got stuck trying to use the tar file.
View 7 Replies
View Related
Dec 22, 2010
What happens when you wipe a hard drive which has a partition that is mounted? I was using ubuntu 9.10 live CD but I had one partition on a hard drive mounted. Then, I started to wipe the entire hard drive with random characters using dd. Only later I realized that I hadn't unmounted that partition. what could have happened? Could the Live CD have been damaged?
View 4 Replies
View Related
Mar 26, 2011
I am building a home server that will host a multitude of files; from mp3s to ebooks to FEA software and files. I don't know if RAID is the right thing for me. This server will have all the files that I have accumulated over the years and if the drive fails than I will be S.O.L. I have seen discussions where someone has RAID 1 setup but they don't have their drives internally (to the case), they bought 2 separate external hard drives with eSata to minimize an electrical failure to the drives. (I guess this is a good idea)I have also read about having one drive then using a second to rsync data every week. I planned on purchasing 2 enterprise hard drives of 500 MB to 1 GB but I don't have any experience with how I should handle my data
View 10 Replies
View Related
Jul 5, 2011
I have Fedora 14 installed on my main internal drive. I have one Fedora 14 and one Fedora 15 installed on two separate USB drives.When I boot into any of these drives, I can't access any of the other hard drives from the other drivesll I can, but just the boot partitions.Is there any way of mounting the other partitions so I can access the information?---------- Post added at 12:42 PM ---------- Previous post was at 09:34 AM ----------I guess even an explanation on why I can't view them would be good too.
View 7 Replies
View Related
Aug 23, 2010
I have a SATA drive that worked fine. Then I installed two more hard drives into my system. When these hard drives are installed, if I try to access the SATA drive in Linux, it will start lightly clicking and then the drive will become unavailable. If I power on the machine without the other two hard drives then it works fine. What could be causing this to happen? I don't think it's heat because the two hard drives are far away from the SATA drive.
View 1 Replies
View Related
Aug 10, 2010
I have a Centos 5.5 system with 2* 250 gig sata physical drives, sda and sdb. Each drive has a linux raid boot partition and a Linux raid LVM partition. Both pairs of partitions are set up with raid 1 mirroring. I want to add more data capacity - and I propose to add a second pair of physical drives - this time 1.5 terabyte drives presumably sdc and sdd. I assume I can just plug in the new hardware - reboot the system and set up the new partitions, raid arrays and LVMs on the live system. My first question:
1) Is there any danger - that adding these drives to arbitrary sata ports on the motherboard will cause the re-enumeration of the "sdx" series in such a way that the system will get confused about where to find the existing raid components and/or the boot or root file-systems? If anyone can point me to a tutorial on how the enumeration of the "sdx" sequence works and how the system finds the raid arrays and root file-system at boot time
2) I intend to use the majority of the new raid array as an LVM "Data Volume" to isolate "data" from "system" files for backup and maintenance purposes. Is there any merit in creating "alternate" boot partitions and "alternate" root file-systems on the new drives so that the system can be backed up there periodically? The intent here is to boot from the newer partition in the event of a corruption or other failure of the current boot or root file-system. If this is a good idea - how would the system know where to find the root file-system if the original one gets corrupted. i.e. At boot time - how does the system know what root file-system to use and where to find it?
3) If I create new LVM /raid partitions on the new drives - should the new LVM be part of the same "volgroup" - or would it be better to make it a separate "volgroup"? What are the issues to consider in making that decision?
View 6 Replies
View Related
Jan 21, 2010
I recently purchased 3 new WD cavier green 500gb drives with the intent of building a raid5 array and running linux. Admittedly I purchased without doing enough research and now I have serious doubts about running an os on raid5 with the onboard controller.So now I am thinking I should run one drive as an OS drive and mirror the other two. I don't have a fourth drive unless someone can convince my wife I need a fourth after already buying 3....
Is it possible to have multiple distributions where ALL distros save their docs to the raid dives? That way I can wipe/install the os and keep my files? I seem to recall that I can be done, just need someone to point the compass.
View 4 Replies
View Related
Sep 20, 2010
I just downloaded hddtemp and ran it and got:
/dev/sda: 43C
/dev/sdb: 48C
Is this bad/ok?
View 9 Replies
View Related
Oct 24, 2010
I have a few hard drives that I connect to my system with an usb to ide cord. some of the drives mount right away but some others don't below example.
Oct 24 11:10:04 linux-b21t kernel: usb 1-3: new high speed USB device using ehci_hcd and address 14
Oct 24 11:10:04 linux-b21t kernel: usb 1-3: configuration #1 chosen from 1 choice
Oct 24 11:10:04 linux-b21t kernel: scsi15 : SCSI emulation for USB Mass Storage devices
Oct 24 11:10:04 linux-b21t kernel: usb-storage: device found at 14
[Code]...
View 4 Replies
View Related
May 23, 2010
i have 2 hard drives showing up on my desk top and when i try to unmount them i get an error
Error unmounting: umount exited with exit code 1: helper failed with: umount: only root can unmount /dev/sdc1 from /media/new movie storage
and
Error unmounting: umount exited with exit code 1: helper failed with: umount: only root can unmount /dev/sdb1 from /media/STUFF
when i try to unmount the other one. now one problem i see is that the labels are wrong the error for /media/stuff came up when i tried to unmount /media/new movie storage, and and the other way around for /media/stuff. also new movie storage is labeled as safe every ware else including inside windows
View 1 Replies
View Related
Sep 27, 2010
Earlier I had two physical hard drives in my computer, one with Windows and one with Ubuntu. Now I have a new computer and have installed these hard drives in it. I run Windows 7, and I can find the Windows disk, but not the Ubuntu disk. This doesn't surprise me, as Ubuntu is another filesystem, however, earlier I could format it with a partition manager, but now I didn't even find it with that!
View 9 Replies
View Related
Jan 23, 2011
I have installed two hard drives. One is a Sata drive and the other an IDE drive.They are both functional drives. On boot up only the Sata drive shows up. How do I get both drives to boot up together please.The Sata drive has Ubuntu on it and the IDE drive has Fedora on it' I would like to access all of them.
View 3 Replies
View Related
Mar 11, 2011
I'm looking for a way to set up a backup with two 2TB hard drives. What I want to do is basically mirror two drives. What ever I copy to the one drive I want it to be "cloned" with the other drive.
Is there any software that could help me with this? Does anyone know of a better to do something like this?
View 9 Replies
View Related
Mar 30, 2011
I have a nice computer i have been dual booting between either ubuntu or win7. i am wanting to remove win7 and install winxp sp3, so i can use media center with my xbox. i preferred that win7 work, but since my copy is not genuine, its authenticity is believed to be the culprit in connection errors with the xbox. i have not been able to find a linux alternative, which i doubt even exists due to the proprietary nature of the xbox.
So, my question is how do i reformat the win7 hard drive? are there issues i need to worry about that may reformat both hard drives on accident? and when the hard drive is formatted, will i be prompted to choose which hard drive to install win xp on?
View 2 Replies
View Related
Apr 29, 2011
My computer has 2 40GB hard drives (yes, it's really old). One of these hard drives has Ubuntu installed on it, and I would like to use the second hard drive as a data storage device that is usable by anyone who just wants a random place to drop random stuff. How do I do this?
View 2 Replies
View Related
Jun 2, 2011
I am trying to install windows 7 over Ubuntu, however when i run the install disk it tells me that my hard drive is not formatted in the correct format. I have then loaded up Ubuntu, tried to re-format using Gparted and it won't let me re-format my hard drive when I right click on it. The only option I get when right-clicking is to unmount the drive.
View 7 Replies
View Related
Jul 22, 2011
I have ubuntu 11.04 installed on a 80gb hard drive and everything was running fine. I then installed a second drive (1gb) for storage. It worked fine after a reboot but now it won't boot. I'm pretty sure it's just confused as to which drive is the boot drive. I'm not sure as to how to fix it in GRUB2.
View 2 Replies
View Related
Mar 18, 2009
i am new in Linux. i have two drives one IDE and other SATA in my computer.i want to keep windows XP , WIndows 2003 server on one drive and two flavours of linux on the other drive, let say oopen suse and redhat.please help me how i install these sofwares to make multi boot the machine.
View 2 Replies
View Related
Mar 3, 2010
I have approx. 30x Western Digital SATA 2.5" hard drives ranging from 80GB to 500GB. These are ex-Tandberg RDX QuikStor backup drives that I no longer use and would like to use them as spare laptop hard drives.The only problem is upon installing the drive in a laptop it prompts for a hard drive user password.
Are there any open source methods to wipe the password (and data; I don't care about that)? I've tried using various wiping methods (dd, dban etc.) but the password still remains.Any help is greatly appreciated; I really need these drives.Plugging it in via a USB HDD enclosure shows as /dev/sdb but does not respond to (c)fdisk or show any partitions (/dev/sdb1 etc).
View 14 Replies
View Related
Feb 6, 2011
When the computer starts, you will read a flashing message about S.M.A.R.T and a few other things.I have two hard drives. There is a strange noise from the computer when I run it for more than 3 or 4 hours continuously. I firmly believe one of the hard drives is not working properly. I saw a message about a problem in S.M.A.R.T.It was a flashing message. I couldn't read it. I don't run any Windows on the computer. All are Linux. The default is Mandriva.
How do I read the flashing message you see at the start of a computer? I want to find out the damage one replace it with a new one.
View 9 Replies
View Related
Mar 21, 2009
I know this is an easy task, especially using cPanel. However I want to do this without formatting the drive, since there is sensitive data already on the hard drives. So how would I mount a hard drive, but not format/lose any of the data already on it?I've looked and everything seems to lead me to believe that I'll lose data if I do it that way.
View 7 Replies
View Related
Jan 3, 2010
I was thinking about this for a while and I haven't come across it in any of my reading. Could you split an os over two drives? Example:
drive hda, 35GB xp - 5GB fat32storage / hda1 8GB root - 2GB swap
drive hdb 10GB usr - 10GB home -10GB var / hdb 10GB root linux#2
hdb 1GB swap - 9GB user - 5GB home - 5GB tmp I hope I made this clear enough I'm sure someone must have tried this before. Maybe I got too much time on my hands.
View 3 Replies
View Related
May 20, 2015
I'm trying to install jessie on a new computer, but the installer does not see the hard drives. I copied the DVD-1 iso to a usb stick with dd (also tried the netinstall) and it boots, but when I get to partitioning, it only sees the usb drive. If I go to another virtual console and run dmesg or fdisk -l, all drives are seen correctly.
Back up a little - at first I tried the on-board raid, but when the installer couldn't see the drives, I went back into the bios and reset the sata mode to ahci. I've got it set to use bios/legacy OS, or whatever it's called, fast boot is disabled. Even if only one drive is connected, the debian installer does not see it. Then I read up on the fake raid I was trying to use and decided to go with software raid. Can't do that if there's no hard drives listed in the partitioner.
My own installer (refractainstaller) does work, and I've installed jessie with it a couple of times onto one drive, but I really wanted to use raid and lvm, and my installer doesn't do either of those things. No optical drive, but if that's the only way to install, I'll pull the one from my current box and use it for the install. I think I still have a blank CD or DVD lying around.
Hardware:
ASUS H97-PLUS LGA 1150
Intel core i3 (the cheapest one at newegg)
WD Black 1TB drives (2)
GSkill cheap memory, which already passed a memtest.
View 4 Replies
View Related
Aug 10, 2009
I have a fresh installation of Fedora 11 and I am having a hard time figuring out how to automount my storage drives. Each time I login, I try to access my various storage drives and gnome makes me authenticate asroot before mounting it. FSTAB lists only logical volumes but not my storage drives. What can I do to make sure these automount when I login?
View 3 Replies
View Related
Jan 12, 2010
I have two identical 73 GB Scsi ulta320 scsi drives, Fedora web server is install on one drive with all web files and etc. I wish to make an exact clone of the drive that will boot and run everything as the current drive does now. Is there a download of a program I could download or purchase that would boot and make an exact clone to do the above.
View 6 Replies
View Related
Apr 7, 2011
I am trying to figure out how to get the UUID for some of my external hard drives.the internet revealed a couple of promising leads, this is what I have tried so far:
ls -l /dev/disk/by-uuid -> didn't list the hard discs
blkid -> didn't list the hard discs
lsusb -v -> listed the hard disc but no uuid
A normally formatted usb key is listed with uuid. The external hard discs are fully encrypted by truecrypt(realcrypt). I have been reading not so great things about that itself, but for now I don't have a promising alternative that I can use with windows as well.Any google searches don't seem to cast any new light on this for me,I'd be open to suggestions if there's a better way to get a definite ID for a hard drive... I just need to be able to mount it with realcrypt
View 3 Replies
View Related