Forum archive
broken fstab - app server won't boot!
Hi there,
I have a appserver turnkey appliance. I have added a line to the fstab (a smb mount point) that apparently was fat-fingered. Now, it won't completely boot and I can't log in to it to edit the file!
Is there any way to stop it from reading the fstab file so I can log in and fix it?
I have attached a screen capture from the host:
thanks,
Jordan
Even the TKL one will do (but make sure you use the Live bit - don't accidentaly install over the top!!!)
Then mount your vHDD.
For future reference you can test fstab entries using mount (I learned this trick the same way you are!)
Say the fstab entry was:
IIRC you test it but mounting the 'device' you have added to fstab, eg
If there is a problem it will let you know then and there. I get in the habit of testing them as soon as I add them to make sure I don't get any nasty suprises on reboot.
However you may still have an issue because AFAIK fstab runs before networking is up so the share won't be available (I've never had SMB shares in fstab). Perhaps the system knows how to work around that and all will be ok, but if the problems persist that could be worth checking out. Out of interest be great to hear whether that is an issue or not.