Results 1 to 6 of 6
I was thinking, can I use dd to copy partition(ext 3) over to another partition in another drive?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-05-2003 #1Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
dd
I was thinking, can I use dd to copy partition(ext 3) over to another partition in another drive?
The best things in life are free.
- 08-05-2003 #2Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Indeed you can, but only to an equal-sized or larger partition. If the new partition is larger, you will also need to enlarge the filesystem afterwards with the resize2fs program. Other than that, there's no problems with it.
- 08-05-2003 #3Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
Yes.
- 08-05-2003 #4Linux User
- Join Date
- Jun 2003
- Location
- Minnesota, USA yes.....
- Posts
- 479
dd? whats that?
- 08-05-2003 #5Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
How can I use the resize2fs program? Do I run that after using dd?
The best things in life are free.
- 08-05-2003 #6Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
dd is a program that takes input in blocks and outputs it in blocks. It's not _really_ necessary anymore (you could use cat instead), but it can speed up transfer performance a bit if you use a good block size.
Basically, just run it like this:
resize2fs without any size argument resizes the filesystem to fit the partition on which it resides.Code:dd if=/dev/hdxx of=/dev/hdyy bs=4096 resize2fs -p /dev/hdyy


Reply With Quote
