Upgrade from Slackware 14.0 to 14.1: unable to boot.
Hi,
I wanted to upgrade from Slackware64 14.0 (multilib) to Slackware64 14.1 multilib. However, during the process, I made almost all of the possible errors, since I blindly followed the instructions here http://docs.slackware.com/howtos:sla...ystemupgrade?s[]=upgrade by blacklisting the kernel and then updating slackpkg itself, followed by system-upgrade, forgotting that the old blacklist file was put aside by the new slackpkg. Thus, the kernel was also updated. Since I already had a generic kernel, I created a new initrd by following the same instructions, while replacing initrd_3.2.29.gz by initrd_3.10.17.gz I made sure to modify appropriately the lilo.conf file and to run lilo after. As I rebooted, exactly what I wanted not to occur, occurred. After the LILO menu and I selected the entry, I was greeted by the following message: Code:
Loading LinuxEBDA is big: kernel setup stack overlaps LILO second stage |
The lilo version you used is too old to be used on Slackware 14.1. Either use the distribution media to go straight into your upgraded system, as stated in installer's very first screen or chroot in it from an installer (it doesn't matter if you use a CD for 14.0 or 14.1 I think, as long as you don't mix architectures). If you chroot, don't forget to bind mount proc dev and sys before. Then, just run lilo from your upgraded system (provided that you didn't forget to upgrade lilo itself, of course :-)
|
This is strange. I chrooted in my environment and a quick uname-a displayed that it still uses kernel 3.2.29.
This is my lilo.conf file: Code:
# Linux bootable partition config begins However, at boot, LILO shows only "Linux" and "Linux-failsafe" not "3.10.17", and the 2 entries don't boot but only show the error message. Code:
# ls -1 /boot/vmlinuz* |
first off I started using grub legacy in extra. then grub2 in slackware 14.1 when it became part of the full install. Nothing against lilo it has served me well.
this allows me to to point to /boot/vmlinuz for upgrades with kernels. I use Slackpkg to handle all my upgrades. here is a script I wrote for me and some friends.Run it from run level 3 for distro upgrade. I also set it to run as root in terminal from kde menu. I named it slack_multi_update.sh and I put it in my /usr/local/bin. or you can run it locally. it does require you to have already installed multilib. and places the repo in /var/cache/multilib . For /etc/slackpkg/blacklist I keep it like this. Code:
# 2This is a blacklist file. Any packages listed here won't be Code:
up to you to edit your slackpkg mirrors and the slack_multi_update.sh to reflect what version you are using. |
I just edited my last message, adding more useful informations.
Will this script work from Slackware 14 to 14.1? |
Quote:
Quote:
Quote:
Code:
# ls -1 /boot/vmlinuz* Code:
ls -l /boot/vmlinuz* Fix the labels in the /etc/lilo.conf then run while chrooted "lilo -t -v" and report the results. If all goes well just run "lilo" then. In my opinion Drakeo's post don't directly answer your issue, so that would be another topic. |
it should I used it. but remember I do not use lilo my boot loader will always have a entry to /boot/vmlinuz for falling back on. remember vmlinuz is linked to
vmlinuz huge. and edit your Quote:
Quote:
use the mkintrid script in /usr/share/mkintrid/ but every time I do after editing it for the new installed kernel modules it never does boot right with the generic vmlinuz. but when I boot into the new kernel and run it it works fine. Have to look into this. because should be able to compress any /lib/modules/kernel-you just _installed/ into a image. weird. |
@Drakeo: again, this won't solve the OP's issue, which at the moment is just being unable to boot normally.
|
Quote:
So boot from a cdrom and then edit /etc/lilo.conf and run /sbin/lilo. and make sure next time to edit lilo first before rebooting. But that script has taken me from 13.37 to 14.1 and to current through the days. I do not see any one doing a slackpackage multilib update except slackpkg+. Multilib takes work to handle. some of SBO stuff goes into the distro. but if a little old friends can upgrade from 14.0 to 14.1 with it with a click of a mouse using grub2 I am sure it can be just fine. and my answer to this Quote:
|
1 Attachment(s)
Salut,
Code:
# ls -l /boot/vmlinuz* Code:
lrwxrwxrwx 1 root root 20 Jul 16 19:37 /boot/vmlinuz ->vmlinuz-huge-3.10.17 Then, I ran lilo -t -v. The result is in the attachment. Also, the first warning is due that I normally use nvidia as a graphic driver, which configuration may have been overwritten by my disastrous upgrade. Is it still fine that I run LILO and reboot? |
Quote:
EDIT I should have been more accurate. Let's assume you mounted your upgraded system's / partition as /mnt Code:
mount --bind /proc /mnt/proc |
OK, I rebooted and LILO works well.
However, I end up with this message, after booting through test. Code:
No kernel modules found for Linux 3.10.17. |
Please show your full /etc/fstab.
Could be that you forgot to ship a needed driver in your initrd, we'll see. Please show the full command you used to output the initrd. Of course the modules are installed in /lib/modules/3.10.17? |
1 Attachment(s)
The fstab file was uploaded on this message (under chroot).
I used the following command for creating the initrd: Code:
mkinitrd -c -k 3.10.17 -f ext4 -r /dev/sda3 -m usbhid:hid_generic:ehci-hcd:mbcache:jbd2:ext4 -u -o /boot/initrd_3.10.17.gz Code:
build |
In the mkinitrd command, you have:
Code:
-o /boot/initrd_3.10.17.gz Code:
initrd = /boot/initrd.gz That would explain that you can't boot, as the initrd is not loaded (at least not the good one, in case you have another one) To make sure, please show full output of: Code:
ls -l /boot/initrd* |
All times are GMT -5. The time now is 06:05 PM. |