I've been following this tutorial to create a custom amazon ec2 image. It looks like debootstrap doesn't set up the fstab anymore.

When I get to the mount /proc step, it complains:

warning: can't open /etc/mtab: No such file or directory
mount: can't find /proc in /etc/fstab or /etc/mtab

What do I need to do in order to configure the fstab for the first time? I have got a copy of the fstab on my local Linux Debian install but I don't know if there is some script/config command I have to run in order to configure the system. Also, do i need to create /etc/mtab?

1 Answer 1


It's a plain text file, and you can open it in any text editor (e.g. vim, emacs, nano) to add entries to it. /etc/mtab is created on the fly, and you should not modify it.

You must log in to answer this question.