Tim, I just booted of the cd in panic mode, mounted the respective partitions and moved the data. Thanks for the info, I've never tried it that way. I was just suggesting a lazy man's approach. As that great American Philosoper, Ben Franklin (Frankland?) said: "lazyness is the mother of invention." Steve Tim Duggan wrote:
Hi Steve,
-----Original Message----- From: Steven T. Hatton [SMTP:hattons@CPKWEBSER5.ncr.disa.mil] Sent: Monday, March 13, 2000 1:19 PM
I just ran YAST 2 on a box and told it to set up a default minimal system. Wow!!!! My mother could do that! Good Job SuSE!
One thing that did happen when I changed my hard drive set up did get me thinking about a type of management tool. I originally installed on an old 340 MB HD with just the minimal setup. I then added a 10G HD and put /usr, /var, and /opt on the big drive. I didn't think to migrate the contents before I rebooted. Needless to say the system wasn't very happy to find empty partitions where its brain used to be. It would be
cool if that could be done in one command, e.g. "migrate /dev/hda3/usr
/dev/hdb3/usr" which could be made part of the disk admin utility.
Since you asked, there is an easy way to do this, not a one liner, but could be. 1) Make a backup! and mount the new partition someplace.
2) Then (taken directly from the Tips-HOWTO sect. 2.6) (cd /source/directory && tar cf - . ) | (cd /dest/directory && tar xvfp -)
3) Check the new copy to make sure it matches the old one (you can use diff)
4) umount and mount as appropriate (you may have to clean up some stuff if you are moving a directory to a partition, but you get the idea)
5) Make sure everything is OK. If yes, have a beer :-), if not, you did make that backup, right?
Good luck Tim
-- 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/Doku/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/Doku/FAQ/