LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-18-2010, 07:01 AM   #16
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470

Dang man you got alot of kernels
LOL

Doesn't look like you have upgraded yet?

Assuming "vmlinuz6" is your custom kernel do, as root

cd /boot
rm vmlinuz
ln -s vmlinuz6 vmlinuz

cd /etc/rc.d
cp rc.modules-2.6.29.6-smp rc.modules-2.6.36
ln -s rc.modules-2.6.36 rc.modules

edit /etc/lilo.cfg and change it back to

image = /boot/vmlinuz
root = /dev/hda2
label = Linux
read-only

vmlinuz should always be a symlink to the kernel in Slackware, usually.

whatever the name of your modules in /lib/modules is what you put for /etc/rc.d/rc.modules (it's 2.6.36 or what?)

after all that do /sbin/lilo and reboot
to chack what kernel is running do "uname -r"

after you boot up on the 2.6.36 kernel come back and we'll get you going with the upgrade...

EDIT: make sure to edit rc.modules and uncomment processor, fan, etc

Last edited by linus72; 11-18-2010 at 07:06 AM.
 
Old 11-18-2010, 08:58 PM   #17
Scott271
Member
 
Registered: Nov 2006
Location: New York
Distribution: Slackware-14.1 / Mint
Posts: 103

Rep: Reputation: 21
I've been reading through those two .txt files. I've never done and upgrade, I prefer fresh installs; but I'd like to do one just to see how it's done. I use Xfce, and do not want the whole KDE when I upgrade. Will I have an option to not get KDE? or is there something I need to do during the upgrade to avoid having KDE installed?

TIA,
Scott
 
Old 11-19-2010, 04:53 AM   #18
wakkana12
Member
 
Registered: Dec 2009
Posts: 171

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linus72 View Post
Dang man you got alot of kernels
LOL

Doesn't look like you have upgraded yet?

Assuming "vmlinuz6" is your custom kernel do, as root

cd /boot
rm vmlinuz
ln -s vmlinuz6 vmlinuz

cd /etc/rc.d
cp rc.modules-2.6.29.6-smp rc.modules-2.6.36
ln -s rc.modules-2.6.36 rc.modules

edit /etc/lilo.cfg and change it back to

image = /boot/vmlinuz
root = /dev/hda2
label = Linux
read-only

vmlinuz should always be a symlink to the kernel in Slackware, usually.

whatever the name of your modules in /lib/modules is what you put for /etc/rc.d/rc.modules (it's 2.6.36 or what?)

after all that do /sbin/lilo and reboot
to chack what kernel is running do "uname -r"

after you boot up on the 2.6.36 kernel come back and we'll get you going with the upgrade...

EDIT: make sure to edit rc.modules and uncomment processor, fan, etc
yeah i do have a lot.. but running this
Code:
cd /boot
rm vmlinuz
ln -s vmlinuz6 vmlinuz

cd /etc/rc.d
cp rc.modules-2.6.29.6-smp rc.modules-2.6.36
ln -s rc.modules-2.6.36 rc.modules
would replace my current kernel right? right now i wanna add another entry on lilo for the new kernel so that when it breaks i still have the other one just in case.
 
Old 11-19-2010, 05:02 AM   #19
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK, so you wanna be able to use either the 2.6.29.6 or 2.6.36 kernel?

so then you should probably boot up on the 2.6.36 kernel cause slackware is gonna replace your 2.6.29 13.0 kernels with 13.1 2.6.33.4 kernels.

to upgrade, first edit /etc/slackpkg/mirrors
comment out the 13.0 repo and uncomment one of the 13.1 repos

then do "slackpkg update && slackpkg upgrade slackpkg"

once you do that it will replace your 13.0 mirror list,etc

now do "slackpkg install-new && slackpkg upgrade-all"

when it's done you'll have 2.6.33.4-smp kernel and 2.3.36 kernel, remove the others as their not necessary
 
Old 11-19-2010, 05:15 AM   #20
wakkana12
Member
 
Registered: Dec 2009
Posts: 171

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linus72 View Post
OK, so you wanna be able to use either the 2.6.29.6 or 2.6.36 kernel?

so then you should probably boot up on the 2.6.36 kernel cause slackware is gonna replace your 2.6.29 13.0 kernels with 13.1 2.6.33.4 kernels.

to upgrade, first edit /etc/slackpkg/mirrors
comment out the 13.0 repo and uncomment one of the 13.1 repos

then do "slackpkg update && slackpkg upgrade slackpkg"

once you do that it will replace your 13.0 mirror list,etc

now do "slackpkg install-new && slackpkg upgrade-all"

when it's done you'll have 2.6.33.4-smp kernel and 2.3.36 kernel, remove the others as their not necessary

thanks.. is that safe? im still using hda for my drives.. ive read that i need to edit my /etc/fstab and change hda to sda..
 
Old 11-19-2010, 05:17 AM   #21
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Yep, that's right buddy
I forgot about that

yeah, edit /etc/fstab, lilo.conf and change hda-sda
 
Old 11-19-2010, 05:22 AM   #22
wakkana12
Member
 
Registered: Dec 2009
Posts: 171

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linus72 View Post
Yep, that's right buddy
I forgot about that

yeah, edit /etc/fstab, lilo.conf and change hda-sda
that's before updating right?
 
Old 11-19-2010, 05:35 AM   #23
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
no, update, change it all, then reboot
before or after isnt so important

it's making sure you edited everything prior to rebooting after upgrade
make sure vmlinuz points to new kernel, edit etc/fstab and /etc/lilo.conf
 
Old 11-19-2010, 05:48 PM   #24
wakkana12
Member
 
Registered: Dec 2009
Posts: 171

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linus72 View Post
no, update, change it all, then reboot
before or after isnt so important

it's making sure you edited everything prior to rebooting after upgrade
make sure vmlinuz points to new kernel, edit etc/fstab and /etc/lilo.conf
hmmm.. i have another question.. i dont know where to get slackware 13.1 mirror so what i did is to go to http://www.slackware.com then click their mirrors like france,etc.. then put it in my /etc/slackpkg/mirrors file.. but when running
Code:
slackpkg update && slackpkg upgrade slackpkg
i got this message
Code:
--2010-11-20 07:44:18--  http://ftp.fu-berlin.dechangelog.txt/
Resolving ftp.fu-berlin.dechangelog.txt... failed: Name or service not known.
wget: unable to resolve host address `ftp.fu-berlin.dechangelog.txt'
it seems that i got the wrong mirror site..
 
Old 11-19-2010, 05:58 PM   #25
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
nah
I'm sorry, I dont run 13 or 13.1, but -current
so forgive me a bit

I think you gotta go here and install the slackpkg for 13.1
http://slackware.mirrors.tds.net/pub...1-noarch-1.tgz

upgradepkg slackpkg-2.81.1-noarch-1.tgz

then edit/check out /etc/slackpkg/mirrors

you gotta uncomment 1 mirror, usually one that says 1gb, etc

# USA, GigE
# http://mirrors.easynews.com/linux/sl...lackware-13.1/

so then uncomment the server part

# USA, GigE
http://mirrors.easynews.com/linux/sl...lackware-13.1/

then do slackpkg update && slackpkg install-new && slackpkg upgrade-all
 
Old 11-19-2010, 06:05 PM   #26
wakkana12
Member
 
Registered: Dec 2009
Posts: 171

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linus72 View Post
nah
I'm sorry, I dont run 13 or 13.1, but -current
so forgive me a bit

I think you gotta go here and install the slackpkg for 13.1
http://slackware.mirrors.tds.net/pub...1-noarch-1.tgz

upgradepkg slackpkg-2.81.1-noarch-1.tgz

then edit/check out /etc/slackpkg/mirrors

you gotta uncomment 1 mirror, usually one that says 1gb, etc

# USA, GigE
# http://mirrors.easynews.com/linux/sl...lackware-13.1/

so then uncomment the server part

# USA, GigE
http://mirrors.easynews.com/linux/sl...lackware-13.1/

then do slackpkg update && slackpkg install-new && slackpkg upgrade-all
thanks.. but can i just point my current slackpkg to the mirrors in slackware.com and just point it to the slackware-13.1 folder? will that work? anyway im now doing what you've said..
 
Old 11-19-2010, 06:13 PM   #27
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
yeah, you could do that too, but the new slackpkg is gonna install a new mirrors file anyway
 
Old 11-19-2010, 06:19 PM   #28
wakkana12
Member
 
Registered: Dec 2009
Posts: 171

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linus72 View Post
yeah, you could do that too, but the new slackpkg is gonna install a new mirrors file anyway
yeah.. i replaced my mirror to mirror.new.. by the way by upgrading the slackpkg and running the command that you gave me will install the new kernel? because as of now i still haven't manage to upgrade to the 2.6.36 kernel.
 
Old 11-19-2010, 06:45 PM   #29
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
slackware 13.1 uses 2.6.33.4 kernel
slackware -current uses 2.6.35.7 kernel

I thought you already had a 2.6.36 custom kernel?

you should also uninstall the generic and 486 kernels before upgrading
EDIT:
also, remember to rerun lilo after upgrading
make sure the 2.6.33.4 huge-smp is the kernel vmlinuz is symlinked to
 
Old 11-19-2010, 08:05 PM   #30
wakkana12
Member
 
Registered: Dec 2009
Posts: 171

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linus72 View Post
slackware 13.1 uses 2.6.33.4 kernel
slackware -current uses 2.6.35.7 kernel

I thought you already had a 2.6.36 custom kernel?

you should also uninstall the generic and 486 kernels before upgrading
EDIT:
also, remember to rerun lilo after upgrading
make sure the 2.6.33.4 huge-smp is the kernel vmlinuz is symlinked to
that's the problem.. earlier im having problem on 2.6.36 custom kernel because it doesn't appear on my lilo even though i followed the tutorial on how to upgrade.. when running /sbin/lilo command it returned that linux2 was added which is my 2.6.36 custom kernel.. but when i restart my computer it doesn't show the linux2 on the lilo. i already posted my lilo.conf and the result of
Code:
ls -la /boot
 
  


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
Upgrade from Slackware 13.0 to 13.1 njb Slackware 22 08-08-2010 06:18 AM
SIP 4.10.0 SlackBuild or Slackware package? Or upgrade Slackware 13.0 to 13.1? ShellyCat Slackware 1 07-11-2010 09:31 PM
Slackware-current (aug) upgrade to slackware 13? jensklas Slackware 20 09-02-2009 11:52 AM
Slackware 10.1 -> 10.2 upgrade ramke Slackware 4 10-27-2005 12:39 AM
Upgrade from Slackware 9.1 to 10.0 Joffe Slackware - Installation 1 07-04-2004 12:33 PM

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

All times are GMT -5. The time now is 05:23 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