kingbeowulf |
08-29-2015 05:18 PM |
Slackware64-14.1 multlib AM2 to X99 upgrade generic kernel + initrd fails to load
1 Attachment(s)
I recently swapped out my old AMD64 X2 AM2 motherboard for a shiny new i7-5820K MSI X99S system (new case, mobo, CPU, DDR4 memory), with drives and GPU recycled. After the swap, booting from the huge kernel works fine, but the initrd.gz for generic will not load:
This is slowly driving me nuts as I haven't had any initrd issues in years. This happens with the SATA controller set to IDE or AHCI. Essentially, all I've ever needed (AMD or intel, desktop, laptop) is just the file system of the /boot. All use standard BIOS (lilo), one laptop uses UEFI (elilo, secure boot off) , and this x99 mobo is set to LEGACY+UEFI (lilo, secure boot is off). Again, I am posting this from the new box after booting the huge-3.10.17 kernel. So, why doesn't kernel-generic work?
The only difference between this system and and 4 others (laptops, desktops with 14.1 and current) is that the bootable Slackware partition is on the second sata drive. Is there a module needed to mount /boot that I am missing? Both AHCI and PATA modules are compiled into the generic kernel as far as I can tell.
Code:
mkinitrd -c -k 3.10.17 -m ext4 -f ext4 -r /dev/sdb1
Code:
/dev/sda1 /win7 ntfs-3g fmask=111,dmask=000 0 0
/dev/sda2 /video ext4 defaults 1 2
/dev/sdb1 / ext4 defaults 1 1
/dev/sdb2 /home ext4 defaults 1 2
/dev/sdb3 /data ext4 defaults 1 2
/dev/sdb4 swap swap defaults 0 0
/dev/sdc1 /data2 ext4 defaults 1 2
Code:
# Start LILO global section
boot = /dev/sda
lba32
#compact # faster, but won't work on all systems.
bitmap = /boot/slack.bmp
bmp-colors = 255,0,255,0,255,0
bmp-table = 60,6,1,16
bmp-timer = 65,27,0,255
# Append any additional kernel parameters:
append=" vt.default_utf8=0 raid=noautodetect"
prompt
timeout = 50
#vga = normal
#vga = ask
vga=791
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-3.10.17
initrd = /boot/initrd.gz
root = /dev/sdb1
label = Slackware
read-only
image = /boot/vmlinuz
root = /dev/sdb1
label = Slackware_safe
read-only
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = Windows7
table = /dev/sda
# Windows bootable partition config ends
I've surfed LQ and elsewhere, but the suggestions did not help, such as "raid=noautodetect" or "-m ahci:ext4", "rootdelay=10" and I have updated the MSi x99 mobo BIOS. Attached is a screenshot from an iPhone video the boot up process. Its a bit hard to see, but it shows the error just before the kernel panic
Code:
...
RAMDISK: Couldn't find valid RAM diskimage starting at 0
...
This is typical if one forgets to run lilo after creating or updating the initrd - which I do often, hence the "Slackware_safe" entry! So what do you suggest (besides just running kernel-huge which is not an option)? What paramters are missing in initrd? Do I need to use elilo? Upgrade to current (not really an option at this time)?
Thanks.
|