LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Closed Thread
  Search this Thread
Old 01-01-2017, 01:14 AM   #1
anflydi
LQ Newbie
 
Registered: Jan 2017
Posts: 8

Rep: Reputation: Disabled
Automatic hard disk restore


Hello,

I want to restore my hard disk before every starting of the operating system.

The first disk has Linux, read only hard disk, hardware write protection.
The second disk is empty. The same size as the first disk.

Now I want to start the computer and for few minutes to copy the information from first hard disk to second. Raw image copy, not file copy. All this should be automatically. Just start computer and the computer is ready, waiting for login. The raw image copy is easy with the command:

prompt> dd if=/dev/hda of=/dev/hdb

note: if you do not know dd command: it can destroy your files, use it carefully.

My question is: how to automate all this?

Thank you.

Angel
 
Old 01-03-2017, 01:27 AM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
(1) What linux are you using?

(2) Please list the specific commands and/or programs that you run to do this manually.
 
Old 01-03-2017, 02:25 AM   #3
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
TRIPLICATE of
http://www.linuxquestions.org/questi...re-4175596563/
http://www.linuxquestions.org/questi...re-4175596565/

Suggest closing this, since other two have 5 and 3 replys!
 
  


Closed Thread



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
Automatic hard disk restore anflydi Linux - Server 5 01-01-2017 11:20 AM
Automatic hard disk restore anflydi Linux - Server 3 01-01-2017 06:41 AM
Cant restore my hard drive disk properly DuarteSilva Linux - Desktop 11 10-15-2010 03:30 AM
Can't boot from my hard disk. Can't restore GRUB . harish2704 Linux - General 2 02-05-2010 02:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:52 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
Open Source Consulting | Domain Registration