Stuck at ‘Started TLP system startup/shutdown’ after latest update (not during installation)

Thanks for the reply jonathon. I went through the process described in the FAQ with the result attached, however the boot process did not get any further.

I tried a number of other suggestions from other posts after searching for ‘black screen’ and ‘stuck boot’.

Still haven’t found a solution, but problem might be related to graphics driver, according to the result I had while following the instructions from ‘gohlip’ this post

I’ve not had any luck fixing the graphics driver with mhwd yet, if it is causing the issue. I need to do some more hunting around to find out how to do this.

(result attached)

It looks like your update did not finish.

Try chroot in and redo the update with pacman-mirrors -f3 && pacman -Syyu.

Thanks for your reply bogdan.

I carried out the instructions in the link you sent to update the grub with the result attached.


Unfortunately the boot process still hangs at the same point.

Thanks for your reply Strit.

You are right that an update did not finish. The system hung part way through and I had to do a hard reboot (holding down power key).

I have tried to chroot in and complete the update in the manner you describe, however it appears as if the python commands aren’t being recognised.

I’m afraid you did it from TTY … and not sure what TTY …
Boot from live media and enter in the desktop of the live media, then open terminal and there do the chroot, and as @Strit mentioned, while still in terminal and in the chrooted system, perform the update as he said.

Something not relevant to your current issue…
You mounted esp to boot, even if it shows mounted at /boot/efi.
This is a mistake that could mess with your boot. Be careful!

1 Like

Can you tell me which command you’re referring to petsam?

Do you mean ‘mount /dev/sdb2 /mnt/boot’?

I see how I overlooked the need to boot from live media.

I booted from live media and attempted to complete the update, with the following result:

[manjaro@manjaro ~]$ sudo mhwd-chroot
sudo: mhwd-chroot: command not found
[manjaro@manjaro ~]$ lsblk -f
NAME   FSTYPE   LABEL    UUID                                 MOUNTPOINT
loop0  squashfs                                               /run/miso/sfs/livefs
loop1  squashfs                                               /run/miso/sfs/mhwdfs
loop2  squashfs                                               /run/miso/sfs/desktopfs
loop3  squashfs                                               /run/miso/sfs/rootfs
sda                                                           
├─sda1                                                        
├─sda2 ntfs     HDD      1456250A5624EDE4                     
└─sda3 swap              a00a11aa-4a48-4f12-888c-b3c182d4e13a 
sdb                                                           
├─sdb1 ntfs     Recovery E64E8C4D4E8C1887                     
├─sdb2 vfat              1E8D-F115                            
├─sdb3                                                        
├─sdb4 ntfs              20ACAE51ACAE20F0                     
├─sdb5 ntfs              F21A00D41A00982D                     
├─sdb6 ext4     /        06e56863-e760-45ef-85ee-d88201e39aa1 
└─sdb7 ext4     /home    6bfa07d6-34f3-474b-a34e-c117867184cf 
sdc    iso9660  MJR17110 2018-05-07-19-31-30-00               
├─sdc1 iso9660  MJR17110 2018-05-07-19-31-30-00               /run/miso/bootmnt
└─sdc2 vfat     MISO_EFI 0040-24ED                            
[manjaro@manjaro ~]$ sudo pacman -S mhwd-chroot
warning: database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community' does not exist
warning: database file for 'multilib' does not exist
error: target not found: mhwd-chroot
[manjaro@manjaro ~]$ sudo su
[manjaro manjaro]# mount /dev/sdb6 /mnt
[manjaro manjaro]# mount /dev/sdb2 /mnt/boot
[manjaro manjaro]# cd /mnt
[manjaro mnt]# mount -t proc proc /mnt/proc
[manjaro mnt]# mount -t sysfs sys /mnt/sys
[manjaro mnt]# mount -o bind /dev /mnt/dev
[manjaro mnt]# mount -t devpts pts /mnt/dev/pts/
[manjaro mnt]# chroot /mnt
[manjaro /]# pacman-mirrors -f3 && pacman -Syyu
/bin/pacman-mirrors: line 20: from: command not found
/bin/pacman-mirrors: line 21: from: command not found
/bin/pacman-mirrors: line 23: _: command not found
/bin/pacman-mirrors: line 26: try:: command not found
/bin/pacman-mirrors: line 27: syntax error near unexpected token `('
/bin/pacman-mirrors: line 27: `    pm = pacman_mirrors.PacmanMirrors()'
[manjaro /]# 

But I can now copy and paste the code in, instead of taking photos. Little victories…

I continued with the instructions in the link you sent, to restore the grub, as follows:

[manjaro /]# sudo mount /dev/sdb2 /boot/efi
[manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
Installation finished. No error reported.
[manjaro /]# sudo modprobe efivarfs
modprobe: FATAL: Module efivarfs not found in directory /lib/modules/4.14.39-1-MANJARO
[manjaro /]# exit
exit
[manjaro mnt]# chroot /mnt
[manjaro /]# sudo pacman -S efibootmgr
[manjaro /]# sudo pacman -S dosfstools
[manjaro /]# sudo pacman -S grub
[manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
Installation finished. No error reported.
[manjaro /]# exit
exit
[manjaro mnt]# sudo modprobe efivarfs
[manjaro mnt]# chroot /mnt
[manjaro /]# mount -t efivarfs efivarfs /sys/firmware/efi/efivars
[manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
[manjaro /]# sudo update-grub
Generating grub configuration file ...
Found background: /usr/share/grub/background.png
done
[manjaro /]# 

Now when I attempt to boot into Manjaro I get taken to the grub command prompt (grub>)

Have you read this?

He was pointing out to be careful !
Also, when you chroot and you have multiple partitions, you make the update on the root partition of your system and you install the bootloader on the boot partition but as pointed out above, so you don’t end up with an unusable system …

We al make mistakes … Do you have more than one kernel installed in Manjaro, did you tried to boot from another kernel?

I thought that you were reading the errors given from failed commands.
Are you sure you are booting in UEFI mode?
While booting your external Live ISO you have to select the option with UEFI.
Make sure you mount esp at /mnt/boot/efi before installing grub from inside chroot.
You can use manjaro-chroot . It should be included in the Live ISO, AFAIK.

I’m not sure there’s anything wrong with the bootloader, as the option to boot into Windows or Manjaro is there, but it’s while Manjaro is loading that it gets stuck.

An update wasn’t completed and I had to do a hard reset (holding down the power button). It was after this that the problems started.

Anyway I have gone through the process of restoring the grub, which seems to have finished succesfully… but then I’m still unable to complete the update as the python commands in pacman-mirrors aren’t recognised (from within the chroot).

Here is the latest attempt at restoring the grub and completing the update.

[manjaro@manjaro ~]$ sudo su
[manjaro manjaro]# mount /dev/sdb6 /mnt
[manjaro manjaro]# cd /mnt
[manjaro mnt]# mount -t proc proc /mnt/proc
[manjaro mnt]# mount -t sysfs sys /mnt/sys
[manjaro mnt]# mount -o bind /dev /mnt/dev
[manjaro mnt]# mount -t devpts pts /mnt/dev/pts/
[manjaro mnt]# chroot /mnt
[manjaro /]# sudo pacman -S mtools os-prober
[manjaro /]# sudo mount /dev/sdb2 /boot/efi
[manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
EFI variables are not supported on this system.
EFI variables are not supported on this system.
Installation finished. No error reported.
[manjaro /]# exit
exit
[manjaro mnt]# sudo modprobe efivarfs
[manjaro mnt]# chroot /mnt
[manjaro /]# mount -t efivarfs efivarfs /sys/firmware/efi/efivars
[manjaro /]# sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
[manjaro /]# sudo update-grub
Generating grub configuration file ...
Found background: /usr/share/grub/background.png
Found linux image: /boot/vmlinuz-4.18-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.18-x86_64.img
Found initrd fallback image: /boot/initramfs-4.18-x86_64-fallback.img
Found linux image: /boot/vmlinuz-4.14-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
Found initrd fallback image: /boot/initramfs-4.14-x86_64-fallback.img
Found linux image: /boot/vmlinuz-3.16-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-3.16-x86_64.img
Found initrd fallback image: /boot/initramfs-3.16-x86_64-fallback.img
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
[manjaro /]# pacman-mirrors -f3 && pacman -Syyu
/bin/pacman-mirrors: line 20: from: command not found
/bin/pacman-mirrors: line 21: from: command not found
/bin/pacman-mirrors: line 23: _: command not found
/bin/pacman-mirrors: line 26: try:: command not found
/bin/pacman-mirrors: line 27: syntax error near unexpected token `('
/bin/pacman-mirrors: line 27: `    pm = pacman_mirrors.PacmanMirrors()'
[manjaro /]# 

From the look of it there’s a problem with the pacman commands. Why would pacman not function, but not throw up any errors either? ie. won’t update or install

I suspect you have unintentionally broken the bootloader.
Please, use this Tutorial to boot to your installation, but only to TTY and retry the update, either with pacman or pamac cli.

If you still can’t, use manjaro-chroot to do the same. Don’t necessarily update mirrors.

1 Like

@chrisf
Notice you did not mount $esp as /mnt/boot/efi before chrooting.
Anyway, the link provided by petsam would be easier to perform ans less risky.
If you system is uefi, please remember to boot install media in uefi.
It looks like you chrooted from a bios-legacy system as well.
If you system is uefi, you must chroot from a uefi system as well.
And to be sure, do you have a $esp partition mounted as /boot/efi in your fstab?

If you are not sure and we here are pretty unsure too, and stated at that link, print the output that we need to help out.

1 Like

Thanks to everyone who replied.

After four days of attempts I’m admitting defeat and doing a fresh install.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.