Last time i turned on my computer, ubuntu didn't boot completely, and I got a black screen and a terminal! I tried to fix the problem but it didn't work, so I tried to repair it using live usb. After I rebooted the Pc, now it's showing the gnu Grub menu! And I have no idea what to do! Help me please! Thank you! Repair URL: http://paste2.org/MmsUNXz9

  • If option 1 says "Ubuntu" then press Enter, otherwise tell us whats on the menu. – WinEunuuchs2Unix Sep 21 '16 at 22:07
  • Grub is bootloader without it u cant boot ubuntu...is it showing something like grub rescue error..or showing menu to choose... provide more details with snapshots – minigeek Sep 22 '16 at 5:54
  • There is no option, there is a black screen, and all you can do is command typing, it says above" 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" – Omar Sep 28 '16 at 14:35

From your boot-info-summary:

Script `/boot/grub/grub.cfg.new' contains no commands and will do nothing
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.

Have you made any changes to the mentioned files?

Check your filesystem from live-USB with sudo fsck /dev/sda1

Check your hard-drive from live-USB with Smartmontools

  • I didn't make any changes I don't have much experience with Linux, i don't know what to do now! I don't want to lose my saved data on this partition. – Omar Sep 28 '16 at 14:31
  • Boot from live-USB and try to copy your data to external drive. – mook765 Sep 28 '16 at 14:46

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.