NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Unix/Linux
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 04-07-2007   #1 (permalink)
Barry
Managing the iTards.
 
Barry's Avatar
 
Join Date: Dec 2002
Location: Ohio
Posts: 5,246
Linux clone??

Okay guys, what's the best way to clone a linux drive?
__________________
Penny's giving it up. She's giving it up hard. Cause she's with Captain Hammer, and these, are not the hammer...... The hammer is my penis. --- Captain Hammer, Dr. Horrible's Sing-Along Blog.
Barry is offline   Reply With Quote
Old 04-07-2007   #2 (permalink)
streaker69
Psychic Amish Stumbler
 
streaker69's Avatar
 
Join Date: Jul 2004
Location: Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA
Posts: 11,694
Quote:
Originally Posted by Barry
Okay guys, what's the best way to clone a linux drive?
I can tell you, but first you'll have to gather the following items.

5 hogwarts
A potato that's been buried under a Full moon
A Muffler Bearing to a 72 Ford Pinto
A Picture of G8t in Lederhosen
and a Wishbone of a Duck.
__________________
"One of these days, I'm going to cut you to pieces."

If you're offended by this post, please feel free to report it to one of the many helpful moderators of this forum.

Thank you.
streaker69 is offline   Reply With Quote
Old 04-07-2007   #3 (permalink)
Barry
Managing the iTards.
 
Barry's Avatar
 
Join Date: Dec 2002
Location: Ohio
Posts: 5,246
Quote:
Originally Posted by streaker69
I can tell you, but first you'll have to gather the following items.

5 hogwarts
A potato that's been buried under a Full moon
A Muffler Bearing to a 72 Ford Pinto
A Picture of G8t in Lederhosen
and a Wishbone of a Duck.

Can the pic of G8t be chopped??
__________________
Penny's giving it up. She's giving it up hard. Cause she's with Captain Hammer, and these, are not the hammer...... The hammer is my penis. --- Captain Hammer, Dr. Horrible's Sing-Along Blog.
Barry is offline   Reply With Quote
Old 04-07-2007   #4 (permalink)
streaker69
Psychic Amish Stumbler
 
streaker69's Avatar
 
Join Date: Jul 2004
Location: Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA
Posts: 11,694
Quote:
Originally Posted by Barry
Can the pic of G8t be chopped??
Nope, picture has to be just as impossible to get as the rest of the list.
__________________
"One of these days, I'm going to cut you to pieces."

If you're offended by this post, please feel free to report it to one of the many helpful moderators of this forum.

Thank you.
streaker69 is offline   Reply With Quote
Old 04-07-2007   #5 (permalink)
Barry
Managing the iTards.
 
Barry's Avatar
 
Join Date: Dec 2002
Location: Ohio
Posts: 5,246
Quote:
Originally Posted by streaker69
Nope, picture has to be just as impossible to get as the rest of the list.

Damn.


Anybody else??
__________________
Penny's giving it up. She's giving it up hard. Cause she's with Captain Hammer, and these, are not the hammer...... The hammer is my penis. --- Captain Hammer, Dr. Horrible's Sing-Along Blog.
Barry is offline   Reply With Quote
Old 04-08-2007   #6 (permalink)
beakmyn
root\.workspace\.garbage.
 
Join Date: Aug 2003
Posts: 4,762
A level 4 incantation gives of chance 32.33 percent; the 3 is repeating of course.

http://www.informationweek.com/softw...urce/171200965
http://www.sysresccd.org/Main_Page

Ghost may work: http://entkb.symantec.com/security/o...909463125.html
__________________
It's not Intelligent Design, it's peer pressure.

┌──────────────────────────────┐
NS Icons Explained|et hoc genus omne
└──────────────────────────────┘
beakmyn is offline   Reply With Quote
Old 04-08-2007   #7 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,794
Don't forget good old DD. Just clone the thing block by block
renderman is offline   Reply With Quote
Old 04-08-2007   #8 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted by Barry
Okay guys, what's the best way to clone a linux drive?
Question is what you want to do it for ?
A sector-by-sector backup for forensic investigation ?
Move data from one machine to another ?
Because cloning drives is the new thing taking over from cracking wep ?

As render said, good old dd does the job, but if you want something with a gui like Ghost, look no further than partimage ( http://www.partimage.org/Main_Page ), which often is included in linux distros out of the box.

If you want to go the dd route, this here guide should get you started : http://www.osdev.org/osfaq2/index.ph...0Under%20Linux

Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....

Last edited by Dutch : 04-08-2007 at 04:10 AM.
Dutch is offline   Reply With Quote
Old 04-08-2007   #9 (permalink)
beakmyn
root\.workspace\.garbage.
 
Join Date: Aug 2003
Posts: 4,762
I think partimage is on the b|t livecd.
__________________
It's not Intelligent Design, it's peer pressure.

┌──────────────────────────────┐
NS Icons Explained|et hoc genus omne
└──────────────────────────────┘
beakmyn is offline   Reply With Quote
Old 04-08-2007   #10 (permalink)
Barry
Managing the iTards.
 
Barry's Avatar
 
Join Date: Dec 2002
Location: Ohio
Posts: 5,246
Quote:
Originally Posted by Dutch
Question is what you want to do it for ?
A sector-by-sector backup for forensic investigation ?
Move data from one machine to another ?
Because cloning drives is the new thing taking over from cracking wep ?

As render said, good old dd does the job, but if you want something with a gui like Ghost, look no further than partimage ( http://www.partimage.org/Main_Page ), which often is included in linux distros out of the box.

If you want to go the dd route, this here guide should get you started : http://www.osdev.org/osfaq2/index.ph...0Under%20Linux

Dutch

Copy the drive from my laptop to the new box so everything you did to it would be on the other. The problem is, they are different sized drives.
__________________
Penny's giving it up. She's giving it up hard. Cause she's with Captain Hammer, and these, are not the hammer...... The hammer is my penis. --- Captain Hammer, Dr. Horrible's Sing-Along Blog.
Barry is offline   Reply With Quote
Old 04-08-2007   #11 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted by Barry
Copy the drive from my laptop to the new box so everything you did to it would be on the other. The problem is, they are different sized drives.
No problem.
Use partimage to image the partitions on the old drive. Boot up on a liveCD, since you are going to image root too. Store the image somewhere on the LAN (I.E. a windows machine with filesharing enabled, then mount the fileshare on the old machine, and tell partimage to store the image there. This means not using the native LAN imaging, but just a normal samba mounted share.)

When the partitions has been imaged (you need to store each partition in seperate images), boot up the new machine on the LiveCD, mount the same share, then restore each image in turn down on the new machine.
If you make the partitions on the new machine larger than they were on the old machine, you can then use the standard filesystem utilities to resize the actual FS to fill the partition on the new drive fully. (i.e. ext2/ext3 fs = man ext2resize / man resize2fs. Similar utils exists for reiser and other fs's.)

Holler if you need handholding over IM.

Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline   Reply With Quote
Old 04-08-2007   #12 (permalink)
Barry
Managing the iTards.
 
Barry's Avatar
 
Join Date: Dec 2002
Location: Ohio
Posts: 5,246
So, why doesn't BackTrack2 have partimage?? Downloaded system rescue cd. Not too bad, averaging 160 MB/Minute. I think the bottleneck is the slow laptop hard drive.
__________________
Penny's giving it up. She's giving it up hard. Cause she's with Captain Hammer, and these, are not the hammer...... The hammer is my penis. --- Captain Hammer, Dr. Horrible's Sing-Along Blog.
Barry is offline   Reply With Quote
Old 04-08-2007   #13 (permalink)
Chris
Bad as Can
 
Chris's Avatar
 
Join Date: Jul 2002
Posts: 1,141
Quote:
Originally Posted by renderman
Don't forget good old DD. Just clone the thing block by block

This is the method I use.
__________________
perl -e 'print pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10)'
Chris is offline   Reply With Quote
Old 04-08-2007   #14 (permalink)
Barry
Managing the iTards.
 
Barry's Avatar
 
Join Date: Dec 2002
Location: Ohio
Posts: 5,246
Quote:
Originally Posted by Chris
This is the method I use.

Holy shit! You finally remember the address of this place?


Oh, you just found the shovel.
__________________
Penny's giving it up. She's giving it up hard. Cause she's with Captain Hammer, and these, are not the hammer...... The hammer is my penis. --- Captain Hammer, Dr. Horrible's Sing-Along Blog.
Barry is offline   Reply With Quote
Old 04-08-2007   #15 (permalink)
Chris
Bad as Can
 
Chris's Avatar
 
Join Date: Jul 2002
Posts: 1,141
Quote:
Originally Posted by Barry
Holy shit! You finally remember the address of this place?


Oh, you just found the shovel.

I check in here several times a day. I just don't post as much. Seems like the regulars are handling the tard wrangling just fine
__________________
perl -e 'print pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10)'
Chris is offline   Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 05:35 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.