Ubuntu 18 - Stuck at grub rescue

es flag

Stuck at rescue mode

grub rescue> set                                                                
grub rescue> ls                                                                 
(hd0) (hd0,msdos5) (hd0,msdos1) (hd1)    
grub rescue> ls /                                                               
./ ../ lost+found/ etc/ media/ bin/ boot/ dev/ home/ lib/ lib64/ mnt/ opt/ proc/
root/ run/ sbin/ srv/ sys/ tmp/ usr/ var/ initrd.img vmlinuz initrd.img.old vml
inuz.old org/ .rnd           
grub rescue> insmod normal                                                      
error: relocation 0x0 is not implemented yet.                                   
grub rescue>    

grub rescue> insmod linux                                                       
error: relocation 0x0 is not implemented yet.

grub rescue> insmod (hd0,msdos1)/boot/grub/i386-pc/linux.mod                    
error: relocation 0x0 is not implemented yet.                                   
grub rescue>     

I tried several commands with no luck, any ideas what might be happening?


capt_zipoc avatar
es flag
Im connected to the equipment via a console cable, so Im not able to connect it to other equipment.
capt_zipoc avatar
es flag
Its not a valid command: grub rescue> grub-install --target=x86_64-efi /dev/sda Unknown command `grub-install'. grub rescue>
guiverc avatar
cn flag
Ubuntu 18? So this is a Ubuntu Core 18 server? (the Ubuntu products using the *year* format (18) are different to the far more common *year.month* format (18.04))
es flag

Found the error, the mods were in /usr/lib/grub so the prefix is:

set prefix=/usr/lib/grub

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.