linux - debootstrap creates blank fstab ("UNCONFIGURED FSTAB FOR BASE SYSTEM") - how do i configure fstab for the first time?
2013-08
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?
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.
I want to run some xulrunner based program on EC2 - it will run automatically but it needs some display as far as I understand. That probably requires X11 with some dummy screen driver.
How can I do that? (or run xulrunner on EC2 otherwise).
Alternative solution: XVNC, which you can connect to with a VNC client if you want to see what is happening: http://www.csd.uwo.ca/~magi/doc/vnc/xvnc.html
Yes, a common solution to this is to run Xvfb, which is a X11 server with a virtual framebuffer. It doesn't actually display anything, but other than that it behaves exactly like any other X11 server.
Xvfb
is an X server that does not actually connect to any hardware.