I made an accidental edit to /etc/fstab which is causing my TemplateVM to 
timeout on boot with error Cannot connect to qrexec agent for 60 seconds....

Is there a way to edit a particular VM's etc/fstab without booting it up? Can I 
perhaps mount it's root filesystem?

Attempted solutions

1. I've tried adding init=/bin/bash to the kernel opts, starting the templateVM 
and then running sudo xl console TEMPLATE_NAME from Dom0 but I did not reach a 
command-prompt before fstab was read and executed.

2. I tried mounting the root filesystem for the TemplateVM from Dom0 with: sudo 
mount /dev/qubes_dom0/vm-fedora-26-root mnt but got error wrong fs type, bad 
option, bad superblock...

Any suggestions on how I could edit /etc/fstab for my TemplateVM before it gets 
executed?

Steps to reproduce the behavior:

- Edit your /etc/fstab to be incorrectly formatted
- Run qvm-start YOUR_FAULTY_TEMPLATE

Related issue: 
https://unix.stackexchange.com/questions/44027/how-to-fix-boot-failure-due-to-incorrect-fstab

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/xjsJZbjJh0LZCzSjpINQmk18PXFKUJRsGr4cjJPg12wGVf6NzbMEqX1wc480zbb9cim2pMqbF5JvU6cYd34ybm6xNauHvdoJ90rZdx3544E%3D%40protonmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to