You are not logged in.
Hi all,
I've done it, finally taken the plunge and upgraded trusty old Waldorf to now already old-stable Jessie via the Devuan repos. That shouldn't be part of the problem.
Issue is there's no initrd.img-3.16.0.4-686 in /boot so unsurprisingly it's not booting and on panic stations.
Old kernel 3.2.0.4 just goes to a blank screen after boot sequence has finished.
I should mention that the system is on an encrypted LVM , somehow the upgrade process missed creating an initrd.
I'm a bit past my fiddling days and short of time. Is there an easy way to sort this out like copying an initrd from a debian live cd into directory?
I've got a Puppy Slack live cd here which is good but it doesn't let you mount encrypted volumes AFAIK.
Appreciated. Thanks guys (and girls).
Last edited by barnabyh (2017-07-30 18:55:27)
From ArchBang to SlackBang | Project SlackBang - updated as we go along. | LXDE/LXQT for Slackware
Say no to bugs. - It's not a bug, it's a worm.
Offline
Hi all
Hi barnabyh, how's tricks?
upgraded trusty old Waldorf to now already old-stable Jessie via the Devuan repos. That shouldn't be part of the problem.
So I take it that you read and followed all of the advice contained in https://www.debian.org/releases/jessie/ … ng.en.html, then?
There is quite a lot that can go wrong in the procedure.
Is there an easy way to sort this out like copying an initrd from a debian live cd into directory?
Chroot into the system from the live environment and update your initramfs; it may be that re-installing the kernel will also generate a new initramfs.
I've got a Puppy Slack live cd here which is good but it doesn't let you mount encrypted volumes AFAIK
Our next round of ISO images will contain the software needed but until then you can load up our current ISO image and use:
sudo apt install lvm2 cryptsetup
Then mount the encrypted volumes (I don't know how to do that, never used LVM or LUKS) with the root filesystem placed under /mnt then run:
sudo -i
for i in /proc /sys /dev /dev/pts; do mount --bind $i /mnt$i; done
chroot /mnt /bin/bash
update-initramfs -u
exit
exit
reboot
Offline
Hi HoaS. Thank you, great guide. I will follow later on today hopefully and update this thread accordingly.
Apart from that, life's ok. Going to start a new job on Tuesday.
Yes, I did look this up prior to the upgrade and followed it.
Last edited by barnabyh (2017-07-27 10:52:40)
From ArchBang to SlackBang | Project SlackBang - updated as we go along. | LXDE/LXQT for Slackware
Say no to bugs. - It's not a bug, it's a worm.
Offline
To give an update, this process was successful. I followed instructions to mount an encrypted LVM from the Refracta project.
sudo cryptsetup luksOpen /dev/sdxY label # then run lvdisplay to get the vg name and lv name
sudo vgchange -a y <volume_group_name>
mount /dev/mapper/<vg_name-lv_name> <mountpoint>
umount <mountpoint>
sudo vgchange -a n <volume_group_name>
sudo cryptsetup luksClose label
In our case mount and umount also require the sudo command.
This went well and enabled me to finish the upgrade process, removing old packages with apt-get autoremove and setting up packages. It seems this step was not completed before. Duh, never had a Debian upgrade exiting on me before setting everything up.
However, it appears I have run into the 'activation/thin_check_executable' bug where boot loader is unable to find LVM volume.
I'll give this a few more tries but reinstalling may in the end be the quicker option.
Last edited by barnabyh (2017-07-29 10:48:05)
From ArchBang to SlackBang | Project SlackBang - updated as we go along. | LXDE/LXQT for Slackware
Say no to bugs. - It's not a bug, it's a worm.
Offline
@barnabyh: You might consider editing the title of your OP and change Colonel to Kernel.
Offline
^a joke, maybe?
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Online
^a joke, maybe?
Yes autocorrect can turn things hilariously indeed
Real Men Use Linux
Offline