> Hi, can you share the script and where to run it?(i.e. which tty should I run 
> it in?) I'm struggling with the system freeze during setting up the network

I did the following to get past the system freeze during setup on my Macbook:
1) Run Qubes installation, it will reboot and show the "Initial Setup" screen.
2) Press fn+ctrl+alt+f3 to switch to a tty (you might have to press it multiple 
times for some reason).
3) Logon to the tty using the user your created during part 1 of the setup.
4) If you don't know the pci address of your problematic device, type "qvm-pci 
l" to find it (mine is dom0:03_00.0).
5) Start a bash loop that will try to remove the problematic pci device from 
sys-net the moment it is created. Basically just type something like the 
following at the bash prompt (though replace dom0:03_00.0 with the pci address 
you want to remove) and hit enter:

"while ! qvm-pci d sys-net dom0:03_00.0; do sleep 0.1; done"

It will spit out lots of errors saying "no such domain 'sys-net'". That is 
expected, you want to leave it running while you complete the setup. Basically 
when sys-net is created by setup the bash loop should remove the pci device 
from sys-net before it is started. (You need the sleep period to be small 
enough so that the device will be removed between the time setup creates 
sys-net and the time it starts sys-net.)

6) With the bash loop running, switch back to Qubes setup using fn+ctrl+alt+f2 
and complete setup as usual. If you specify the correct pci address to remove 
then hopefully the bash loop with remove it in the background and setup will 
complete without freezing.

There are probably other ways to do this, but the above worked for me.

-- 
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/27f1e987-1f69-43de-86b3-f6a74aeeb3e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to