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 Code:
slackpkg update Code:
Cannot open root device 301 or unknown-block(3,1) 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. |
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.
|
Quote:
There you go..read <this> thoroughly! |
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 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. |
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. |
When upgrading to current, don't forget
Code:
slackpkg install-new |
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. |
Quote:
|
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. |
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. |