2

I installed Ubuntu less than a month ago and since then have been playing around with things I can do so I may have broken something in the process.

Recently I have restarted my computer (Matebook x Pro) and it is stuck on a loop where the keyboard lights up, the fans spin up for a second, the black screen with the Huawei logo comes on, and then immediately everything turns off. Then after a second, it repeats again.

I have tried powering it off, waiting, then turning it on again, but the loop continues.

I want to know if there is any boot repair shortcut I can use to boot properly again.

I am not dual booting. Ubuntu is the only OS on the computer. The computer is new; I bought it a month ago so I doubt there was a hardware failure. I assume I can fix this by bringing up some sort of command line or using some sort of a shortcut.

I am not sure what caused the issue. I may have accidentally installed some packages for Ubuntu 16 and this could have broken something? I installed different things through the terminal and the instructions said to restart the computer and here I am now. I don't remember what exactly I was trying to install since I have played around with many things, but I didn't think this could affect the boot up instructions since they are read-only?

This is what I get when I follow the link in the comments:

BIOS/UEFI settings

The ctrl+alt+f2 combination brings me to InsydeH20 Setup Utility.

Edit: I think this is because my BIOS is outdated. My version is something.17 but there is the .18 version available. I have downloaded the zip file onto my flash drive but the computer doesn't see it

Zanna
  • 72,312
Jared
  • 61

3 Answers3

2

Alright, so I have solved the issue and I really hope that anyone who has it can benefit from my answer.

All I had to do was to go into BIOS Ctrl+Alt+F2 then disable secure boot that is enabled by default. Then it all booted up and none of my data was lost. Thank you to everyone who tried to help

slava
  • 4,085
Jared
  • 61
0

Before you change or delete any files or settings, be sure that the system has not run out of disk space (0 bytes free) by doing df -h in a terminal. (Do a non-graphical login by pressing CTRL-ALT-F1 at the login screen.) If 0 bytes free turns out to be the problem, free up several tens of megabytes of space or more, and then do CTRL-ALT-F7 to attempt graphical login again.

-1

the exhaustive answer is at My computer boots to a black screen, what options do I have to fix it?

however its possible you deleted your desktop packages so you need to reach a command prompt for details see https://www.howtogeek.com/196740/how-to-fix-an-ubuntu-system-when-it-wont-boot/

boot up and repeatedly tap the shift key which should boot you into a purple menu screen like the top most purple screen shown here https://www.howtogeek.com/196520/grub2-101-how-to-access-and-use-your-linux-distributions-boot-loader/ UPDATE if shift key fails to take you to grub menu instead hit ESC key during boot up to reach grub menu details at Grub menu at boot time... "holding shift" not working

if yes then use arrow keys to navigate to menu choice :

Advanced options for Ubuntu

then hit enter which should take you to the second purple screen shown in same link above ... now navigate down to top most line which says (recovery mode) and hit enter

now you should see the Recovery Menu if so then naviate down to root (Drop to root shell prompt)

your filesystem will be in read-only mode so lets make it writable ... for details see How do I change file system in recovery mode to read-write mode? in your root terminal issue

mount -o rw,remount / 

make sure you carefully type exactly above command ... if true now issue this to attempt to install your desktop packages

sudo apt-get install --reinstall ubuntu-desktop

tell us how you get on - good luck and yes your machine is fixable however it will require patience, time and fortitude ... alternative is to just perform a fresh install of Ubuntu (note 18.10 is nicer than 18.04)