Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-08-06 Thread Neil Bothwick
On Thu, 4 Aug 2005 14:14:47 -0400, Sean Higgins wrote: dd would be a good choice if the partitions are the same size. I do not think it works as well of you are changing the sizes of the partitions. dd is fine, if very slow, when the target partition is larger than the source. You will need

Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-08-06 Thread River Yan
On 8/5/05, Andreas Fredriksson [EMAIL PROTECTED] wrote: A better option is to use . (dot) a the directory. Also adding -p topreserve permissions is essential when backing up a whole system:tar cfp - . | (cd /target/path tar xvfp -) try to use find to get all files? -- riverfor's

Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-08-05 Thread Andreas Fredriksson
On 7/28/05, Sean Higgins [EMAIL PROTECTED] wrote: tar cvf - * | tar xf -C ../new/ * doesn't match hidden files, so the copy will be incomplete. Neil, Interesting. I had not thought about that. I did use the above to recreate my hard drive from one hard drive to another one. It

Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-07-28 Thread Neil Bothwick
On Wed, 27 Jul 2005 20:24:46 -0400, Sean Higgins wrote: Can anyone tell me if it's possible to move (or copy) the complete contents of /boot located on /dev/hdb1 to /dev/hda2. If so would anyone know the correct command so I pick up any hidden files ,etc. One way to do it is to do the

Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-07-28 Thread Sean Higgins
tar cvf - * | tar xf -C ../new/ * doesn't match hidden files, so the copy will be incomplete. Neil, Interesting. I had not thought about that. I did use the above to recreate my hard drive from one hard drive to another one. It worked well, I guess I lucked out that I did not have any

Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-07-28 Thread River Yan
try to use dd

Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-07-27 Thread Jakub Krajcovic
Well, if not sure about the syntax, why don't you just use midnight commander? Although i do not quite understand what you are saying: (copy from /dev/hdb1 to /dev/hda2) - do you mean,: copy from /dev/hdb1 that is mounted on /mountpoint1 to /dev/hda2 that is mounted on mountpoint

RE: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-07-27 Thread Dave Nebinger
Although i do not quite understand what you are saying: (copy from /dev/hdb1 to /dev/hda2) - do you mean,: copy from /dev/hdb1 that is mounted on /mountpoint1 to /dev/hda2 that is mounted on mountpoint /mountpoint2? If that is the case, then a simple: cp -R /boot /new-boot-location should

Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-07-27 Thread Neil Bothwick
On Wed, 27 Jul 2005 09:21:06 -0400, Dave Nebinger wrote: You'll probably want to add the -p option to copy permissions, ownership, etc. Use -a (--archive), which preserves everything it can. -- Neil Bothwick WINDOWS: Will Install Needless Data On Whole System pgpvxjAhggrxw.pgp

Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-07-27 Thread Sean Higgins
Richard, On Wednesday 27 July 2005 08:53 am, Richard Watson wrote: Can anyone tell me if it's possible to move (or copy) the complete contents of /boot located on /dev/hdb1 to /dev/hda2. If so would anyone know the correct command so I pick up any hidden files ,etc. One way to do it is to do