LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2010, 04:21 PM   #1
BIGCATBobcat
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Rep: Reputation: 0
fdisk or do I need to do something completely different?


Hello All!
I am a complete novice to Linux and basically only use it for one purpose: DVR's for security camera systems. I have a unit that's simply rack mounted computer with linux and the DVR software. We had used it as a tester/example because it was so big, now we want to sell it. first thing i have to do is erase the hard drive. I have no idea how to do that. All i can figure out from the root menu (basically the first screen after the bios) is that there is grub> I don't see anything like ubantu or anything else I know how to access. I see 3 options: DVR system, Upgrade DVR System and DVR System Config. There is nothing in the DVR software to erase the recorded information, because DVR's are made for holding and keeping your video, not getting rid of it (not easily anyway). So, my first thought is to go into the grub> command thing and run fdisk but I am concerned this will wipe the system completely and I don't want to do that. I have disconnected the hdd to see if i can put it on my windows pc and rebooted the system and the dvr doesn't need the hdd in order to work (just as a means of storage).

So my question the the world of experts: should i run fdisk or should i find another way?

Thanks in advance for your response!
 
Old 06-21-2010, 06:14 PM   #2
fruttenboel
Member
 
Registered: Jul 2008
Location: Tilburg NL
Distribution: Slackware 14.2 ciurrent, kernel 3.18.11
Posts: 270

Rep: Reputation: 48
Read this:

http://linuxhelp.blogspot.com/2006/0...sk-before.html

Last edited by fruttenboel; 06-21-2010 at 06:15 PM.
 
Old 06-21-2010, 09:05 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
fdisk will zero out the filesystems meta-data but will not erase data. FYI grub has only a limited shell capability and can not run regular bash commands. If you can not gain access to a shell via booting to the DVR system you will need to remove the disk and connect it to another linux system.

Last edited by michaelk; 06-21-2010 at 09:07 PM.
 
Old 06-21-2010, 09:12 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
You might want to check out shred.

I've not used it myself, but I found this write-up.
 
Old 06-21-2010, 09:13 PM   #5
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
try www.dban.org
 
Old 06-21-2010, 09:47 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
The OP indicated lack of Linux skills - possibly no Linux PC.
The above could be done on the Windows machine if you use a Linux liveCD - these run completely from CD and don't affect your windows system at all.
Personally I'd avoid DBAN - it threatened to nuke *all* my hard disks last time I looked at it (some time ago admittedly).

BTW, fdisk will do nothing to secure your data - not even the metadata.

Last edited by syg00; 06-21-2010 at 09:49 PM. Reason: added BTW
 
1 members found this post helpful.
Old 06-22-2010, 03:38 AM   #7
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Rep: Reputation: 217Reputation: 217Reputation: 217
Depends on the sensitivity of the data. Bu given the straight forward case, since you have already detached the disk it seems to me that in your case you should just format it in another OS, use it in your company for some time and dump lots of trivial data onto it. Then delete all data and format the disk once again.

If you want to use linux for this, then attach this disk to another linux system and then delete it.

End
 
Old 06-23-2010, 02:29 PM   #8
BIGCATBobcat
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AnanthaP View Post
Depends on the sensitivity of the data. Bu given the straight forward case, since you have already detached the disk it seems to me that in your case you should just format it in another OS, use it in your company for some time and dump lots of trivial data onto it. Then delete all data and format the disk once again.

If you want to use linux for this, then attach this disk to another linux system and then delete it.

End
the problem there is i dont have another cpu with the same hard drive connections (SATA or PATA, I have no idea anymore) I might just get another hdd and say forget it on this poor thing...anyone want to buy a slightly used 8 Channel DVR?

Are there any other ideas like to wipe the hdd from the bios or anything along those lines?

Thanks for all the responses.
 
Old 06-23-2010, 03:24 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Have you looked at all the features / menus of the DVR OS system? There could be a format drive function. You could purchase a USB IDE/SATA adapter to connect the drive to another system erase the data.
 
Old 06-24-2010, 08:29 AM   #10
BIGCATBobcat
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
Have you looked at all the features / menus of the DVR OS system? There could be a format drive function. You could purchase a USB IDE/SATA adapter to connect the drive to another system erase the data.
oh yeah, definitely checked everything. just had a thought I'll let you know how it turns out.
 
Old 06-24-2010, 03:22 PM   #11
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
its weird that you cant delete video from your dvr (its like a digital camera that cant delete photos).

if you are able to get to a bash shell (not grub shell), you can use fdisk to delete/create the partitions and mkfs to reformat.

is there a way to plug in a keyboard to the thing.
does ctrl-alt-f4 do anything ?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
understadning /dev/dm-02 mapping and fdisk -l or fdisk -l | less mixxmaster27 Linux - Newbie 2 06-03-2010 12:17 PM
Replacing fdisk with gnu fdisk in busybox? Alkisx Slackware 5 10-23-2009 11:51 AM
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
Completely new - what should I use? dinosaurus Linux - Security 2 01-29-2006 10:49 AM
Completely New D26 Linux - Newbie 2 08-25-2003 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration