![]() |
Fresh SLACK15 [No Current] Install always Kernel Panic after reboot
Hi
So this PC has had slack live, ubuntu and several other recent distros installed and working fine. I decided to just do a slack 15 install. The HD is an M.2 SSD 500GIG Memory is 32GB etc. I boot off usb, I create the 2 partitions [Swap and Ext], I format both and choose FULL install. I do install lilo automatically on MBR, set up my network and all the normal stuff we've done for 30 years. I reboot and stops half way really fast I can not read and KERNEL PANIC. At this stage I have no other data. Just figured I would see what next steps I can take. I have tried installing it 4 times, format etc each time in case, to no avail. I reinstall slacklive and all is fine. |
Did you create an initrd.gz file? Did you remember to run the command lilo to write the new information to the mbr?
|
Quote:
|
I don't think 15.0 has the ext4 support in the kernel, I have always had to gen an initrd, add it to the lilo.conf file, and run lilo to write out to the mbr.
I usually use /usr/share/minitrd/mkinitrd_command_generator.sh -k 5.xx.yyy to get the line to run. You simply copy the generated line, paste it back in the terminal, press enter. It builds a new initrd.gz file. Edit elilo.conf and add the informaiton, run lilo. |
Quote:
This? initrd = /boot/initrd.gz |
Here is one of my legacy BIOS systems lilo.conf, just the lines I need to add.
Code:
image = /boot/vmlinuz-genericThe second entry is so I can boot the huge kernel. That is not necessary either. Once the editing is done, save the file and run as root, lilo. That is it. Hope this helps. |
Quote:
|
Quote:
I believe you can find help on the Slackware help for chrooting if you need it. Here is a link to chrooting. You can always duckduckgo chroot and find examples. https://docs.slackware.com/howtos:ge...ackware_chroot |
Quote:
My /dev/nvme.x.y.z is 2 partitons... Swap file and /. I would mount /dev/nvme.x.y.x/ to /mnt if needed but if I can run lilo just off the USB I will try that first... If that does not work I suppose I will have to reinstall, but at what point can I do the init script? Can I too run that off the usb boot? |
Well this blows.
Booted off miss disk, lilo command not found. So, decided to reinstall but instead of reboot I ran lilo; Fatal: Cannot open: /etc/lilo.conf tried to edit the file; Error while loading shared libraries: Linda-2.4.so.2: cannot open shared object file: no such file or directory. And /usr/share/minitrd doesn’t exist |
Quote:
What folders are in boot? If there is a /boot/efi/EFI/Slackware/elilo file your system is probably using elilo. ..... Which is a different kettle of fish. |
Some solutions proposed above will probably work, using example kernel-generic + initrd
I am pretty sure slackware-15.0 auto Lilo install on Legacy (= CMS) MBR works on most MBR systems, with (default, in orig, unpatched, slackware64-15.0 installation ISO): Quote:
Some references "proving" it: Quote:
- problems of MBR boot from GPT partioned drive (vs MBR partitioned), as on my old Lenovo Thinkpad T520, (NOT booting by a USB liveslak Live slackware64-current partioned GPT, boot if convert USB to MBR patitions) - others? Some NVMe drives not supported by slackware 15.0 Good luck. -- Jean-Pierre Grand-Père de Protozoaire |
1 Attachment(s)
Quote:
|
Quote:
|
Since there is a question of is the partitioning mbr or gpt. You can tell if you run the command fdisk -l.
Here is the output of the command on a mbr partitioned disk. Code:
root@alienware:~# fdisk -lAt this point if you deide to re-install, delete the partitions, and re-partition the drive as mbr (dos). Then re-install. |
| All times are GMT -5. The time now is 06:15 PM. |