LinuxQuestions.org
Review your favorite Linux distribution.
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 01-23-2006, 03:47 AM   #1
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
counter part of "rpm -ivh --force kernel....rpm in slackware


Hello all,
what is the way of reinstalling the kernel forcefully in case it has been corrupted during compilation
i did it once in RedHat 9 using
Quote:
#rpm -ivh --force (the kernel).rpm
from the list of kernels in the bootable cd of the RedHat distro.

How should i do it in Slackware 10.0

regards
 
Old 01-23-2006, 04:40 AM   #2
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
To reinstall the kernel manually from the disks:

* The default kernel slackware package is in slackware/a on the first disk.
* Default modules is in the same place (kernel-modules*.tgz).
* installpkg /mnt/cdrom/slackware/a/kernel*.tgz will just rewrite the installed packages with the ones off the cd.
* You will have to check /etc/lilo.conf and then rerun lilo.

Alternatively you should be able to accomplish all of the above in one swipe with pkgtool --> Reconfigure --> Configure.

Good luck,
- Piete.
 
Old 01-28-2006, 07:46 PM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by piete
To reinstall the kernel manually from the disks:

* The default kernel slackware package is in slackware/a on the first disk.
* Default modules is in the same place (kernel-modules*.tgz).
* installpkg /mnt/cdrom/slackware/a/kernel*.tgz will just rewrite the installed packages with the ones off the cd.
* You will have to check /etc/lilo.conf and then rerun lilo.

Alternatively you should be able to accomplish all of the above in one swipe with pkgtool --> Reconfigure --> Configure.

Good luck,
- Piete.
Thanks piete,
your instructions helped me in running my friends system again.

regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
rpm -ivh vs. rpm -Uvh Eklipz Fedora 6 12-02-2013 01:51 AM
after rpm -ivh then what brucewayne3210 Linux - Software 2 05-26-2004 07:24 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM
rpm -q claims "installed" but rpm -ivh claims "already installed" topgunjones Linux - Software 3 01-29-2004 08:31 PM
rpm -Uvh or -ivh? chri5 Linux - Newbie 1 11-16-2003 12:59 PM

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

All times are GMT -5. The time now is 03:59 AM.

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