LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 05-01-2007, 11:37 AM   #1
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Rep: Reputation: 30
Upgrade from 10.2 -> 11


Hello,everyone!

I have been a slackware maniac for several years (>3).However,when it comes to upgrade my slackware,it's my first time.

I am using Slackware 10.2 on my server.Recently,I have some spare time so I can upgrade it.I followed the instructions from UPGRADE.TXT in the official website but I got few things to be clarified:
  • I upgrade all packages from disc 1 of slackware 11.Do I have to do the same with disc 2 & 3?UPGRADE.TXT seems without mention it.
  • Do I have to change the lilo.conf in order to match with the new kernel-2.4.33.3?

I hope you guys are willing to answer my question if you know the answer.Please.
 
Old 05-01-2007, 12:06 PM   #2
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Answer to #2 - If the kernel has been upgraded, changed, replaced, or altered in any way, even if it has the same name, then 'yes' make sure the lilo.conf file is accurate for the new booting kernel (and the old one as backup, if it is still on the system) and re-run LILO. This will update the system.map and any other boot-loader-related files.
 
Old 05-01-2007, 01:52 PM   #3
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
for #1 you certainly can do the upgrade that way. for a server there shouldn't be much besides the tcl/tk stuff on disk 2 you need. (not running kde i presume) I do the 10.2->11 upgrade with disk two the same way, but I specifiy the package directorys, instead of:

upgradepkg --install-new cdrom/slackware/*/*.tgz

i do:

upgradepkg --install-new cdrom/slackware/<dir I want>/*.tgz
 
Old 05-01-2007, 02:45 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
I always upgrade the way bioe007 suggests for disc 2. I do all of disc 1 that way and just skip the k directory where the kernel packages are. This avoids altering kernel files and therefore avoids any need to adjust LILO. I've used this method to upgrade from 9.1 -> 10 -> 10.1 -> 10.2 -> 11 and it's always worked.
 
Old 05-03-2007, 08:18 AM   #5
Swift&Smart
Member
 
Registered: Jan 2003
Location: Hong Kong,China
Distribution: Slackware,OpenSUSE
Posts: 472

Original Poster
Rep: Reputation: 30
dracolich,is that mean you are still using old kernel?

I would love to upgrade my kernel if the risk is not very high.Somehow,the new kernel will improve the performance "a little bit" of my server,I think.

bioe007,my server doesn't has any GUI.Then disc 2 is important or not?I am not an expert here and I don't know which directories should I choose to upgrade packages.

Thanks all ya replies,including GrapefruiTgirl.
 
Old 05-03-2007, 10:29 AM   #6
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
Quote:
Originally Posted by dracolich
just skip the k directory
what a good idea, i never thought of that..


@swift&smart
well I would definitely suggest compiling your own kernel..

I figured out how to do that from the link in my sig. IMO its really not that hard. (Also H_TexMex_H has a great book linked in his sig which is much more verbose)

Spend time reading, also check lsmod, lspci -v (from working kernels) and use xconfig or gconfig for starters. And _never_ obliterate your working kernel images. I always keep huge26.s (my install kernel) available in lilo.conf just in case.

(you can compile the kernel on a different machine, or ssh from another machine to the server) make sure you have the same versions of gcc/glibc on server and where you compile the kernel though.

iirc I think only the tcl/tk packages from disk 2 are useful, and the qt libs in kde/ (iff you have any programs that require these libs) But all this may depend on how you did your first install. If you installed everything then it may be worth upgrading with disk 2 also, but thats a bit beyond my expertise. And of course if you only upgrade disk 1 and find problems you can just upgradepkg --install-new <disk 2>/*/*.tgz.

I would caution that I tend to have the approach of play until it breaks, then see whats broken and fix it.
 
Old 05-03-2007, 02:20 PM   #7
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
Yeah, I'm still using the 2.4.22 that came with 9.1!

No, not really. I compile my own kernels. I'm currently using 2.6.20.6. I skim through the changelogs when a new version is released and when I see one that has fixes or features that interest me I download the full bz2 file and build it from scratch.

I use the menu's feature to load an existing config file to import the config from my existing kernel and just browse the menus to make sure everything is correct, then save the new config as something descriptive like config-2.6.20.6. I've been using the same config roughly since 2.6.11, only slightly modifying once in a while as necessary, and the entire process of make menuconfig, make bzImage, make modules && make modules_install takes about a half hour.

When I cp the new files to /boot I give them descriptive names, just as I do with the config, so nothing is overwritten and everything is organized. Then I edit /etc/lilo.conf and edit the lines as necessary. And I always keep at least one extra kernel image in lilo.conf to boot from and a 5 second timer in case the default fails.
 
  


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
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
I cannot upgrade Debian sarge by apt-get upgrade nos1833 Debian 9 07-05-2006 08:41 AM
Will 'aptitude upgrade or dist-upgrade' downgrade manually installed deb package? Akhran Debian 3 03-14-2006 02:40 PM
upgrade RH8 to RH9 - upgrade or clean install PAB Linux - General 0 03-13-2004 03:55 PM
Error trying to dist-upgrade or upgrade KDE prophet621 Linux - Newbie 0 09-10-2003 04:17 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration