Migrating a Linux (Debian Squeeze) system from one HD to another HD

Migrating a Linux (Debian Squeeze) system from one HD to another HD

Yedidyah Bar-David linux-il at didi.bardavid.org
Mon Feb 20 11:09:57 IST 2012


On Mon, Feb 20, 2012 at 06:07:37PM +1100, Amos Shapira wrote:
> You'll HAVE to, especially /boot, before chroot'ing do:
> 
> # for i in proc dev sys boot; do mount -o bind /$i /chroot/$i; done

The OP specifically said he mounted a NEW boot partition under the
chroot. I agree with the others. I usually remember only /proc but
can see why all might be needed.
-- 
Didi




More information about the Linux-il mailing list