I am running SuSE 8.1 on a desktop machine. The single internal disk drive has 3G of swap and 77G formatted as EXT3. I have a 120G USB attached hard drive formatted with a single logical partition with an EXT3 sub-partition taking up all but what the file system is using to manage it, meaning most of the 120G.. Is there a way, strictly using Linux commands to copy my working 77G partition to the USB partition? Could a reverse copy also be done if I unmounted the file system on Linux before I did the copy? Assuming it's possible, would my system work afterward just as it worked before? Thanks, Greg Wallace
On 26.04.05,22:18, Greg Wallace wrote:
I am running SuSE 8.1 on a desktop machine. The single internal disk drive has 3G of swap and 77G formatted as EXT3. I have a 120G USB attached hard drive formatted with a single logical partition with an EXT3 sub-partition taking up all but what the file system is using to manage it, meaning most of the 120G.. Is there a way, strictly using Linux commands to copy my working 77G partition to the USB partition? Could a reverse copy also be done if I unmounted the file system on Linux before I did the copy? Assuming it's possible, would my system work afterward just as it worked before?
Thanks, Greg Wallace
If you format the USB drive same as the disk drive you can use dd_rescue to copy all data to the new disk. http://www.garloff.de/kurt/linux/ddrescue/ - Josten -- Jostein Berntsen <jbernts@broadpark.no>
On Friday, April 29, 2005 @ 6:45 AM, Jostein Berntsen wrote:
On 26.04.05,22:18, Greg Wallace wrote:
I am running SuSE 8.1 on a desktop machine. The single internal disk drive has 3G of swap and 77G formatted as EXT3. I have a 120G USB attached hard drive formatted with a single logical partition with an EXT3 sub-partition taking up all but what the file system is using to manage it, meaning most of the 120G.. Is there a way, strictly using Linux commands to copy my working 77G partition to the USB partition? Could a reverse copy also be done if I unmounted the file system on Linux before I did the copy? Assuming it's possible, would my system work afterward just as it worked before I did anything?
Thanks, Greg Wallace
If you format the USB drive same as the disk drive you can use dd_rescue to copy all data to the new disk. http://www.garloff.de/kurt/linux/ddrescue/
- Josten
-- Jostein Berntsen <jbernts@broadpark.no>
If I copy every high-level directory to the 2nd drive, do I then have my entire system (minus the MBR)? Are there any components on the disk that aren't contained in those directories? I. e., if I did that copy, re-installed a bare bones Linux system, then copied all of those directories back, would I be back to where I was to start with? Can you copy those directories back to the system you are currently booted into? Thanks, Greg Wallace
On 29.04.05,12:35, Greg Wallace wrote:
On Friday, April 29, 2005 @ 6:45 AM, Jostein Berntsen wrote:
On 26.04.05,22:18, Greg Wallace wrote:
I am running SuSE 8.1 on a desktop machine. The single internal disk drive has 3G of swap and 77G formatted as EXT3. I have a 120G USB attached hard drive formatted with a single logical partition with an EXT3 sub-partition taking up all but what the file system is using to manage it, meaning most of the 120G.. Is there a way, strictly using Linux commands to copy my working 77G partition to the USB partition? Could a reverse copy also be done if I unmounted the file system on Linux before I did the copy? Assuming it's possible, would my system work afterward just as it worked before I did anything?
Thanks, Greg Wallace
If you format the USB drive same as the disk drive you can use dd_rescue to copy all data to the new disk. http://www.garloff.de/kurt/linux/ddrescue/
- Josten
-- Jostein Berntsen <jbernts@broadpark.no>
If I copy every high-level directory to the 2nd drive, do I then have my entire system (minus the MBR)? Are there any components on the disk that aren't contained in those directories? I. e., if I did that copy, re-installed a bare bones Linux system, then copied all of those directories back, would I be back to where I was to start with? Can you copy those directories back to the system you are currently booted into?
Thanks, Greg Wallace
dd_rescue copies all data you have on the disk so that is possible. - Jostein -- Jostein Berntsen <jbernts@broadpark.no>
The Friday 2005-04-29 at 12:35 -0800, Greg Wallace wrote:
If I copy every high-level directory to the 2nd drive, do I then have my entire system (minus the MBR)?
If you do a recursive copy, yes.
Are there any components on the disk that aren't contained in those directories?
Hidden files, depending on the command used. I'm lazy, I use 'mc' for those copies.
I. e., if I did that copy, re-installed a bare bones Linux system, then copied all of those directories back, would I be back to where I was to start with?
Yes. If there are no errors, yes.
Can you copy those directories back to the system you are currently booted into?
Eummm... maybe not. I would use a rescue system. -- Cheers, Carlos Robinson
participants (3)
-
Carlos E. R.
-
Greg Wallace
-
Jostein Berntsen