1

I was working on my Windows PC with Xubuntu 17 running in a virtual machine (VMware Workstation) when there was a very sudden power loss. The Windows host machine booted back up normally, but now the VM just boots to this:

GNU GRUB version 2.02~beta3-4ubuntu7.1
Minimal BASH-like line editing is supported. For the first word, TAB 
lists possible command completions. Anywhere else TAB lists possible
device or file completions
grub> _

I found this Ubuntu Forums article, but I cannot seem to make the steps work for my VM (perhaps they aren't exactly applicable..?).

When I enter ls at the grub> prompt it shows this:

(hd0)(hd0,msdos1)

...so I try these commands:

set root=(hd0,msdos1)
set prefix=(hd0,msdos1)/boot/grub
insmod normal
normal
boot

Boot it just returns:

error: you need to load the kernel first.

Any help greatly appreciated.

Here are the logs from the "Boot Repair" program: http://paste.ubuntu.com/p/s3bdGg47zC/

  • Any ideas, @Drakonoved? Thanks for the edits. – KidACrimson Mar 1 '18 at 22:45
1

What happens when you try to boot to a Xubuntu 17 ISO? I would suggest booting to the ISO and running the live mode and mount the file system and then from there rebuild the grub boot loader. I would suggest this website as guidance for rebuilding the boot loader if you don't know how.

How to Repair GRUB2 When Ubuntu Won't Boot | How To Geek

I Hope this provide some help.

|improve this answer|||||
  • Thank you, Connor. I booted to a Xubuntu Live CD and tried the auto-repair from the GUI (via the How-to-Geek article), but it did not work. – KidACrimson Mar 2 '18 at 6:39
  • Hello, what error messages are you seeing if any? when you built you VM did you split the storage into different partitions? If you did you could reinstall the Xubuntu primary partition and the boot loader. Are you more interested in file recovery or a project that is built on the VM? – Connor Payne Mar 2 '18 at 17:17
  • There's no data I need in the VM, I just want to get it working again really. – KidACrimson Mar 2 '18 at 20:53
  • Here are the logs from Boot Repair: paste.ubuntu.com/p/s3bdGg47zC – KidACrimson Mar 2 '18 at 21:00
  • It shows "successful" but still the VM will not boot: paste.ubuntu.com/p/fXRXzcWVZH – KidACrimson Mar 2 '18 at 21:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.