LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 13 -> Current ,Kernel Panic On Reboot (https://www.linuxquestions.org/questions/slackware-14/slackware-13-current-kernel-panic-on-reboot-809084/)

jodef 05-20-2010 09:41 AM

Slackware 13 -> Current ,Kernel Panic On Reboot
 
Hi all

I attempted to upgrade a Slackware 13.0 fresh install to current.

First I updated 13.0 by running:
Code:

slackpkg update
slackpkg upgrade-all

I then amended the mirror to current and ran the following commands
Code:

slackpkg update
slackpkg upgrade-all

Everything ran without errors and slackpkg updated lilo at the end w/out errors on reboot I get the following message:
Code:

Cannot open root device 301 or unknown-block(3,1)
append a correct root= boot option
0800 10485760 sda driver sd
0801 9765472 sda1
0802 720216  sda2

I am running Slack in vbox to learn I created a snapshot just before rebooting so I restored it and tried to amend lilo with sda instead of hda and when I ran lilo -v indicated sda was an invalid parameter.

Not new to linux can find my way around albeit with stumbling but not an expert either.

Can anyone point me in the right direction.

Thanks.

smoooth103 05-20-2010 09:57 AM

There is change in how the newer kernel that deprecates the /dev/hda style harddrive references. You must boot and during the lilo start, "hit tab" and set the boot drive to be "root = /dev/sda1" (or which ever partition) and then after the kernel loads, change your /etc/fstab to reference /dev/sda instead of /dev/hda or /dev/sdb instead of /dev/hdb. Also you will need to change in lilo.conf and then re-run lilo so that it recognizes. There is a changelog entry about how to do this, and also a detailed howto by Robby Workman, just need to look around for it a bit.

slackd 05-20-2010 10:15 AM

Quote:

Originally Posted by smoooth103 (Post 3975544)
just need to look around for it a bit.

jodef,

There you go..read <this> thoroughly!

jodef 05-20-2010 09:33 PM

Ok guys thanks for the fast response I have made some progress but still experiencing some difficulties:

Step 1: Edited fstab to change hd* -> sd*

Step 2: Downloaded util-linux-ng installed did updatedb and rebooted (see note)

Note:I experienced a missing libblkid.so.1 preventing filesystem mount this link help me solve that problem : http://eatingsecurity.blogspot.com/2...t-updates.html

Step 3:
Code:

Linux root=/dev/sda1
started the boot process

Now I get stuck at some errors when starting X session lib missing libck-connector.so.0

Question are these problems just part of the process or did something go wrong with the update process. Can they be resolved or should I start again with a fresh install?

Thanks.

Richard Cranium 05-20-2010 09:56 PM

Your slackpkg commands as you have given would not install any of the new packages that are in -current, nor would it remove those packages that are obsolete.

It's really important to read the CHANGES_AND_HINTS.TXT file in the new release prior to upgrading as well as UPGRADE.TXT so that you'll know what additional steps to take.

I would boot into runlevel 1 and follow the steps given in UPGRADE.TXT if I were you.

damgar 05-20-2010 10:07 PM

When upgrading to current, don't forget
Code:

slackpkg install-new

jodef 05-20-2010 10:46 PM

Ok no problem I'll read the upgrade and changes and hints completely forgot to do that.

Just one question you mentioned install-new and I did see that step but when I did upgrade-all I saw packages being removed and new packages being installed. The kernel was also upgraded which seems to indicate that install-new wasn't necessary.

Did I miss something?

Thanks.

damgar 05-20-2010 10:52 PM

Quote:

Originally Posted by jodef (Post 3976132)
Ok no problem I'll read the upgrade and changes and hints completely forgot to do that.

Just one question you mentioned install-new and I did see that step but when I did upgrade-all I saw packages being removed and new packages being installed. The kernel was also upgraded which seems to indicate that install-new wasn't necessary.

Did I miss something?

Thanks.

Upgrade-all will upgrade packages, such as the kernel. Install-new will install packages that were not part of the previous install, such as the xf86-video-nouveau-blacklist-noarch-1.txz package that blacklists the nouveau driver. The nouveau driver didn't exist in the 2.6.29.6 kernel so there was no xf86-video-nouveau-blacklist-noarch-1.txz package to blacklist it. That package was new and would be added with install-new.

jodef 05-20-2010 11:19 PM

Thanks that clarifies a lot. And after reading the upgrade and changes and hints the stuff I have read really oversimplify the upgrade process. I should have read this before.

Ok so having read the above it refers particularly to upgrading from a CD but if I am doing it via the internet what would I need to do differently aside from selecting the current mirror.

Thanks.

damgar 05-21-2010 08:20 AM

http://distrowatch.com/weekly.php?issue=20090518 is what I read when I decided to start running current. The clean-system can remove the out-of-tree packages you've installed (I've been told) so be careful with that. Also there is the libata change and Robby's tutorial to fix it to be aware of. The easies way to get current installed is to use Alien Bob's mirror-slackware-current script that will also produce ISO's of current so you can just do a clean install of current.


All times are GMT -5. The time now is 10:36 PM.