replacing failing system disk

From: Shea Martin (sheam_at_ns.sympatico.ca)
Date: 08/20/05

  • Next message: qee iiii: "x window"
    Date: Sat, 20 Aug 2005 00:09:49 GMT
    To: debian-user@lists.debian.org
    
    

    My hda is going south. I have a good (crosses fingers) disk as /dev/hdb
    right now. My plan for migration is this:

    1. fdisk /dev/hdb, and create similar partion scheme on hdb.
    2. newfs all new partititions, mkswap on swap partition.
    2. from knoppix, "cp -a" the contents of /dev/hda to /dev/hdb.
    3. chroot to the / of hdb, and run grub.
    4. poweroff, pull hda, make hdb the new primary-master (aka hda).
    5. boot and pray.

    Anyone see any wholes in this theory?

    Thanks.

    ~

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: qee iiii: "x window"

    Relevant Pages

    • Re: replacing failing system disk
      ... newfs all new partititions, mkswap on swap partition. ... copying the contents off fo failing disk will only aggravate it ... chroot to the / of hdb, ... with hda vs hdb vs both present etc..etc.. ...
      (Debian-User)
    • Slow boot
      ... hde, hdc is the CD, and hda, hdb and hdd are unused. ... Probing IDE interface ide0... ... no response, ...
      (Fedora)
    • hda=none hda=noprobe is ignored by <=2.6.15-26
      ... Asus A7V133, hda hdb empty. ... Probing IDE interface ide0... ...
      (Linux-Kernel)
    • Re: change hdb to hda
      ... > floppy and carried on with it on hdb. ... > Now I want move the drive with suse from hdb to hda, so I can add a second ... > -change the bootloader settings on the floppy from hdb to hda ... It might be easier to leave the existing drive as is, and install the new one ...
      (alt.os.linux.suse)
    • Re: change hdb to hda
      ... >> hdb is on the primary IDE connector. ... > to have both hard drives on the same IDE? ... When you're copting hda -> hdb, half the time the OS reads from hda and the ...
      (alt.os.linux.suse)