Re: How to Move from 1 drive to another?

From: Silvan (dmmcintyr_at_users.sourceforge.net)
Date: 07/31/04

  • Next message: Jonathan Barnes: "Re: Networking Problem"
    To: debian-user@lists.debian.org
    Date: Sat, 31 Jul 2004 11:49:00 -0400
    
    

    On Saturday 31 July 2004 06:21 am, Jonathan Wheelhouse wrote:

    > > I would boot a Linux Live CD like knoppix, partition and format the new
    > > drive, copy everything from the old drive to the new one, chroot into the
    > > "new" system, install a boot loader, reboot and be happy.
    > > That is a lot easier then installation from scratch and you can keep
    > > everything installed and configured so far.
    >
    > This sounds like the least amount of work and still giving a good
    > result - I'll give it a go.
    >
    > Off to read about chroot .

    I'm not sure why you should need to bother with booting a live CD. I've done
    this lots of times. Put the new drive in, boot the existing installation,
    partition and format the new drive from the existing installation, mount its
    partitions somewhere temporarily, cp -a the stuff over as appropriate, edit
    its bootloader config and fstab as appropriate, chroot into it and
    run /sbin/lilo then reboot, and presto. You only need a rescue CD if you
    screw something up. (Which I've certainly done, yes, so keep that CD in your
    back pocket. :)

    You might want to look at this:

    http://www.storm.ca/~yan/Hard-Disk-Upgrade.html

    -- 
    Michael McIntyre  ----   Silvan <dmmcintyr@users.sourceforge.net>
    Linux fanatic, and certified Geek;  registered Linux user #243621
    http://www.geocities.com/Paris/Rue/5407/
    http://rosegarden.sourceforge.net/tutorial/
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Jonathan Barnes: "Re: Networking Problem"

    Relevant Pages

    • RE: booting up the system
      ... GRUB now is installed and running smoothly on my machine. ... have you fully setup the chroot environment? ... you need to mount your partitions (especially ... Furthermore, on debian CD installation, I skip to another terminal, ...
      (Debian-User)
    • Re: SATA drive probs: Knoppix OK, but nothing else
      ... <snip - problems booting new installation from SATA drive> ... installed copy of lilo. ... And then chroot into that mounted partition and run the ...
      (Debian-User)
    • Re: How to Move from 1 drive to another?
      ... >>This sounds like the least amount of work and still giving a good ... >>Off to read about chroot. ... Put the new drive in, boot the existing installation, ... >partition and format the new drive from the existing installation, ...
      (Debian-User)
    • Re: Final step to boot from an USB hard disk?
      ... Jim Cornette wrote: ... the chroot via the regular installation.) ... Running grub-install /dev/sda yielded the below output in my chrooted ...
      (Fedora)
    • Re: Remote upgrade headless server with businesscard ISO?
      ... Well, debootstrap is great for setting up a chroot, but I'm not super sure how to pull the rug out from underneath the old bootable OS installation and insert the new bootable chroot, swap in the new kernel, etc. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)