[SOLVED] Kernel 5.3.18-3 - No boot - loading initial ramdisk hang

DerGraf

Active Member
Nov 25, 2018
17
3
43
48
Hello,

after months i had to do a PVE reboot yesterday.
All updates was installed, kernel 5.3.18-3 as well. But kernel 5.3.18-2 was still running.

On reboot, machine hang by "loading inital ramdisk". I try starting several times (also with 10 minutes waiting).
By manual selecting 5.3.18-2 machine boot up an works as always.

Now i have downgrade by "apt install pve-kernel-5.3=6.1-5" and remove faulty kernel by "apt remove pve-kernel-5.3.18-3-pve" and all is fine.

Whats the Problem?

My machine is based on Asrock J5005. PVE was installed in 2018 as LVM Setup. Storage are 2 SSD (md0 - raid1) and 2 HDD (md1 - raid1). iSCSI (Target-cli) and Cryptsetup (i have 1 encrypted LVM partition) is installed also. But this works all by now.

I cant find any logs at this boot time.

Thanks für help.
 
On reboot, machine hang by "loading inital ramdisk". I try starting several times (also with 10 minutes waiting).
you could try to boot it again, but modify the kernel commandline (hit 'e' in grub where the kernel gets selected and edit the line starting with 'linux' ) - maybe this could provide more information.

Apart from that - you could also try installing and the 5.4 kernel series (it will soon become the default for PVE 6.x anyways - so maybe that would be a future-proof fix):
`apt install pve-kernel-5.4`

I hope this helps!
 
5.4.34 works :)

But there is an other problem. I cant upgrade other components because PVE Update still want to install pve-kernel-5.3
PVE update say my current version is 6.1.5 and want to upgrade to 6.1.6
Why? And how to solve it?

Thanks for help
 
Last edited:
But there is an other problem. I cant upgrade other components because PVE Update still want to install pve-kernel-5.3
PVE update say my current version is 6.1.5 and want to upgrade to 6.1.6
Why? And how to solve it?
please post the complete output of:
Code:
apt update
apt full-upgrade

in code tags
 
please post the complete output

Code:
root@pve:~# apt update
OK:1 http://security.debian.org/debian-security buster/updates InRelease
OK:2 http://ftp.de.debian.org/debian buster InRelease                                   
Holen:3 http://ftp.de.debian.org/debian buster-updates InRelease [49,3 kB]             
Holen:4 http://download.proxmox.com/debian/pve buster InRelease [3.051 B]
Es wurden 52,3 kB in 1 s geholt (67,3 kB/s).                             
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Aktualisierung für 22 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.

root@pve:~# apt full-upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  pve-kernel-5.0 pve-kernel-5.0.21-5-pve
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Die folgenden NEUEN Pakete werden installiert:
  libfuse3-3 libproxmox-backup-qemu0 pve-kernel-5.3.18-3-pve pve-kernel-5.4.41-1-pve
Die folgenden Pakete werden aktualisiert (Upgrade):
  libnvpair1linux libproxmox-acme-perl libpve-access-control libpve-common-perl libpve-storage-perl libuutil1linux libzfs2linux libzpool2linux proxmox-ve
  proxmox-widget-toolkit pve-container pve-docs pve-firmware pve-i18n pve-kernel-5.3 pve-kernel-5.4 pve-kernel-helper pve-manager pve-qemu-kvm qemu-server zfs-zed
  zfsutils-linux
22 aktualisiert, 4 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 146 MB von 205 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 584 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n]

I´m afraid to run upgrade :eek:
 
I´m afraid to run upgrade
Why? - The output looks pretty ok to me? (like a regular upgrade)
The one thing that changed recently is the release of PVE 6.2 which by default pulls in the 5.4 kernel (one of the new packages being installed)

I hope this helps!
 
Hi All,
I have same problem but my Linux pve4 5.4.44-1
and can't load system
Code:
Loading Linux 5.4.44-1-pve ...
Loading initial ramdisk ...
Tried load with 5.4.41-1, and 5.4.34-1 -
same
Code:
Loading Linux 5.4.34-1-pve ...
Loading initial ramdisk ...
Load 5.4.41-1
Screenshot_2.png
Please help, what i can do?
 
Last edited:
Hi All,
I have same problem but my Linux pve4 5.4.44-1
and can't load system
Code:
Loading Linux 5.4.44-1-pve ...
Loading initial ramdisk ...
Tried load with 5.4.41-1, and 5.4.34-1 -
same
Code:
Loading Linux 5.4.34-1-pve ...
Loading initial ramdisk ...
Load 5.4.41-1
View attachment 19081
Please help, what i can do?


From my side, How i fixed that error
Loaded Live CD Ubuntu 18.04
sudo fdisk -l

Mount the filesystems

# mount /dev/pve/root /mnt

# mount --bind /dev /mnt/dev
# mount --bind /proc /mnt/proc
# mount --bind /sys /mnt/sys
# chroot /mnt

ls /lib/modules/
or ls /boot/*initrd*

5.4.34-1-pve 5.4.44-1-pve

/boot/initrd.img-5.4.34-1-pve /boot/initrd.img-5.4.44-2-pve (uploaded with working server)

# mv /boot//boot/initrd.img-5.4.44-2-pve /boot/old-/boot/initrd.img-5.4.44-2-pve-old

# update-initramfs -c -k 5.4.44-2-pve
# update-grub
# umount /dev
# umount /proc
# umount /sys
# umount /mnt
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!