-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2009-04-26 at 00:55 -0400, Bob S wrote:
I have 3 internal drives (two IDE and one SATA) and run 4 different OS's The failing 8GB drive (sdb) has only one OS on it. My SuSE 11.1 testbed. I have 4 partions on it. ( /, /home, /tmp, /var) and it fills the drive.
For such a small one I would have used a single partition. My tests systems (factory, for example) are set that way. Only /boot is separate if needed. It saves space.
I had to use the rescue function on the DVD to disable the /home and /tmp partitions to keep my computer running for the other OS's My menu.lst is on the 11.1 /root/grub. (very worrisome, the failing drive) As stated previously it is backed up with rsync. Partitions are mounted by label and I do not use LVM.
The new drive is 160GB. (arriving soon I hope) I want to duplicate the 11.1 testbed on to the new drive and use all of the remaining space for other uses.
I could as suggested, disconnect my sda and plug in the new drive there and do a dd as David suggested. But, would dd copy over the "corruption"? If so, could I then rsync and replace the "corrupted" portions and then use gparted to create more partitions after everything was copied over and working correctly?
If you do not have free HD slots, you could use a USB HD box. Yes, dd would copy the corruption, of course. Yes, you could use rsync and the bad parts from backup instead - assuming that rsync does not abort. I'm not sure what it will do. A note. Suppose you have a source tree: / /var /tmp /home And you want to copy it to a destination new drive, with rsync. The new one has a different structure (for argument shake): /new/ /new/usr /new/home /new/tmp /new/data It does not matter. Just rsync from source to new destination (/new)... the only problem is how to state the source not to include /new and end being recursive. It is easier if old disk is mounted like: /old/ /old/var /old/tmp /old/home Then, "rsync {options} /old /new" would work (I forget if a "/" is needed at the end or not. I never remember that "detail" and have to test it). Ah! Another handy tool to do the copy, is mc, midnight commander. It will work just as well (except if aborted, rsync is restartable). - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkn0OAIACgkQtTMYHG2NR9XkqwCfaDDWBTPrif29ENzrqGZZALqv 63AAoIAg1kmut7fpdjKoQ2CsKNgBjowE =QA3g -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org