LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 05: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, 07: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 07:15 PM.
 
Old 06-21-2010, 10:05 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,928

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
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 10:07 PM.
 
Old 06-21-2010, 10:12 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,328
Blog Entries: 12

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

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

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

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
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 10:49 PM. Reason: added BTW
 
1 members found this post helpful.
Old 06-22-2010, 04:38 AM   #7
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 804

Rep: Reputation: 186Reputation: 186
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, 03: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, 04:24 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,928

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
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, 09: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, 04:22 PM   #11
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,026

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:17 PM
Replacing fdisk with gnu fdisk in busybox? Alkisx Slackware 5 10-23-2009 12:51 PM
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 10:26 PM
Completely new - what should I use? dinosaurus Linux - Security 2 01-29-2006 11:49 AM
Completely New D26 Linux - Newbie 2 08-25-2003 09:57 PM


All times are GMT -5. The time now is 04:07 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration