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 05-15-2007, 09:48 PM   #1
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 196

Rep: Reputation: 30
upgrading glibc in current


Upgrading to current since about a month ago from Slack 11 requires special instructions Pat V clearly outlines in CHANGES_AND_HINTS.TXT. His instructions I find confusing because I am relatively new. For starters, what does Pat mean by
Quote:
Note that the generic* kernels will require an initrd, so you should probably choose one of the huge* kernels for now.
This is confusing too:
Quote:
At this point, use "installpkg" to install the kernel rather than "upgradepkg"
Doesn't that mean I have to alter the vmlinuz entry in my boot loader? I ask because I tried doing this on my other Slackware box and I got a kernel panic.
 
Old 05-15-2007, 10:31 PM   #2
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 196

Original Poster
Rep: Reputation: 30
The answer to my first question, according to rworkman on FreeNode, is I need to read /boot/README.initrd.
 
Old 05-15-2007, 10:35 PM   #3
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Huge installations

What he means by the huge installation is when you installed slackware you need the 2.6 kernel to install the new glibc. being that current is slackware 12 in the works, you can't upgrade to it, you have to install it.
 
Old 05-15-2007, 10:45 PM   #4
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 196

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Hern_28
What he means by the huge installation is when you installed slackware you need the 2.6 kernel to install the new glibc. being that current is slackware 12 in the works, you can't upgrade to it, you have to install it.
But do I have to edit my lilo.conf at all?
 
Old 05-15-2007, 10:58 PM   #5
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
I Don't think so.

I didn't upgrade to slackware current from slackware, upgraded from zenwalk. i didn't have to change mine but not sure doing it the other way. could type /etc/lilo when finished just in case before rebooting.
 
Old 05-15-2007, 11:02 PM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
If your lilo points to vmlinuz, everything should be allright. But I don't understand why do you want to upgrade the kernel. It's the most easiest way to make the system unusable.
 
Old 05-15-2007, 11:05 PM   #7
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Need 2.6?

Do you not need the 2.6 kernel to upgrade to install glibc? Will have to double check that but your right it will mess with the system coming from 2.4 but should be fixed after aptget current install.
 
Old 05-15-2007, 11:20 PM   #8
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
There are two great threads:

http://www.linuxquestions.org/questi...d.php?t=430773

http://www.linuxquestions.org/questi...d.php?t=484109
 
Old 05-17-2007, 03:44 PM   #9
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 196

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Alien_Hominid
I don't see how installing kernel headers is relavent to installing glibc, the task at hand.
 
Old 05-17-2007, 04:21 PM   #10
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 196

Original Poster
Rep: Reputation: 30
After I install my new generic kernel, must I add anything to my lilo.conf?
 
Old 05-17-2007, 04:51 PM   #11
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 196

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Drone4four
After I install my new generic kernel, must I add anything to my lilo.conf?
According to the slackers on FreeNode I do. In my case, I am actually not using lilo. I will be editing /home/ubuntu/boot/grub/menu.lst.
 
Old 05-17-2007, 05:46 PM   #12
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,969

Rep: Reputation: Disabled
Quote:
Originally Posted by Hern_28
Do you not need the 2.6 kernel to upgrade to install glibc? Will have to double check that but your right it will mess with the system coming from 2.4 but should be fixed after aptget current install.
As the CHANGES_AND_HINTS.TXT indicates, yes, you *must* be running a 2.6 kernel *before* you upgrade glibc.

As for "aptget current install" -- what are you talking about? There is no such tool on Slackware, and even if the user has installed something of that sort, it's *not* an officially sanctioned or supported upgrade.
 
Old 05-17-2007, 05:48 PM   #13
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,969

Rep: Reputation: Disabled
Quote:
Originally Posted by Drone4four
Upgrading to current since about a month ago from Slack 11 requires special instructions Pat V clearly outlines in CHANGES_AND_HINTS.TXT. His instructions I find confusing because I am relatively new.
I'm going to sound harsh here, but...

Quite frankly, if those instructions are confusing to you, you should probably continue running the stable (11.0) release of Slackware until 12.0 releases, and then do a completely fresh installation (not an upgrade) to it. I don't know how to make those instructions any clearer.
 
Old 05-17-2007, 05:52 PM   #14
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 196

Original Poster
Rep: Reputation: 30
So lemme get this straight. If I use this kernel, I will need to install a new initrd.gz:
Code:
http://mirror.vbfx.com/slamd64/slamd64-current/slackware/a/kernel-generic-2.6.18.8_smp-x86_64_slamd64-1.tgz
But if I use this one,
Code:
http://mirror.vbfx.com/slamd64/slamd64-current/slackware/a/kernel-huge-2.6.18.8_smp-x86_64_slamd64-1.tgz
then I will NOT need to install a new initrd.gz?
 
Old 05-17-2007, 05:55 PM   #15
Drone4four
Member
 
Registered: Feb 2006
Distribution: Ubuntu, Slackware. Gentoo
Posts: 196

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by rworkman
I'm going to sound harsh here, but...

Quite frankly, if those instructions are confusing to you, you should probably continue running the stable (11.0) release of Slackware until 12.0 releases, and then do a completely fresh installation (not an upgrade) to it. I don't know how to make those instructions any clearer.
lol

I can't wait until 12.0 because I need to use slackbuilds to install things. Slackbuilds at the momment stop half way to complain about GCC and C++. -current is my only option. I am willing to learn.
 
  


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
Upgrading glibc to 2.4 shevegen Linux From Scratch 2 08-19-2006 09:22 PM
Swaret upgrade from 10.0 to current broke glibc - unable to login vharishankar Slackware 6 04-03-2006 01:30 AM
Problems with glibc on Slackware current? MS3FGX Slackware 2 03-30-2006 10:57 PM
upgrading glibc 2.3.2 to glibc 2.3.3 =cop=Jesse Linux - Newbie 3 12-09-2004 12:00 AM
Upgrading glibc-2.2.4 to glibc-2.3.2 on redhat 7.2 Shuja Linux From Scratch 2 07-30-2004 01:34 AM


All times are GMT -5. The time now is 10:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration