Anyway to boot into only dom0 (4.0rc3)/sys-firewall stuck at boot

17 views
Skip to first unread message

Kushal Das

unread,
Dec 24, 2017, 4:04:38 AM12/24/17
to qubes-users
Hi,

My sys-firwall is stuck at the boot time (with no limit) 4.0rc3
(updated). Is there anyway to boot
into dom0 without starting any other vm? Then I can remove and create
the sys-firewall vm again (or if there is any easy way to recreate the
vm). My primary Qubes laptop is not usable state thanks to this issue.
Any tips to solve this will be a big help.


Kushal
--
Staff, Freedom of the Press Foundation
CPython Core Developer
Director, Python Software Foundation
https://kushaldas.in

awokd

unread,
Dec 24, 2017, 4:44:41 AM12/24/17
to Kushal Das, qubes-users
On Sun, December 24, 2017 9:04 am, Kushal Das wrote:
> Hi,
>
>
> My sys-firwall is stuck at the boot time (with no limit) 4.0rc3
> (updated). Is there anyway to boot
> into dom0 without starting any other vm? Then I can remove and create the
> sys-firewall vm again (or if there is any easy way to recreate the vm). My
> primary Qubes laptop is not usable state thanks to this issue. Any tips to
> solve this will be a big help.

It's not very elegant but this should work:

Boot from your Qubes install media
Troubleshooting
Rescue a Qubes system
1
Enter
chroot /mnt/sysimage
nano /var/lib/qubes/qubes.xml
look for the line with name="sys-net", it will probably start with QubesNetVm
change name="sys-net" to name="sys-net2"
ctrl-x, y to save changes, Enter
exit
reboot
remove Qubes install media
boot into Qubes normally
start a dom0 terminal
nano /var/lib/qubes/qubes.xml
go through that same line again and delete the "2" off the end of
"sys-net". it will have been added in multiple places automatically so
make sure to review the entire line and delete the "2" anywhere it got
added
ctrl-x, y to save changes, Enter
you should now be in dom0 with no started VMs



Kushal Das

unread,
Dec 24, 2017, 11:46:01 AM12/24/17
to aw...@danwin1210.me, qubes-users
On Sun, Dec 24, 2017 at 3:14 PM, awokd <aw...@danwin1210.me> wrote:
>
> It's not very elegant but this should work:
>
> Boot from your Qubes install media
> Troubleshooting
> Rescue a Qubes system
> 1
> Enter
> chroot /mnt/sysimage
> nano /var/lib/qubes/qubes.xml
> look for the line with name="sys-net", it will probably start with QubesNetVm
> change name="sys-net" to name="sys-net2"
> ctrl-x, y to save changes, Enter
> exit
> reboot
> remove Qubes install media
> boot into Qubes normally
Did the same by just changing the sys-firewall vm name in qubes.xml to
sys-firewall2, which
caused qubesd failure. That helped to boot into dom0 super fast. After
that had to keep
trying different combinatin to get qubesd service to start again, and
later removed and recreated
the sys-firewall vm. Thanks a lot for the tips.

I am not exactly sure why I am getting into this pain again and again :(
For now, I updated dom0 with the packages from latest testing. Let us
see how well those work.

Chris Laprise

unread,
Dec 24, 2017, 3:25:43 PM12/24/17
to qubes...@googlegroups.com
On 12/24/2017 04:04 AM, Kushal Das wrote:
> Hi,
>
> My sys-firwall is stuck at the boot time (with no limit) 4.0rc3
> (updated). Is there anyway to boot
> into dom0 without starting any other vm? Then I can remove and create
> the sys-firewall vm again (or if there is any easy way to recreate the
> vm). My primary Qubes laptop is not usable state thanks to this issue.
> Any tips to solve this will be a big help.
>
>
> Kushal
>

What worked for me is simply disable "Start on boot" for sys-net and
sys-firewall.


--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886
Reply all
Reply to author
Forward
0 new messages