Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

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.