Re: Death of a drive



On May 21, 3:06 pm, Will Kemp <w...@xxxxxxxxxxxxxxxx> wrote:
Paul F. Johnson wrote:
Hi,

It sounds like one of my drives (annoyingly, the one with /home on it) is
about to snuff it (clicks on boot, but it will boot still).

As it has the home directories on it, I will need to ferret them onto
another drive.

Is there a way to clone the home directories or should I just use cp (and
then what flag do I need for all of the hidden directories and files?)

Back in the old days, i would have used cpio, but nowadays i use 'cp
-a'. That copies everything recursively and keeps the dates, owners,
permissions, etc, the same. Depending on your setup, 'cp -a /home
newhome' will probably do it.

--http://SnapAndScribble.com

cpio still has quite a performance advantage over cp - but for a
small, one-ff, it may end up taking longer by the time you work out
how to use it.

C.
.



Relevant Pages

  • how can I make a partion bootable
    ... I trying to workout some kind of backup plan, I've got as far as making ... a cpio archive of my all my files, putting in a new hard drive creating ... I can boot from a floppy using boot wd0a:/bsd. ... mount second drive as /backup ...
    (comp.unix.bsd.openbsd.misc)
  • Re: cpio copy linux installation (FC3)?
    ... I used cpio to copy my FC3 installation from one volume to another on the ... make a new LVM partition and filesystem the same size as original ... boot from rescue CD ...
    (Fedora)
  • Re: Copy info from IDE drive to SATA drive
    ... You dont actually have a clue about what a bios can do either. ... THE BIOS TO BOOT OTHER THAN THE ONLY ... PRIMARY PARTITION WITH A BOOTABLE FLAG. ... It loads the MBR and looks for a valid bootloader signature. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: V4FX PPC suspend/resume
    ... Austin's answers seems more robust assuming you clear the "warm boot" flag in step 5 of the resume process. ... copy all of memory to a non-volatile storage ... Copy the saved memory from the non-volatile storage device to ...
    (comp.arch.fpga)
  • Re: removing a windoze partition (but its boot)
    ... James ... >> I originally set it up as a dual boot for games on Windows. ... > flag to your primary ext3 partition. ...
    (RedHat)