Skip to main content
Topic: Updated linux, now cannot boot system (Read 1044 times) previous topic - next topic
0 Members and 6 Guests are viewing this topic.

Updated linux, now cannot boot system

As Subject states, I did my regular update of my Artix-runnit system which I have done every week for the past year.  This time however when I restarted my Thinkpad, I got stuck in the boot-up process at:

Code: [Select]
Loading initial ramdisk ...

I followed some guides I found for arch to solve similar issues (and adaped them to my Artix-runnit system)

Here is what I have done so far with no success:

Boot into live USB Stick
Login:
Code: [Select]
artix login:  artix
Password: artix

Change to root
Code: [Select]
$ sudo -i
Mount drives
Code: [Select]
# mount /dev/disk/by-label/ROOT /mnt
# mount /dev/disk/by-label/HOME /mnt/home
# mount /dev/disk/by-label/BOOT /mnt/boot

Check network connectivity
Code: [Select]
# ping -c 4 8.8.8.8

Chroot into new system
Code: [Select]
# artix-chroot /mnt

Reinstall linux
Code: [Select]
# pacman -Syu linux linux-firmware intel-ucode

I get one error  stating that this is read only: 
Code: [Select]
/sys/devices/system/cpu/microcode/reload

Re-do Grub setup
Code: [Select]
# pacman -Syu grub
# grub-install --recheck /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg

# mkinitcpio -p linux
# update-grub
# exit   (exit chroot)

# reboot now

When I reboot I get stuck on “
Code: [Select]
Loading initial ramdisk …


Any Ideas where to go from here?  And thanks in advance for your help!

Re: Updated linux, now cannot boot system

Reply #1
https://wiki.artixlinux.org/Main/Migration

Update the bootloader and the kernel initramfs
New mkinitcpio and grub were installed, so you better reconfigure them. Copy the new /etc/mkinitcpio.pacnew over to /etc/mkinitcpio, /etc/default/grub.pacnew to /etc/default/grub, recreate the kernel's initramfs with mkinitcpio and reinstall grub. If you had committed any changes to the original files (i.e. resume hook in /etc/mkinitcpio.conf or a custom kernel cmdline parameter in grub), you should merge them now.

Recreate your initramfs and grub configuration file
mkinitcpio -p linux (the default Artix kernel) or mkinitcpio -P (all installed kernels)
 update-grub


Re: Updated linux, now cannot boot system

Reply #2
OK so after doing the above steps and finishing with

Code: [Select]
# mkinitcpio -p linux    (no output)
# update-grub            (found vm-linux)
# exit
# reboot now

I get get a different hang:

Code: [Select]
Booting 'Artix Linux'
Loading Linux linux ...

So still cannot boot into my system but different boot error??

Re: Updated linux, now cannot boot system

Reply #3
Code: [Select]
# mkinitcpio -p linux    (no output)
# grub-update            (found vm-linux)
# exit
# reboot now

There is no grub-update command. The command is update-grub.

This is something to do with kernel and GRUB, not systemd, so not specific to Artix.

I have Artix updated daily on both my desktop and laptop, and had no problems lately.

I'm willing to bet this has to do with kernel only. The /sys/devices... line is indicative of a problem with kernel. Post your /var/log/dmesg/current and /var/log/messages.log.

Re: Updated linux, now cannot boot system

Reply #4
I do not have the other 2 requested logs, but attached is my /var/log/dmesg.log

I have Artix updated daily on both my desktop and laptop, and had no problems lately.

100% agree.  This is the first time I've had an issue in the past year.   Not sure if I did something to mess things up or what.  I'd rather not re-install if I can avoid it.

Re: Updated linux, now cannot boot system

Reply #5
I get one error  stating that this is read only: 
Code: [Select]
/sys/devices/system/cpu/microcode/reload

I found this:

https://bugs.archlinux.org/task/46591

https://askubuntu.com/questions/984970/firmware-bug-tsc-deadline-disabled-due-to-errata-what-should-i-do-about-thi
https://askubuntu.com/a/984971

In Artix, the package is called intel-ucode.