Hi list, I would like to move my whole SuSE6.4 install from one hard drive to another. Right now it is on a 10G drive and I want to move (copy) it to my 20G drive, which at the moment, is secondary master ( /dev/hdc). After the move, it will be moved to primary master position (/dev/hda), and the 10G drive moved to secondary master position. I have seen reference to the dd command, but I would like to be sure that this is what I want and that I use it correctly. I really don't want to do a re-install if possible....there's too much set up. I'm waiting for the new SuSE and/or KDE2 before I do that. Also, would I change lilo and fstab before moving the system so it remains bootable or will I be able to get in with the CD to change these after the move? Or am I opening a can 'o worms? Thanks -- TRBishop tb64710@ltec.net Registered Linux User #12043 <Powered by SuSE 6.4> -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
TRBishop wrote:
Hi list, I would like to move my whole SuSE6.4 install from one hard drive to another. Right now it is on a 10G drive and I want to move (copy) it to my 20G drive, which at the moment, is secondary master ( /dev/hdc). After the move, it will be moved to primary master position (/dev/hda), and the 10G drive moved to secondary master position. I have seen reference to the dd command, but I would like to be sure that this is what I want and that I use it correctly. I really don't want to do a re-install if possible....there's too much set up. I'm waiting for the new SuSE and/or KDE2 before I do that. Also, would I change lilo and fstab before moving the system so it remains bootable or will I be able to get in with the CD to change these after the move? Or am I opening a can 'o worms? Thanks -- TRBishop tb64710@ltec.net Registered Linux User #12043 <Powered by SuSE 6.4>
It is possible. I have done it copying the whole partitions from an HD to another, using partition magic, then resizing them. Of course, you have to change fstab and modify lilo.conf according to the new image position. Tazio -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
There is also an alternative way to do what you want with native unix/linux tools. Use tar. For example, if you wanted to move your /home to a new parition you could do something like this: 1. create the new partition and mount it someplace like: /new 2. type: "cd /home" 3. type: "tar cf - . | (cd ../new; tar xvf -)" 4. sit back and watch the files be moved! The tar command will create a tar file write it to standard output which is then piped to a subshell that cd's to the deisired directory and "un-tar's" the file. Once you have moved whatever you want, you can then do as others have suggested and modify fstab and lilo as needed. Hope it helps! tar can be your friend! david On Sun, 30 Jul 2000, Tazio Ceri wrote:
Date: Sun, 30 Jul 2000 21:12:32 +0200 From: Tazio Ceri <praisetazio@tiscalinet.it> Cc: suse-linux-e@suse.com Subject: Re: [SLE] Disk command
TRBishop wrote:
Hi list, I would like to move my whole SuSE6.4 install from one hard drive to another. Right now it is on a 10G drive and I want to move (copy) it to my 20G drive, which at the moment, is secondary master ( /dev/hdc). After the move, it will be moved to primary master position (/dev/hda), and the 10G drive moved to secondary master position. I have seen reference to the dd command, but I would like to be sure that this is what I want and that I use it correctly. I really don't want to do a re-install if possible....there's too much set up. I'm waiting for the new SuSE and/or KDE2 before I do that. Also, would I change lilo and fstab before moving the system so it remains bootable or will I be able to get in with the CD to change these after the move? Or am I opening a can 'o worms? Thanks -- TRBishop tb64710@ltec.net Registered Linux User #12043 <Powered by SuSE 6.4>
It is possible. I have done it copying the whole partitions from an HD to another, using partition magic, then resizing them. Of course, you have to change fstab and modify lilo.conf according to the new image position.
Tazio
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
On Mon, 31 Jul 2000, David Abraham wrote:
There is also an alternative way to do what you want with native unix/linux tools. Use tar. For example, if you wanted to move your /home to a new parition you could do something like this: 1. create the new partition and mount it someplace like: /new 2. type: "cd /home" 3. type: "tar cf - . | (cd ../new; tar xvf -)" 4. sit back and watch the files be moved! The tar command will create a tar file write it to standard output which is then piped to a subshell that cd's to the deisired directory and "un-tar's" the file. Once you have moved whatever you want, you can then do as others have suggested and modify fstab and lilo as needed.
Hope it helps! tar can be your friend!
david
Just happened to think of something....I'm using reiserfs for /. Am I screwed here? I've seen no way to create a partition with this ID. -- TRBishop tb64710@ltec.net Registered Linux User #12043 <Powered by SuSE 6.4> -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (3)
-
abraham@usit.net
-
praisetazio@tiscalinet.it
-
tb64710@ltec.net