Clan x86
General Forums => General Discussion => Topic started by: Hdx 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)~-~
-
gnomebaker (http://gnomebaker.sourceforge.net/)
sudo apt-get install gnomebaker
-
I said for Hard Drives, not CDs/DVDs!
Unless that does Hard Drives to.
If so tell me how plz.
~-~(HDX)~-~
-
haha oops
-
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.
-
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]
-
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 (http://www.codecoffee.com/tipsforlinux/articles/036.html).
-
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 (http://www.codecoffee.com/tipsforlinux/articles/036.html).
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.
-
What would be the proper command? Can you do whole harddrives at a time or do you need to do the separate partitions individually?
-
Maybe he's talking about this?
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.
-
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? 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.
-
Why BS=1M and I'm guessing --progress means verbosely ?
-
sudo cat /dev/hda > /dev/hdb
Worked, 0.o
Fun, Thanks, anyone anyone know a GUI for formatting/partitionsing a disc? I know fdisk, but any utilities with a GUI?
~-~(HDX)~-~
-
sudo cat /dev/hda > /dev/hdb
Worked, 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 :\.
-
sudo cat /dev/hda > /dev/hdb
Worked, 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 guess... weird way to do it though :\.
Yell at joe
~-~(HDX)~-~
-
sudo cat /dev/hda > /dev/hdb
Worked, 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.
-
sudo cat /dev/hda > /dev/hdb
Worked, 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.
-
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.
-
sudo cat /dev/hda > /dev/hdb
Worked, 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."
-
:D!