This is an old revision of the document!



Home > computers > linux > chroot > ChrootIntoClonedMachine | About

When you chroot into a machine you just cloned with rsync, you can't really do anything useful because no device is created. Some crucial files and directories need to be borrowed from the "host" system, you can do this with the following commands (thanks to drmagoo for this tip) :

mount --bind /proc /target/proc
mount --bind /dev /target/dev
mount --bind /sys /target/sys
chroot /target

Now most commands should work. Make sure though that files belong to the good owner.


contact : @ychaouche yacinechaouche at yahoocom


QR Code
QR Code chrootintoclonedmachine (generated for current page)