Aniruddha wrote: > On Tue, 2008-08-12 at 12:32 +0300, Eugene V. Lyubimkin wrote: >> Aniruddha wrote: >>> On Tue, 2008-08-12 at 11:38 +0300, Eugene V. Lyubimkin wrote: >>>> Aniruddha wrote: >>>>> I've used chroot numerous times with Gentoo and I wonder if this >>>>> procedure differs for Debian. Here's the procedure I used with Gentoo, >>>>> can I use the same procedure on a mounted Debian partition? >>>>> >>>>>> # cp -L /etc/resolv.conf /mnt/gentoo/etc/ >>>>>> # mount -t proc none /mnt/gentoo/proc >>>>>> # mount -o bind /dev /mnt/gentoo/dev >>>>>> # chroot /mnt/gentoo /bin/bash >>>>>> # env-update >>>>>> # source /etc/profile >>>>>> # export PS1="(chroot) $PS1" >>>>> I also wonder if it matters which live cd I use. Can I use the (Gentoo >>>>> based) systemrescuecd? Or do I need a Debian livecd? Thanks in advance! >>>>> > >>> Thanks for the help, but isn't exactly what I meant. When I use chroot >>> it's for system rescue purposes. I boot from a livecd mount the Debian >>> partition and use chroot to login into my system and carry out repairs. >>> >>> >> Ah, undestood. Well, you can easily use commands you provided above - as for >> me, I don't >> see any objections to use them. >> > > And does it matter which livecd I use? Should it be Debian based? I think it doesn't matter.
-- Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer.
signature.asc
Description: OpenPGP digital signature