Forget cp, it will nearly always choke on some things. To get a "reliable" copy, that guarentees all permissions, and ownerships will stay in tact:
#> cd / #> find /[old-home] -print | cpio -pdumv /[New-Home] Then make the appropriate changes to /etc/fstab, and you're there. This one has never failed me. Ric On Wed, Mar 19, 2003 at 12:28:34PM +0000, Christopher Joseph wrote: > First apologies. I have had some problems getting the search function on > the mail archives to function properly this morning so I have not been > able to trawl for past questions regarding the same topic properly. > > The problem: > > I have bought a new 80 Gb ATA133 Hard disk for my desktop running > mandrake linux. I would like to migrate some of the partions on the > existing disk to the new disk and then 'grow' the remaining partitions > to fill the original disk. > > I tried moving /home, /usr and /var on to the new disk by simply using > SU on konqueror and simply copying the files accross. I them altered > /etc/fstab to mount the new partitions at reboot. > > BUT - the copy process changed a lot of permissions and all kinds of > things have errored > > Like: > > opening emacs I couldn't save back to my emacs preferences because the > .emacs... file had been chmodded as part of the copy process. > > or > > any number of services failed to shutdown or start despite there being > no failures in the copy process. Again probably down to permissions. > > > The Question: > > How should I migrate partions (/var, /usr, /home) onto the new disk and > grow the remaining ones (/, SWAP). > > Thanks in advance. > -- > Christopher Joseph > > ------------------- > http://www.ideadesigners.com [iseries & web technologies] > mailto: [EMAIL PROTECTED] > ICQ: 78019724 > > > > > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com -- Ric Tibbetts Linux registration number: 55684 If you want to help advertise Linux - point your friends to http://counter.li.org/
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
