I have ASUS X540U laptop and I am trying to install Ubuntu 18.04LTS on it but every time the installer reach the detecting hardware stage the progress bar freeze and after couple of seconds it crashes. I did searched for solution on Google and found that I have to disable secure boot but it is already disabled. how to solve this problem Note: I am installing Ubuntu side by side windows 10
Ubuntu – why ubuntu 18.04LTS installer crashes after detecting hardware
installationinstallerUbuntu
Related Solutions
Finally i am able to find the solution for my own problem. And, it is as follows:
First of all the main problem according to my diagnosis:
Problem was related to graphics because i think the proper drivers were missing.
Now the steps i took:
- Disable secure boot feature in BIOS. And already created a 40gb partition on my harddisk. Didnot create any EFI partition because it was already there as i have windows 8 preinstalled.
- Attached my Laptop's VGA to a bigger screen size, and i think this was the best step to solve the problem, as i was able to view the regular xubuntu screen on the bigger screen while my laptop was still showing nothing except continuously flashing.
- Booted my laptop with a live USB stick. And got three options to choose from:
- Try Xubuntu without installing
- Install Xubuntu
- Check disk for defects
- I chose Try Xubuntu without installing just to check that if the bigger screen tweak is working or not and it did work.
- Now i chose to install xubuntu from the live USB's desktop. And everything went as usual, i.e in the regular way when we install ubuntu or xubuntu on our systems, but everything was visible on the big screen not on my laptop's.
- Finally Xubuntu installed and was working but the screen was visible on the big screen not on laptop's. So, here comes the workaround for getting things visible on laptop's screen:
- I downloaded the latest drivers from AMD's official website for my laptop's graphics card for linux 64bit edition (the file was in .run format) and installed it on Xubuntu and the installation was pretty smooth without any errors. After installing the graphics driver and rebooting the system, finally! i got the laptop's screen working, but there was still a trick left to do as the graphics on the screen was tearing so i did this:
- Applications menu >> Settings >> AMD catalyst control center >> Display options >> Tear Free >> Enable tear free desktop to reduce tearing >> Apply. And here, i am done. After this everything is working just fine and as usual and i am having a perfectly working linux system.
Note : But as i was having a working linux system my windows 8 won't boot so to solve this i used boot-repair on xubuntu, and followed the instructions on the linked website for getting, installing and executing boot-repair and thus ended up solving this problem also. So, now i have Xubuntu and windows 8 dual boot without any problem.
Note : One more thing, to boot windows8 from grub2 menu after using boot repair use "Windows UEFI Boot Loader" as nothing else works to boot windows 8.
I have tried this only on my laptop and can't be sure about other company's system or laptop but it is worth trying if you face problem similar to mine because it doesn't include any complex operation which can possess danger to your system.
I found great troubleshooting steps in this monster thread: http://ubuntuforums.org/showthread.php?t=1743535, and thanks to Robert Rowntree for this link, which was essential. Here's what I did:
In the grub screen, I typed "e" to edit the "Graphical Install" entry. Then I turned this line:
linux /install.amd/vmlinuz vga=788 --- quiet
to
linux /install.amd/vmlinuz vga=788 nosplash --verbose text
That gave me some text output, which showed that the kernel boot got hung up on a line about intel_pstate="HWP"
(or something). Based on the link from Robert Rowntree, I restarted and this time changed that same line to:
linux /install.amd/vmlinuz vga=788 nosplash --verbose text intel_pstate=no_hwp
That got me in to the graphical install.
Best Answer
I have the same laptop!
In the black GRUB menu that shows briefly, when highlighting the installation option or the "try Ubuntu" option:
e
key (for edit)ctrl+x
key combination to bootAfter installation, open the Terminal application and type:
sudo dpkg-reconfigure grub-pc
(or maybe grub-efi-amd64 ?)There, press Enter and when it says "Linux default command line" you should add
pci=noaer
, so it should end up like this:quiet splash pci=noaer
If you don't do that quickly after installation, your hard disk will get full because of log messages in
/var/log/
.More info here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521173