Saturday, May 22, 2021

error: file ‘/boot/vmlinuz-5.12-X86-64’ not found on Manjaro grub after failed update.

 I am running Manjaro Linux since Sep 2020. There was a big update (larger than 1 GB) on 20th May 2021 and I left the Laptop after the update began.

After 30 minutes I found blank screen and could not even open a terminal by pressing Ctrl+Alt+F2. I pressed the power button to shutdown.

After restart I got the error: file ‘/boot/vmlinuz-5.12-X86-64’ not found you need to load the kernel first and could not proceed.

I logged in Ubuntu 20.04 and posted on Manjaro Forum and was asked to boot from Manjaro Live USB open the terminal and type:

[manjaro@manjaro ~]$ sudo su - [manjaro ~]# manjaro-chroot -a grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map. ==> Detected systems: --> 0) Ubuntu --> 1) ManjaroLinux ==> Select system to mount [0-1] : 1 ==> Mounting (ManjaroLinux) [/dev/sda7] --> mount: [/mnt] --> mount: [/mnt/boot/efi] [manjaro /]# rm -f /var/lib/pacman/db.lck [manjaro /]# pacman -Syu :: Synchronizing package databases... core is up to date extra 1910.3 KiB 498 KiB/s 00:04 [######################] 100% community is up to date multilib is up to date :: Starting full system upgrade... there is nothing to do

[manjaro /]#

It did not work.
Then I was asked to do:
# mkinitcpio -P
error no presets found
Then I was advised to list the installed kernels:
# mhwd-kernel -li 
and install at least one kernel
# mhwd-kernel -i linux510
I could not install linux510 but could install linux512
# mhwd-kernel -i linux512
After that I could login to installed Manjaro system using linux 5.12
I could reinstall linux510 through the same command on installed system.
 
 

Thursday, May 13, 2021

Running i3 Window Manager on Ubuntu 20.04 and enjoying it.

 I came to know about i3 Window Manager and decided to try it on Ubuntu 20.04. Installed it through the command:

sudo apt install i3

Logged out of gnome, selected i3 and logged in.

It asked me to configure or accept default, not knowing about configuration I selected default then there was blank screen and I did not know what to do.

I used my Mobile to know how to open Terminal on i3 and got the answer to press  Alt+Enter. On terminal I typed firefox and pressed enter and could open the browser.

Then I googled for how to get menu on i3 and was told to press Alt+d and menu opened on top bar.

I typed sol on menu bar and pressed enter and Aiselriot opened.

Then I googled for i3 User Guide and got the link

i3 User Guide

I learned to maximise a window by pressing Alt+f

In the next session I allowed Ubuntu to configure the i3 Window Manager it changed the Alt key to Win key.

I am learning to use the i3 Window Manager and enjoying it.

I could not open gnome-screenshot utility on i3, therefore I installed scrot

sudo apt install scrot

When I typed scrot and enter on the menu it took the following screenshot:


Which is the screen on Ubuntu configured i3 Window Manager

I added following lines to my i3 config file:

# Added by me to add Indian Keyboard Layout and adjust screen brightness on start up.
exec "setxkbmap -layout us,in"
exec "setxkbmap -option 'grp:alt_shift_toggle'"

exec "xrandr --output eDP --brightness 0.5"

Air India direct flight to San Fransisco has flown through China today.

 My sister in law left for San Fransisco by AI 173 flight which flows over North Pole. I tracked that flight on flightstats.com till it land...