0

So I used boot repair and got rid of all old kernels and then I restarted My Toshiba satellite and didn’t get the regular menu entries like before where I can just pick an image and boot into Ubuntu. Now it just gives me the

minimal bash-like line editing… Tab lists possible command completions…

with this in the next line.

grub> 

I don’t know what to do here I read online some things to try in order to get back to Ubuntu but nothing has worked. Can you guys help me?

2

Type the following commands & change disk partition according to your system.

ls
set prefix=(hd0,1)/boot/grub #note: maybe (hd0,2) or (hd0,3)
set root=(loop0)
set
ls /boot
insmod /boot/grub/linux.mod
linux /vmlinuz root=/dev/sda1 loop=/ubuntu/disks/root.disk ro #note: maybe sda2 or sda3 to match #2 above.
initrd /initrd.img
boot

When you get Ubuntu booted running update-grub should fix the problem. For more details visit http://ubuntuforums.org/showthread.php?t=1599293.

  • Thanks for the fast response. However, when I put that info into grub> it says no server is specified and that I have to load the kernel first – Dro Shake Feb 10 '16 at 15:52
  • First type ls command to list all disk drivers. According to the disk partition, change the command and try it. – lttesp Feb 10 '16 at 15:55
  • I did exactly that and after ls /boot, it tells me no server is specified. Is that a good thing? – Dro Shake Feb 10 '16 at 16:06
1

With a little tweaking I got this working.

Here's what I did:

Grub> ls

I got the different partitions.

Grub> ls (hd0,msdos1)

this showed me the files on my HDD, so this is the correct partition for me.
Then I did:

Grub> set root=(hd0,msdos1)
Grub> set prefix=(hd0,msdos1)/boot/grub
Grub> set
Grub> ls /boot #this returned a list of files/folders in /boot
Grub> linux /vmlinuz root=/dev/sda1
Grub> initrd /initrd.img
Grub> boot

After a few minutes of doing it's thing, grub booted into the busybox shell, where I was able to run fsck /dev/sda1 and a couple presses of 'y' later, Ubuntu booted like normal!

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.