Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I followed this tutorial:
When in Step 3 - running debootstrap - my ssh connection got terminated for some reason.
i was able to reconnect but now i have a bootstrap directory in unknown state.

Any idea what i have to do now? Can i just remove it or is it somehow connected to the rest of the system?

Please Help!
Thanks :)

share|improve this question
up vote 2 down vote accepted

You can do rm -rf /lenny-php53/* and try again without issues, the debootstrap command limits itself to the destination directory. But just re-running debootstrap without removing the leftovers from the latest run will probably work.

share|improve this answer
Looks like re-running worked well :) Thank you! – Florian Fida Jun 15 '11 at 18:05
Btw.: Could you recommend any Site/Blog/Whatever on debootstrap, the docs included are pretty thin... And i really would like to know stuff like: What do i have to do if i reboot the server? Is there something that takes care of whatever is running inside the chrooted bootstrap (?) - because i plan to run a webserver inside... – Florian Fida Jun 15 '11 at 18:07
Well, debootstrap only helps you with the initial setup of the chrooted environment. The actual functioning has more to do with chroot or virtualization (if you choose to go that way) than with debootstrap. You can create init scripts for whatever services you want to run chrooted - some scripts already sport a parameter $ROOT that lets you use them easily for this. Check for an example on how to modify a init script. – Eduardo Ivanec Jun 15 '11 at 19:10
Thanks, learned a lot there :) – Florian Fida Jun 15 '11 at 21:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.