MacでOSを再起動した後にOracle VM VirtualBoxを起動すると、設定したホストオンリーネットワークがなくなっている。
その時の対処法のメモ。
自分のVMはアダプター1にNATを割り当て、
アダプター2にホストオンリーアダプターを割り当てているのだが、ホストオンリーネットワークがないと割り当てることができなくなってしまう。
それでも無理やり起動するとこんなエラーが出る
Failed to create the host-only adapter
これだとネットに繋がらないのでこまる。
解決案としては、ターミナルで以下を実行すると元に戻る。
sudo /Library/StartupItems/VirtualBox/VirtualBox restart
VirtualBox 4.3.0では以下らしい。
sudo launchctl load /Library/LaunchDaemons/org.virtualbox.startup.plist
毎回再起動時にやるのはめんどいな。
こんにちは。virapture…
View Comments
I am an investor of gate io, I have consulted a lot of information, I hope to upgrade my investment strategy with a new model. Your article creation ideas have given me a lot of inspiration, but I still have some doubts. I wonder if you can help me? Thanks.
Thanks for sharing. I read many of your blog posts, cool, your blog is very good. https://www.binance.info/id/join?ref=RQUR4BEO
Your article helped me a lot, is there any more related content? Thanks!