How do I un-chroot ?

Using applications, configuring, problems
Post Reply
Message
Author
dougtheslug
Posts: 31
Joined: Wed 01 Jun 2005, 11:38
Location: Etobicoke , Ontario ,Canada
Contact:

How do I un-chroot ?

#1 Post by dougtheslug »

I have puppy linux and damnsmalllinux installed on the same HD .
thanks to your posts I learned how to chroot into another distro from puppy now my question is
how to get out of chroot and into puppy again I tried crtl+D but it did not work
and if I kill the xserver my screen goes black . is there a way to jump from one distro to the other ?.
Show them how to make their own bread and tomorow the will have their own bakery

User avatar
Bancobusto
Posts: 168
Joined: Mon 13 Jun 2005, 20:52
Location: Vancouver Island

#2 Post by Bancobusto »

Doug the Slug, I would tell you, but I don't know exactly. Sorry.

Guest

#3 Post by Guest »

Usaully just typing exit at the prompt does the trick and it's always a good idea the umount /proc that's been mounted in the chroot filesystem....tho I'm not too sure if running a xserver in the chroot enviroment is a good idea...Usually it's used for console situations

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#4 Post by BarryK »

Yep, as Bladehunter says, just type exit.
I will also echo the same advice, don't run any X apps in the chrooted environment.

Guest

#5 Post by Guest »

actually both /dev/pts and /proc should be mounted in the chroot session...then unmounted afterwards

Code: Select all

mount proc /proc -t proc
mount devpts /dev/pts -t devpts

Certain applications require them for operation

Post Reply