After update ubuntu is not booting or statrup

I have read the other related articles, but have not been able to resolve this issue.
Either the scenario is not applicable, or I do not fully understand the subject matter.

Here I am sharing which i have resolved issue. After install ubuntu installed ,it asking for update or upgrade. Normally , some people has limited experience or knowledge of Ubuntu. so they without any cross checking click on update or upgrade. Then after update or upgrade system not start up.
when some one new in Ubuntu, they did not under start how to resolved this issue.

1.Kernal:- Some time some kernal not supported some laptop modal hardware. When you click on update it also update your kernal version.so some time kernal version not supported.
Ubuntu doesn’t offer the Safe Mode and Automatic Repair tools you’ll find in Windows, but it does offer a recovery menu and a reinstall option that keeps your files and programs.
  • Boot your computer while holding the Shift key. If you see a menu with a list of operating systems appear, you’ve accessed the GRUB boot loader.
  • you  can show screen like below.
 

  • Now click on Advance option for ubuntu
  • Now you can show kernal version list.
  • Select last one with "(recover option)"
  • it process numbers of line down to up. 
  • GRUB will boot your Ubuntu system in a very minimal recovery mode menu, skipping the majority of the system services and all the graphical applications that load. It will even load your file system in a safe read-only mode.
  • Select a menu option and press Enter to use it:
    • clean: Attempts to make free space on your file system. If your storage is full and this is causing some sort of problem, this can help free up space.
    • dpkg: Repairs broken software packages. If a package failed to install properly and your system doesn’t work because of it, this may help.
    • failsafeX: Boots your computer in a failsafe graphic mode. If there’s a problem with your Xorg graphical server configuration or graphics drivers and that’s causing your Ubuntu system to boot to a black screen or preventing the graphical desktop from loading properly, this can get you back to that graphical desktop.
    • fsck: Performs a file system check, which scans the computer’s file systems for errors and automatically fixes them. 
    • grub: Updates the GRUB boot loader. If you could use the GRUB boot loader to get to this menu, this option probably won’t help.
    • network: Enable networking, which is disabled by default in recovery mode.
    • root: Leaves the menu and goes to a root shell prompt. From here, you can mount the file system in write-mode and run commands that may help fix problems with the system. You should only do this if you know what you’re doing — it’s a way to fix the problem by hand if you know how.
  • Select dpkg . it will fix if any broken packages.
  • Then after check with fsck. 
  • Then  select grub option
  • Finally click on resume option
  • After some time you will get login screen
  • Login with your user name and password 
  • Open terminal 
  • Type sudo nano /etc/default/grub
  • Find and set
    " GRUB_DEFAULT=saved "(Note:- kernal will not update after this setting)
    "GRUB_SAVEDEFAULT=true"
    With this settings the last selected value is kept for the next boot. If you have a new kernel you don't have to edit your config.
  • sudo update-grub
  • Now we set default kernal version. Now if you update or upgrade , you kernal will not update.
  • Now Reboot


2. Intel-microcode package:- This is disabling the microcode in the grub options adding: dis_ucode_ldr. This solution works for debugging this issue but it's not recommended for regular use.

The best solution so far I think is to downgrade the intel-microcode package to the previous version:

          sudo apt-get install intel-microcode=3.20180312.0~ubuntu18.04.1

Then freeze the package to avoid accidental upgrade:
    sudo su 
    echo "intel-microcode" hold | dpkg --set-selections
For now I'll avoid installing intel-microcode=3.20190514.0ubuntu0.18.04.3


 


 

Latest
Previous
Next Post »

statistics