Salix 15 Alpha 2 issues/feedback
Posted: 16. Apr 2022, 10:41
See subject
Code: Select all
/usr/share/mkinitrd/mkinitrd_command_generator.sh
Code: Select all
# mkinitrd_command_generator.sh revision 1.45
#
# This script will now make a recommendation about the command to use
# in case you require an initrd image to boot a kernel that does not
# have support for your storage or root filesystem built in
# (such as the Slackware 'generic' kernels').
# A suitable 'mkinitrd' command will be:
mkinitrd -c -k 5.15.27 -f ext4 -r /dev/sda3 -m xhci-pci:ohci-pci:ehci-pci:xhci-hcd:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-asus:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:crc32c_intel:crc32c_generic:ext4 -u -o /boot/initrd.gz
Code: Select all
sudo mkinitrd -c -k 5.15.27 -f ext4 -r /dev/sda3 -m xhci-pci:ohci-pci:ehci-pci:xhci-hcd:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-asus:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:crc32c_intel:crc32c_generic:ext4 -u -o /boot/initrd.gz
I have also a lenovo i3 g510 model and i can see the options to suspend and hibernate and from terminal the loginctl suspend works. Are you sure iso download is or installation was ok?simone wrote: ↑18. Apr 2022, 15:42 Hi, I point out that in my Lenovo laptop I have the alpha2 version installed: on reboot everything works, except that it does not have the options to suspend and hibernate. I tried to reinstall upower but nothing to do. From terminal if I give loginctl suspend nothing happens ...
Thankssure
I tried something similar this morning after I posted with no luck. At the end of the installation where you are presented with the option to reboot or exit to the command line, I chose exit to the command line. Here are the steps I took:djemos wrote: ↑18. Apr 2022, 15:00 typeCode: Select all
/usr/share/mkinitrd/mkinitrd_command_generator.sh
This command will not actually do anything. It is informational only, and will output something like this for my systemthen look all the modules need to be loaded. And run not the following command but yours generated, from a system booted with huge kernel and then copy this initrd to boot with huge kernel.Code: Select all
# mkinitrd_command_generator.sh revision 1.45 # # This script will now make a recommendation about the command to use # in case you require an initrd image to boot a kernel that does not # have support for your storage or root filesystem built in # (such as the Slackware 'generic' kernels'). # A suitable 'mkinitrd' command will be: mkinitrd -c -k 5.15.27 -f ext4 -r /dev/sda3 -m xhci-pci:ohci-pci:ehci-pci:xhci-hcd:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-asus:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:crc32c_intel:crc32c_generic:ext4 -u -o /boot/initrd.gz
Code: Select all
sudo mkinitrd -c -k 5.15.27 -f ext4 -r /dev/sda3 -m xhci-pci:ohci-pci:ehci-pci:xhci-hcd:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-asus:hid-cherry:hid-logitech:hid-logitech-dj:hid-logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:crc32c_intel:crc32c_generic:ext4 -u -o /boot/initrd.gz
Code: Select all
chroot /mnt
cd /boot/efi/EFI/Salix-Core-15.0
$(/usr/share/mkinitrd/mkinitrd_command_generator.sh -r -k 5.15.27)
cp /boot/initrd.gz .
vi elilo.conf (Added the line: initrd=initrd.gz right below label=vmlinuz and saved file)
exit
reboot
Code: Select all
fileops.c(line 525):No devnames scheme worked, using builtin.
loading kernel vmlinuz...done
loading file initrd.gz..done
Unfortunately, no change using your initrd.gz. I'll revert to the pre-elilo snapshot and try things with Grub later. Going to take a break and play with alpha 2 on VMware for a bit. Thank you for your help.djemos wrote: ↑19. Apr 2022, 07:59 This is a problem with elilo. Here is an old post viewtopic.php?t=7650&start=10
I suggest to use generic kernel with initrd and elilo which boot as you said.
Edit: as a test download this initrd.gz (it is for huge kernel 64bit) and copy it to /boot/efi/EFI/Salix-Core-15.0/ of your system which cannot boot.
check if system boots