LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-17-2008, 07:16 AM   #1
fastestOS
LQ Newbie
 
Registered: Jun 2008
Location: @terminal
Distribution: Slackware forever
Posts: 29

Rep: Reputation: 16
upgrade problem - my box rendered unbootable


My machine was 12.1 when I decided to try 12.2
I have tried the upgrade method, followed the instructions
in the UPGRADE.TXT. The upgrade of packages went smooth
then I hit telinit 3(the last step from UPGRADE.TXT).

At the prompt I edit the /etc/inittab file,
set the default runlevel to 4 so I can see KDE not the console prompt anymore.
And then I reboot.

Upon rebooting the loading stopped at the line
"Loading Unicode Table etc.. etc.." (sorry I forgot the exact words here but it's one of the last lines to load before arriving to the KDE as I remembered). Due to this I edit another file the /etc/lilo.conf (because I have read something in the UPGRADE.TXT that says "make sure the paths in /etc/lilo.conf point to a valid kernel and then type lilo to reinstall lilo" and for some reason I thought I still have the OLD kernel) so I changed the line image = /boot/vmlinuz to image = /boot/vmlinuz-generic-smp-2.6.27.7-smp. After that I typed lilo to reinstall it.

I reboot once more hoping I have changed the right line then
it gave me more problem the KERNEL PANIC.

"No filesystem could mount root..etc etc..."
Kernel Panic, root could not mount at block (08...)

My system then gets hanged, I can't type nor
switch console. I can't run slackware anymore.
It's kernel panic everytime I reboot.

I'm so worried about it please lend me a hand.
It was all because of my stupid "daredevil" attitude.
Thanks in advance. Hoping for your help here.
 
Old 12-17-2008, 07:29 AM   #2
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
If it was stuck just before loading KDM then LILO must have been OK (as loading the kernel is the very first thing). So I'd recommend that you boot with the installation CD, mount your Slackware partition and 'chroot' into it, take back the changes you made to lilo.conf and re-run 'lilo' to save it. Then reboot the system and we can see what other errors you get.

In addition to UPGRADE.TXT, it's a good idea to see CHANGES_AND_HINTS.TXT as well. Maybe you'll find a clue there.

Last edited by Ilgar; 12-17-2008 at 07:31 AM.
 
Old 12-17-2008, 07:46 AM   #3
fastestOS
LQ Newbie
 
Registered: Jun 2008
Location: @terminal
Distribution: Slackware forever
Posts: 29

Original Poster
Rep: Reputation: 16
thanks for the help friend
it's back to normal now.

I've followed your advice but I used a
live OS instead.

Thanks again for the help.
My box now runs 12.2 SMOOTHLY!!!
 
Old 12-17-2008, 07:52 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
You'll need an initrd to boot from the generic-smp kernel. Change that line back to just image = /boot/vmlinuz, then get this:
http://www.slackware.com/~alien/tool...d_generator.sh
run it as root, it will tell you the command to enter for a suitable initrd. See the README.initrd for more details.

Last edited by brianL; 12-17-2008 at 07:53 AM.
 
Old 12-17-2008, 08:10 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by fastestOS View Post
thanks for the help friend
it's back to normal now.

I've followed your advice but I used a
live OS instead.

Thanks again for the help.
My box now runs 12.2 SMOOTHLY!!!
You could have used the 'SlackwareŽ install cd/dvd' to boot then mount the partition in question. Then chroot to the crippled system that was mounted to allow you to make necessary changes.

Just a note for those who might search and find your post as reference;
Quote:
example;

The easiest way would be to use the install cd1 to boot the system as if you were going to install.
After you get to the login then from the cli (command line);

Code:
~#mkdir /slacktemp                   #temporary mount point
~#mount /dev/your_device /slacktemp  #this is the device you installed to
~#chroot /slacktemp                  #change to yours
~#cd /slacktemp/etc                  #change to directory with lilo.conf 
~#vi lilo.conf                       #edit lilo.conf, if need be
~#lilo -v -t -b /dev/your_device     #sda, hda this will only test 
~#lilo -v -b /dev/your_device        #this will write MBR to your_device
You should now be able to re-boot your system.
 
Old 12-17-2008, 08:17 AM   #6
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Onebuck,

Although I haven't yet needed the emergency recovery instructions you provided, they're potentially very helpful! Thank you.

-Drew
 
Old 12-17-2008, 11:45 AM   #7
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
For recent Slackware upgrades and problem fixes please see the HowTos in my signature.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
To see special coloring characters rendered in vi dale_chip Linux - Newbie 1 11-13-2008 02:05 PM
files being rendered non-executable after GSB crashes. adityavpratap Slackware 3 10-04-2008 11:15 PM
screen not rendered right-suse 11.0 mtdew3q SUSE / openSUSE 3 06-30-2008 07:34 PM
Sid unbootable after kernel upgrade st1cky_rice Debian 7 12-18-2005 07:08 AM
MS bitmapped .fon fonts not being rendered Epyon Linux - General 0 02-16-2004 10:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration