Author Topic: Disc Imaging  (Read 7608 times)

0 Members and 1 Guest are viewing this topic.

Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Disc Imaging
« on: April 20, 2006, 09:30:26 pm »
Ok, I need a program that will copy a exact disc from one to another.
In linux.
Simmilar to Nortan Ghost, but for linux.
When I say disc I mean HD not CD.
I need to copy the contents of my 160GB to my 250GB and then zero my 160GB cuz i'm adding another 300GB HDD.
the 160GB is my boot disc, so ya, it needs to copy everything exactly.
Any suggestions???
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Disc Imaging
« Reply #1 on: April 20, 2006, 09:36:02 pm »
gnomebaker

sudo apt-get install gnomebaker
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Re: Disc Imaging
« Reply #2 on: April 20, 2006, 09:46:31 pm »
I said for Hard Drives, not CDs/DVDs!
Unless that does Hard Drives to.
If so tell me how plz.
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Disc Imaging
« Reply #3 on: April 20, 2006, 09:47:52 pm »
haha oops
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Ergot

  • 吴立峰 ^_^ !
  • x86
  • Hero Member
  • *****
  • Posts: 3724
  • I steal bandwidth. p_o
    • View Profile
Re: Disc Imaging
« Reply #4 on: April 21, 2006, 02:37:16 am »
try dd ?
dd if=/dev/hda1 of=/dev/hdb1

When I upgraded my harddrive, I just made a partition for Linux and cp -or (I think that right) everything.
Who gives a damn? I fuck sheep all the time.
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Disc Imaging
« Reply #5 on: April 21, 2006, 03:20:27 am »
try dd ?
dd if=/dev/hda1 of=/dev/hdb1

When I upgraded my harddrive, I just made a partition for Linux and cp -or (I think that right) everything.

I successfully transferred a 4-partition 120gb hard drive onto a 400gb hard drive with this.

[edit] include switches:
bs=1M --progress
[/edit]
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: Disc Imaging
« Reply #6 on: April 21, 2006, 03:22:47 am »
try dd ?
dd if=/dev/hda1 of=/dev/hdb1

When I upgraded my harddrive, I just made a partition for Linux and cp -or (I think that right) everything.

I would be very weary of using this command. Do some research.
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Disc Imaging
« Reply #7 on: April 21, 2006, 03:28:49 am »
try dd ?
dd if=/dev/hda1 of=/dev/hdb1

When I upgraded my harddrive, I just made a partition for Linux and cp -or (I think that right) everything.

I would be very weary of using this command. Do some research.

I don't see anything that would be cause for waryness.  What do you mean?

I've used dd in Linux and Windows both, never had a problem.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Ergot

  • 吴立峰 ^_^ !
  • x86
  • Hero Member
  • *****
  • Posts: 3724
  • I steal bandwidth. p_o
    • View Profile
Re: Disc Imaging
« Reply #8 on: April 21, 2006, 03:31:55 am »
What would be the proper command? Can you do whole harddrives at a time or do you need to do the separate partitions individually?
Who gives a damn? I fuck sheep all the time.
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Disc Imaging
« Reply #9 on: April 21, 2006, 03:33:45 am »
Maybe he's talking about this?
Quote
Some people believe dd means ``Destroy Disk'' or ``Delete Data'' because if it is misused, a partition or output file can be trashed very quickly. Since dd is the tool used to write disk headers, boot records, and similar system data areas, misuse of dd has probably trashed many hard disks and file systems.

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Disc Imaging
« Reply #10 on: April 21, 2006, 03:36:14 am »
What would be the proper command? Can you do whole harddrives at a time or do you need to do the separate partitions individually?

In Linux, it would be:

dd bs=1M if=/dev/hda of=/dev/hdb --progress
That copies hard disk A to hard disk B including partition data.

Windows was something like:
dd bs=1M if=\\?\Device\Harddisk0\Partition0 of=\\?\Device\Harddisk1\Partition0 --progress

The Windows \\?\Device namespace (the \\Global?\ namespace in Win2000)'s Partition0 of Harddisk objects is the actual device transparent of the filesystem.

Maybe he's talking about this?
Quote
Some people believe dd means ``Destroy Disk'' or ``Delete Data'' because if it is misused, a partition or output file can be trashed very quickly. Since dd is the tool used to write disk headers, boot records, and similar system data areas, misuse of dd has probably trashed many hard disks and file systems.

Oh, I see.  Morons used it and it broke, therefore it's an evil destructive command.  Much like the "restore" command of DOS.  Morons should be required to have a license to breathe.  I would revoke it if I was king.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Ergot

  • 吴立峰 ^_^ !
  • x86
  • Hero Member
  • *****
  • Posts: 3724
  • I steal bandwidth. p_o
    • View Profile
Re: Disc Imaging
« Reply #11 on: April 21, 2006, 03:37:29 am »
Why BS=1M and I'm guessing --progress means verbosely ?
Who gives a damn? I fuck sheep all the time.
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Re: Disc Imaging
« Reply #12 on: April 23, 2006, 01:59:44 am »
Code: [Select]
sudo cat /dev/hda > /dev/hdbWorked, 0.o
Fun, Thanks, anyone anyone know a GUI for formatting/partitionsing a disc? I know fdisk, but any utilities with a GUI?
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.

Offline Ergot

  • 吴立峰 ^_^ !
  • x86
  • Hero Member
  • *****
  • Posts: 3724
  • I steal bandwidth. p_o
    • View Profile
Re: Disc Imaging
« Reply #13 on: April 23, 2006, 02:14:27 am »
Code: [Select]
sudo cat /dev/hda > /dev/hdbWorked, 0.o
Fun, Thanks, anyone anyone know a GUI for formatting/partitionsing a disc? I know fdisk, but any utilities with a GUI?
~-~(HDX)~-~
I guess... weird way to do it though :\.
Who gives a damn? I fuck sheep all the time.
And yes, male both ends.  There are a couple lesbians that need a two-ended dildo...My router just refuses to wear a strap-on.
(05:55:03) JoE ThE oDD: omfg good job i got a boner thinkin bout them chinese bitches
(17:54:15) Sidoh: I love cosmetology

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Disc Imaging
« Reply #14 on: April 23, 2006, 02:16:42 am »
Code: [Select]
sudo cat /dev/hda > /dev/hdbWorked, 0.o
Fun, Thanks, anyone anyone know a GUI for formatting/partitionsing a disc? I know fdisk, but any utilities with a GUI?
~-~(HDX)~-~
cfdisk
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Hdx

  • The Hdx!
  • Full Member
  • ***
  • Posts: 311
  • <3 Java/Cpp/VB/QB
    • View Profile
Re: Disc Imaging
« Reply #15 on: April 23, 2006, 02:20:44 am »
I guess... weird way to do it though :\.
Yell at joe
~-~(HDX)~-~
http://img140.exs.cx/img140/6720/hdxnew6lb.gif
09/08/05 - Clan SBs @ USEast
 [19:59:04.000] <DeadHelp> We don't like customers.
 [19:59:05.922] <DeadHelp> They're assholes
 [19:59:08.094] <DeadHelp> And they're never right.

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Disc Imaging
« Reply #16 on: April 23, 2006, 11:49:31 pm »
Code: [Select]
sudo cat /dev/hda > /dev/hdbWorked, 0.o
Fun, Thanks, anyone anyone know a GUI for formatting/partitionsing a disc? I know fdisk, but any utilities with a GUI?
~-~(HDX)~-~
cfdisk

I love you.
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: Disc Imaging
« Reply #17 on: April 23, 2006, 11:56:02 pm »
Code: [Select]
sudo cat /dev/hda > /dev/hdbWorked, 0.o
Fun, Thanks, anyone anyone know a GUI for formatting/partitionsing a disc? I know fdisk, but any utilities with a GUI?
~-~(HDX)~-~
cfdisk

I love you.

Hahaha, that's so bad.
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Disc Imaging
« Reply #18 on: April 24, 2006, 01:18:54 am »
Why BS=1M and I'm guessing --progress means verbosely ?

Adding --progress updates stdio with information about how far the operation has come.

BS=1M is a pretty good size for block buffer copy size.  I think dd defaults to 1 kb block sizes, which would result in 1024 more reads at a time per megabyte of disk space, whereas larger block sizes tend to strain your memory manager.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Disc Imaging
« Reply #19 on: April 26, 2006, 12:48:56 am »
Code: [Select]
sudo cat /dev/hda > /dev/hdbWorked, 0.o
Fun, Thanks, anyone anyone know a GUI for formatting/partitionsing a disc? I know fdisk, but any utilities with a GUI?
~-~(HDX)~-~
cfdisk

I love you.
Was I horribly wrong?
Edit: I'm horribly wrong. Whatever.
I read that as "disk" which would mean "hard disk."
« Last Edit: April 26, 2006, 01:22:26 am by deadly7 »
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Disc Imaging
« Reply #20 on: April 26, 2006, 08:55:20 am »
:D!
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT.