I have a dual boot laptop, and the isssue is very similar to this post 6 years ago, but all my options are different and when I try to use the answer it doesn't work.
The problem occurred after a large firmware update, after which the normal grub menu stopped working (it booted straight into Windows). I could get it into linux though so I ran the boot-repair tool. Since then I can't boot anything, not even a chance to go into BIOS, it just goes straight to a black terminal screen with grub>
In short, the solution linked above says to use the following command, replacing (hd0,1) with whatever partition has linux.
set pager=1
ls
set root=(hd0,1)
linux /boot/vmlinuz-3.13.0-29-generic root=/dev/sda1
initrd /boot/initrd.img-3.13.0-29-generic
boot
When I run
ls
the partitions are all (hd0, gptX), not msdos like the solution above, and one is called (proc). The linux partition seems to be (hd0,gpt8)Next, I have a lot more vmlinuz versions, but I tried it with the most recent and corresponding initrd.
I don't know if I should be using sda1 or 8. I tried anyway and it goes to
no root device specified.....
and thenBusybox v1.30.1
and a prompt(initramfs)
How can I make it boot? into any OS? I don't mind reinstalling the Linux partition, just so long as I can get my laptop back!
busybox
package detail applies to a later release... It's unclear what OS & release you're talking about as details don't match, and some are off-topic here. If you understand what the example shows (which will match the OP in the question where it was found) you'll know how to adapt for your situation; comparing your box with the OP in questions you see will also help (are you using uEFI/BIOS etc.. was the OP in the question etc. – guiverc Jun 16 '21 at 11:00