LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-28-2007, 04:53 PM   #1
sbhoffmaster
LQ Newbie
 
Registered: Jun 2007
Location: Maryland
Posts: 2

Rep: Reputation: 0
New Newbie looking to create or find Linux based "Ghosting" program


Help! (And how do you do?) My boss has tasked me with a project. Now I haven't programmed since BC, and I have no experience with Linux, but I guess we're going going to get started by throwing me into the lake and seeing if I sink or swim. I want to write a program (or maybe one exists) that will create an auto install disk on which I can copy part or all all the hard drive.

Please remember...I know NO Linux, but I do understand the basics of programming. Tell me where to look, how to get started, or if it already exists.

Thanks.
 
Old 06-28-2007, 05:39 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I would start with "Bash Guide for Beginners"--available free at tldp.org.

The low-level routine for "cloning" or "ghosting" is dd. Search here for a tutorial by AwesomeMachine.

You will also want to look at things like rsync.
 
Old 06-28-2007, 05:53 PM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Have a look at the Clonezilla live-cd . The live-cd part is debian based and clonezilla can save to another local partition, samba share or ssh .... I use the ssh choice myself and it works a treat!
 
Old 06-28-2007, 07:59 PM   #4
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
Quote:
Originally Posted by homey
Have a look at the Clonezilla live-cd . The live-cd part is debian based and clonezilla can save to another local partition, samba share or ssh .... I use the ssh choice myself and it works a treat!
Does it work only with linux partitions or any partition?

Heh, nevermind. I should have looked first.

Last edited by Jimbo99; 06-28-2007 at 08:03 PM.
 
Old 06-29-2007, 12:42 PM   #5
sbhoffmaster
LQ Newbie
 
Registered: Jun 2007
Location: Maryland
Posts: 2

Original Poster
Rep: Reputation: 0
Can't Use DD

I can't use DD. I only want to copy used bytes of the hard drive. DD copies the entire hard drive, which won't fit on a DVD.
 
Old 06-29-2007, 05:04 PM   #6
dcpatters
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
You could do something like this:

Login as root

cd /

find . -print | grep -v "^\./tmp/" | grep -v "^\./proc/" | cpio -ocvB | gzip -9 >/tmp/fulldisk.cpio.gz

Burn this file (everything) to a DVD. Before un-packing, make the partitions and finally un-pack this cpio off a DVD.
 
  


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
Stock market "find the best price model" program cigarstub Programming 1 01-07-2007 08:24 AM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
Create a true "Newbie" section robby737 LQ Suggestions & Feedback 16 07-10-2004 03:31 AM
"Ghosting" a linux install arrruken Linux - General 7 04-02-2004 07:16 AM
Just finished compiling Wine, getting "couldn't find program" error Maronflower Linux - Software 1 11-10-2003 06:50 PM


All times are GMT -5. The time now is 07:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration