Code: Select all
.
`-- Ubuntu 18.04
|-- Logs
| |-- VBox.log
| |-- VBox.log.1
| |-- VBox.log.2
| |-- VBox.log.3
| `-- VBoxHardening.log
|-- Snapshots
| |-- {519d68d1-6e79-40f8-9e7c-542cdeaab389}.vdi
| |-- {9ab0a0a1-d35d-4d9c-a732-7bb6d05da5f9}.vdi
| |-- {bfe2a091-621a-404e-a868-3fcbc788fb19}.vdi
| `-- {e410c5e5-8606-4494-9040-4bc7afd53b52}.vdi
|-- Ubuntu 18.04.vbox
|-- Ubuntu 18.04.vbox-prev
`-- Ubuntu 18.04.vdi
Oddly the backup is from git. I used this mostly out of interest to see how it would handle large binary files, and since I'm in a home environment where nothing is critical. It backed up every file just fine so far as I can tell, the reason I'm mentioning it is in case the cause of my issue might be due to git creating incorrect file permissions, or text file line endings. My gut feeling is git (I've reset VM files before which worked fine, albeit never the entire folder) is not the issue here but I didn't want to leave it out just in case.
After restoring the backup and using the "Add" mechanism in VirtualBox, all seems fine - it imports correctly without errors, showing me the correct structure of the snapshot tree and so on.
When starting the machine it "works" in that it does actually run a VM instead of crashing at VirtualBox level but within the VM I then get put into grub rescue mode almost immediately and see the error "invalid independent elf magic". Looking online I can't see any answers to that which apply to my situation.
Any thoughts? I'm happy to provide more information.
Thanks!