DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Security

OpenBSD Security Functionally paranoid!

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 21st June 2020
attilio attilio is offline
Port Guard
 
Join Date: Jun 2015
Posts: 42
Default Secure erasing of HD with dd

Hi
In order to do begin a secure erase of the hard disk of my hp530,
I wanted to use a command like the following:

Code:
# dd if=/dev/zero of=/dev/<deviceFileOfHardDisk>
This works if, for example, I boot with a live cd of a linux distribution.

I tried also with OpenBSD, but I found a problem.
I booted with an usb key with install67.fs for i386.
At the first prompt, I chose (S) to have a shell.
I looked for the name of the disk with

Code:
#sysctl
and the answer was

Code:
hw.disknames=cd0:,sd0:,rd0:cca629fbd647ae2c,sd1:d38e63c5f7d95f4a
I verified (with disklabel) that rd0 was associated with the usb key I used to boot.
I don't know what sd1 is.
I tried the dd command with of=/dev/sd1c but the response was "no such file or directory" and
indeed in /dev there was not such a file. I tried also with other names, with no success.

It is difficult for me to show you the complete content of /dev, because I can't write it to any file at this stage.
But I'm relatively sure that there is nothing associated with the HD.

Is it possible to do what I want using the usb key of installation and the dd command?
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The most secure OS bsdcord Other OS 3 8th May 2019 02:58 PM
How is this secure ? bsd007 OpenBSD Security 11 1st October 2018 05:21 PM
Hardware Self-erasing flash drives destroy court evidence J65nko News 0 2nd March 2011 05:43 PM
how to secure my ftp? milo974 OpenBSD Security 3 4th August 2009 03:47 PM
Is this secure? Ungenious OpenBSD Security 4 30th November 2008 02:27 AM


All times are GMT. The time now is 04:42 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick