Score:0

How can I rescue my Ubuntu VM, if I can't find the */boot/grub directory anywhere?

us flag

Something happened to my Ubuntu (v20.04 I believe) VM that I was working on, and it throws me into "grub rescue> " mode, doesn't even let me boot otherwise.

I've done some research on the internet, but unfortunately it hasn't been a fruitful endeavour, since the only solution I've come across doesn't work for me. Here's what I found:

1. grub rescue> ls (hd0) (hd0,msdos5) (hd0,msdos1)

I found the EXT2 filesys on (hd0,msdos5) with the following directories:

./ ../ swapfile dev/ home/ proc/ run/ sys/

I searched through manually the entire file system, but haven't found the /boot nor the /grub directories anywhere to set root and prefix. Like they've disappeared.

If anybody have come accross such an issue and solved it succesfully without reinstalling the operating system, any help would be greatly appreciated.

Thanks.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.