![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|
#1 |
|
Spilled the Beans
![]() Join Date: May 2009
Beans: 13
|
|
|
|
|
|
|
#2 |
|
Iced Blended Vanilla Crème Ubuntu
![]() |
Re: Wipe a disk with Ubuntu.
The only thing an install CD will have is a formatting utility.
Use DBAN if you really want to absolutely, totally, nuke the drive from orbit. http://www.dban.org/about |
|
|
|
|
|
#3 |
|
Ubuntu Member
![]() Join Date: Jan 2009
Location: Melbourne, FL
Beans: 48
Ubuntu Karmic Koala (testing)
|
Re: Wipe a disk with Ubuntu.
I would suggest you try shred, More about shred can be found here: Shred examples
This is what I'm going to try next time I have a need! Chris C. itnet7 |
|
|
|
|
|
#4 |
|
Spilled the Beans
![]() Join Date: May 2009
Beans: 13
|
Re: Wipe a disk with Ubuntu.
Thank you all for your responses. Tried Dban with no success. I went to the Shred example page but it is EXTREMELY confusing to me. I watched the video but it told me little next to nothing on how to select a drive to wipe. I really would not know what to do. If someone can give me a step-by-step basis to work with I might be able to pull it off. Thank you all for any help you can give me.
|
|
|
|
|
|
#5 |
|
Ubuntu Member
![]() Join Date: Jan 2009
Location: Melbourne, FL
Beans: 48
Ubuntu Karmic Koala (testing)
|
Re: Wipe a disk with Ubuntu.
I will try and see if I can document the use of shred here for you... to overwrite the c partition.
Thanks, Chris C. itnet7 |
|
|
|
|
|
#6 |
|
Spilled the Beans
![]() Join Date: May 2009
Beans: 13
|
Re: Wipe a disk with Ubuntu.
Here is what came up in terminal when I tried using shred commands:
derek@derek-desktop:~$ shred -f -n 3 -u -v -x -z hp shred: hp: failed to open for writing: No such file or directory derek@derek-desktop:~$ I used "hp" because that is how it is listed under the "places" menu. Though I found pages making shred less confusing, apparently I am still unsure how to locate the drive to be shredded. Any suggestions? |
|
|
|
|
|
#7 |
|
Quad Shot of Ubuntu
![]() Join Date: Feb 2007
Location: Apeldoorn, NL
Beans: 441
Ubuntu 8.04 Hardy Heron
|
Re: Wipe a disk with Ubuntu.
shred -vfz -n 1 <partition>
The partition you wan't to erease has a name like /dev/sda or /dev/hda. If you don't know the name of your partition you can look it up with the command "sudo fdisk -l" Only one single overwrite will do. After that, at very high expenses (team of experts with fully equipped lab, electron microscope etc.) is needed to recover (if they're lucky) tiny fragments of data... |
|
|
|
|
|
#8 |
|
Spilled the Beans
![]() Join Date: May 2009
Beans: 13
|
Re: Wipe a disk with Ubuntu.
This time I performed command and the end result:
derek@derek-desktop:~$ sudo fdisk -l Disk /dev/sda: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x217df2e4 Device Boot Start End Blocks Id System /dev/sda1 * 1 89741 720844551 7 HPFS/NTFS /dev/sda2 89742 91201 11727450 7 HPFS/NTFS Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xba41ba41 Device Boot Start End Blocks Id System /dev/sdb1 1 58600 470704468+ 83 Linux /dev/sdb2 58601 60801 17679532+ 5 Extended /dev/sdb5 58601 60801 17679501 82 Linux swap / Solaris derek@derek-desktop:~$ shred -vfz -n 3 /dev/sda1 shred: /dev/sda1: failed to open for writing: Operation not permitted derek@derek-desktop:~$ Downloaded dban and tried again with a disk image but it still did not work. |
|
|
|
|
|
#9 | |
|
Ubuntu Member
![]() Join Date: Jan 2009
Location: Melbourne, FL
Beans: 48
Ubuntu Karmic Koala (testing)
|
Re: Wipe a disk with Ubuntu.
Quote:
Code:
sudo shred -vfz -n 3 /dev/sda1 Chris C. itnet7 |
|
|
|
|
|
|
#10 |
|
Spilled the Beans
![]() Join Date: May 2009
Beans: 13
|
Re: Wipe a disk with Ubuntu.
DOH! Why didn't I think to try typing Sudo before the shred command? Thank you guys. Problem has been solved.![]() |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|