Comments (3)
I managed to solve this by repairing grub. Here's what you need to do in order to repair grub and get your GNS3 Hyper-V VM booting normally again:
Download Debian Live standard iso Add a new DVD-device to your VM, link it to the Debian Live iso and change the boot-order to CD first. Make sure that your VM has internet connectivity (via Default switch).
Command sequence:
sudo -i
apt update && apt install grub
mount /dev/sda1 /mnt
mount /dev/sda15 /mnt/boot/efi
mount --rbind /dev /mnt/dev
mount --rbind /proc /mnt/proc
mount --rbind /sys /mnt/sys
chroot /mnt
grub-install /dev/sda
It is necessary to re-mount /dev, /proc and /sys from the readonly live system to /mnt. Grub will otherwise fail with "cannot find a device for /boot (is /dev mounted?)" error.
Stop the VM after this, remove the CD/DVD or change the boot order to IDE first. Then restart the VM.
from gns3-vm.
In the end, repairing grub did not work out for me (boot issue remains). Here's what I did instead:
Overwrite 'GNS3 VM-disk001.vhd' (GNS3 system partition) with an untouched copy from the GNS3 VM zip-file. Start an administrative Powershell, change working directory to your VM path and issue the following command:
$VMId = get-vm 'GNS3 VM' | Select-Object VMID -ExpandProperty VMId
icacls '.\GNS3 VM-disk001.vhd' /grant "$($VMId.Guid):F"
The icacls command will grant the replaced vhd read/write access and register it with the VM.
Your projects reside in the 'GNS3 VM-disk002.vhd' and will be mounted to /opt/gns3 upon boot. You may now restart your GNS3 VM and reconfigure networking if necessary.
from gns3-vm.
Thanks for the detailed fix. I am not sure why you got into that situation and how we could prevent this to happen for other users. Please let us know if you have an idea. I am closing this for now.
from gns3-vm.
Related Issues (20)
- gns3 vm 2.2.24 upgrade to 2.2.25 broken HOT 17
- gns3-gui qemu, vmware vms, and docker containers in preferences associations with gns3-vm HOT 3
- Migrate should also copy controller / server config files HOT 2
- GNS3 VM based on Alpine Linux HOT 4
- Unable to run MikroTik CHR 7.1rc4 on GNS3 VM
- Change how the VM is restored (gns3restore) HOT 1
- GNS3 VM. VMware issue
- GNS3 VM crashes once a day HOT 8
- Using the cloud node with TAP interfaces
- gns3-2-2-35-1-cannont-connect-with-vm-2-2-35-1-greyed-out
- GNS3 VM 2.2.35.1 vmx file corrupt | unable to import in VMware HOT 5
- Multipath failures in the log HOT 1
- GNS3 VMware is connected to the Internet, but cannot access the website. HOT 1
- GNS3 VM migration fails because new GNS3 VM has same mac address HOT 3
- GNS3 VM migration fails beause rsync fails HOT 2
- Failed to open file '/sys/class/net/tap-gns3-e0/operstate HOT 1
- GNS3 VM arm64 issues with Docker containers HOT 2
- 3.0.0 b2 Issue running gns3restore on esxi - libssl1.1 no install candidate HOT 3
- Cisco Nexus 9k nodes connect to telnet port, but no boot sequence appears.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gns3-vm.