Discussion:
kernel upgrade
(too old to reply)
jim bob and joe bob
2005-05-25 18:52:53 UTC
Permalink
Somewhere in here someone told the syntax needed to upgrade the kernel.
I have looked but cannot find it. Please repost?
Thanks,
kk
Jack Malmostoso
2005-05-25 19:08:18 UTC
Permalink
Post by jim bob and joe bob
Somewhere in here someone told the syntax needed to upgrade the kernel.
I have looked but cannot find it. Please repost?
Specify your distribution. There is a general way, but generally leads to
destruction if you don't know PRECISELY what to do.
--
Post by jim bob and joe bob
I can (well, almost) hear you asking yourselves "why?". Hurd will be
out in a year (or two, or next month, who knows), and I've already got
minix.
jim bob and joe bob
2005-05-25 21:35:58 UTC
Permalink
Post by Jack Malmostoso
Post by jim bob and joe bob
Somewhere in here someone told the syntax needed to upgrade the kernel.
I have looked but cannot find it. Please repost?
Specify your distribution. There is a general way, but generally leads to
destruction if you don't know PRECISELY what to do.
Debian woody. I think I have 2.4.x. Just recently did a major upgrade.
Most of it I like but lost some programs that I liked too. Some that
are installed want 2.6 kernel.
kk
Jack Malmostoso
2005-05-25 21:33:50 UTC
Permalink
Post by jim bob and joe bob
Debian woody.
Well, make-kpkg is your friend.

I assume you want to compile our own kernel: if not, then just apt-get the
latest (and -why not?- upgrade to sarge).
--
Post by jim bob and joe bob
I can (well, almost) hear you asking yourselves "why?". Hurd will be
out in a year (or two, or next month, who knows), and I've already got
minix.
jim bob and joe bob
2005-05-26 00:47:24 UTC
Permalink
Post by Jack Malmostoso
Post by jim bob and joe bob
Debian woody.
Well, make-kpkg is your friend.
I assume you want to compile our own kernel: if not, then just apt-get the
latest (and -why not?- upgrade to sarge).
Looks like I'll try sarge. I screwed up my disk and can't seem to fix
it. Too bad. I was beginning to get some things to work the way I
wanted. Oh, well. Installing is what I do best. (grin)
kk
Bryan E. Boone
2005-05-27 13:07:09 UTC
Permalink
Post by jim bob and joe bob
Post by Jack Malmostoso
Post by jim bob and joe bob
Debian woody.
Well, make-kpkg is your friend.
I assume you want to compile our own kernel: if not, then just apt-get the
latest (and -why not?- upgrade to sarge).
Looks like I'll try sarge. I screwed up my disk and can't seem to fix
it. Too bad. I was beginning to get some things to work the way I
wanted. Oh, well. Installing is what I do best. (grin)
kk
I'm very interested in upgrading the Debian kernel as well.
I'm a newbie to the Linux kernel stuff, but I'm comfortable tweaking
other admin things. From a PC I migrated to a Mac. Since the Mac
"eased" me into Unix, I blew away Windows on the PC and installed
Debian. But that's 2.4 kernel. Since the Debian box is [almost] "crash
and burn" I can try new things. Just finding the time to do it is
another story;) I guess I've been "scared off" of kernel things since
every thing I read says "it probably won't boot afterwards" or "be sure
you know what you're doing", etc. Basically is there a [almost] fool
proof way of upgrading your kerenel based upon your original settings?
I didn't customize anything in the kernel (AFAIK) on a network install.
I just answered some questions in the installer. I would updgrade the
kerenel if it is as painless as:
apt-get.
If I do use apt-get, how do I ensure that I' pointing to the right
places to get the new kernel?
Thanks.
-Bryan
Bryan E. Boone
2005-05-27 13:27:13 UTC
Permalink
Post by Bryan E. Boone
Post by jim bob and joe bob
Post by Jack Malmostoso
Post by jim bob and joe bob
Debian woody.
Well, make-kpkg is your friend.
I assume you want to compile our own kernel: if not, then just apt-get the
latest (and -why not?- upgrade to sarge).
Looks like I'll try sarge. I screwed up my disk and can't seem to fix
it. Too bad. I was beginning to get some things to work the way I
wanted. Oh, well. Installing is what I do best. (grin)
kk
I'm very interested in upgrading the Debian kernel as well.
I'm a newbie to the Linux kernel stuff, but I'm comfortable tweaking
other admin things. From a PC I migrated to a Mac. Since the Mac
"eased" me into Unix, I blew away Windows on the PC and installed
Debian. But that's 2.4 kernel. Since the Debian box is [almost] "crash
and burn" I can try new things. Just finding the time to do it is
another story;) I guess I've been "scared off" of kernel things since
every thing I read says "it probably won't boot afterwards" or "be sure
you know what you're doing", etc. Basically is there a [almost] fool
proof way of upgrading your kerenel based upon your original settings? I
didn't customize anything in the kernel (AFAIK) on a network install. I
just answered some questions in the installer. I would updgrade the
apt-get.
If I do use apt-get, how do I ensure that I' pointing to the right
places to get the new kernel?
Thanks.
-Bryan
Oops wrong NG...
Sorry.
-Bryan
I R A Darth Aggie
2005-05-27 14:19:48 UTC
Permalink
On Fri, 27 May 2005 09:07:09 -0400,
+ other admin things. From a PC I migrated to a Mac. Since the Mac
+ "eased" me into Unix, I blew away Windows on the PC and installed
+ Debian. But that's 2.4 kernel.
Only if you're running woody.
+ Since the Debian box is [almost] "crash and burn" I can try new
+ things.
If you have a broadband connection, set your /etc/apt/sources-list to
something like:

deb http://http.us.debian.org/debian/ testing main non-free contrib
deb-src http://http.us.debian.org/debian/ testing main non-free contrib
deb http://security.debian.org/ testing/updates main contrib non-free

Then, as root, "apt-get update" followed by "apt-get dist-upgrade". If
you run into problems, the Sarge release team will likely be interested.
+ Just finding the time to do it is another story;)
Well, there is that. And sys admin rule #0: if it ain't b0rked, don't
b0rk it!
+ I guess I've been "scared off" of kernel things since
+ every thing I read says "it probably won't boot afterwards" or "be sure
+ you know what you're doing", etc.
That's to keep people from doing rash things. What I usually do is
keep the current kernel, and then install the newer version. Boot from
the newer kernel, and then test it out. When I'm satisfied that it'll
work and do what I want, then I can blow away the older kernel.
+ Basically is there a [almost] fool proof way of upgrading your
+ kerenel based upon your original settings?
Mostly, yes. Get the kernel-kbuild package (and dependencies). Get the
source tarball (package: kernel-source-2.x.y), then unpack the tarball
that resides in /usr/src/. In /boot, you should have a config-(current
kernel) file. Copy that to the top of the kernel source directory as
.config, and then "make oldconfig". You'll be prompted for any new
config options. Then use make-kpkg to create your own customized
kernel .deb file.
+ I just answered some questions in the installer. I would updgrade the
+ apt-get.
It can be. On new PC installs, I usually end up getting kernels tuned
for a x386 CPU. Most of the time, that's OK but not optimal, and I'll
go to dselect and grab a x686, k6 or k7 kernel. Just search on
kernel-image in dselect.
+ If I do use apt-get, how do I ensure that I' pointing to the right
+ places to get the new kernel?
Unless you've messed with sources.list, it should be OK.

James
--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.
jim bob and joe bob
2005-05-27 15:40:04 UTC
Permalink
Post by I R A Darth Aggie
On Fri, 27 May 2005 09:07:09 -0400,
+ other admin things. From a PC I migrated to a Mac. Since the Mac
+ "eased" me into Unix, I blew away Windows on the PC and installed
+ Debian. But that's 2.4 kernel.
Only if you're running woody.
+ Since the Debian box is [almost] "crash and burn" I can try new
+ things.
If you have a broadband connection, set your /etc/apt/sources-list to
deb http://http.us.debian.org/debian/ testing main non-free contrib
deb-src http://http.us.debian.org/debian/ testing main non-free contrib
deb http://security.debian.org/ testing/updates main contrib non-free
Then, as root, "apt-get update" followed by "apt-get dist-upgrade". If
you run into problems, the Sarge release team will likely be interested.
+ Just finding the time to do it is another story;)
Well, there is that. And sys admin rule #0: if it ain't b0rked, don't
b0rk it!
+ I guess I've been "scared off" of kernel things since
+ every thing I read says "it probably won't boot afterwards" or "be sure
+ you know what you're doing", etc.
That's to keep people from doing rash things. What I usually do is
keep the current kernel, and then install the newer version. Boot from
the newer kernel, and then test it out. When I'm satisfied that it'll
work and do what I want, then I can blow away the older kernel.
+ Basically is there a [almost] fool proof way of upgrading your
+ kerenel based upon your original settings?
Mostly, yes. Get the kernel-kbuild package (and dependencies). Get the
source tarball (package: kernel-source-2.x.y), then unpack the tarball
that resides in /usr/src/. In /boot, you should have a config-(current
kernel) file. Copy that to the top of the kernel source directory as
.config, and then "make oldconfig". You'll be prompted for any new
config options. Then use make-kpkg to create your own customized
kernel .deb file.
+ I just answered some questions in the installer. I would updgrade the
+ apt-get.
It can be. On new PC installs, I usually end up getting kernels tuned
for a x386 CPU. Most of the time, that's OK but not optimal, and I'll
go to dselect and grab a x686, k6 or k7 kernel. Just search on
kernel-image in dselect.
+ If I do use apt-get, how do I ensure that I' pointing to the right
+ places to get the new kernel?
Unless you've messed with sources.list, it should be OK.
James
That said, what is the incantation for the changing of the kernel?
kk
I R A Darth Aggie
2005-05-28 04:20:59 UTC
Permalink
On Fri, 27 May 2005 10:40:04 -0500,
<snip!>
+ That said, what is the incantation for the changing of the kernel?
The simplest way would be to fire up dselect, get to the package
selection screen, then search for kernel-image. To get to the search
function, press "/", then enter in the search term.

The first one you come to should be your current kernel. Continue
searching until you come to kernel-images that aren't installed. The
first ones should be 2.4 of various flavors, followed by the 2.6
kernels.

Alternatively, one could just go to
http://www.debian.org/distrib/packages

and search the package directories by name. Use kernel-image as your
key word, select the distribution (stable, testing, unstable, or any)
and off you go.

I didn't realize it, but there are still 2.2 kernels available in
Sarge, and 194 matches in all. But I suspect the ones you're interested
in are:

kernel-image-powerpc
kernel-image-2.6.8-powerpc

James
--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.
Keith Krehbiel
2005-05-28 14:45:31 UTC
Permalink
Post by I R A Darth Aggie
On Fri, 27 May 2005 10:40:04 -0500,
<snip!>
+ That said, what is the incantation for the changing of the kernel?
The simplest way would be to fire up dselect, get to the package
selection screen, then search for kernel-image. To get to the search
function, press "/", then enter in the search term.
The first one you come to should be your current kernel. Continue
searching until you come to kernel-images that aren't installed. The
first ones should be 2.4 of various flavors, followed by the 2.6
kernels.
Alternatively, one could just go to
http://www.debian.org/distrib/packages
and search the package directories by name. Use kernel-image as your
key word, select the distribution (stable, testing, unstable, or any)
and off you go.
I didn't realize it, but there are still 2.2 kernels available in
Sarge, and 194 matches in all. But I suspect the ones you're interested
kernel-image-powerpc
kernel-image-2.6.8-powerpc
James
Thanks, I will give it a try. I will have to add sources to my apt
list. My most recent install was done almost completely from cds. I
have resisted the temptation to create anything since I want to try to
upgrade to sarge and I usually screw things up beyond all recognition
when I attempt something like that. On the most recent install I even
got xcdroast to find my IDE burner. This time it is back to insisting
that I reconfigure to see it as SCSI. Hoping the new kernel will help that.
kk

apo
2005-05-26 16:38:22 UTC
Permalink
Post by jim bob and joe bob
Debian woody. I think I have 2.4.x. Just recently did a major upgrade.
Most of it I like but lost some programs that I liked too. Some that
are installed want 2.6 kernel.
i dont know if the last woodys support 2.6 kernel. I think it's better to
upgrade on a sarge system...
jim bob and joe bob
2005-05-26 22:50:13 UTC
Permalink
Post by apo
Post by jim bob and joe bob
Debian woody. I think I have 2.4.x. Just recently did a major upgrade.
Most of it I like but lost some programs that I liked too. Some that
are installed want 2.6 kernel.
i dont know if the last woodys support 2.6 kernel. I think it's better to
upgrade on a sarge system...
Spent most of yesterday evening reinstalling woody. Once again no
X-windows. I suspect that much of the install is really sarge since I
had changed my apt list to testing. Still the 2.4 kernel though. That
is likely the problem but I have not found a way to start the installer
in sarge. This is a old world g3 and needs to boot the installer from
floppy. I have a floppy that says it is sarge boot but it doesn't work.
If I remember correctly I had trouble getting the images downloaded
intact. Mozilla wanted to open the file rendering it useless. I may
try to get the images with lynx. That much works at least. I was
pleasantly surprised to get Firefox up and running just before the drive
crash. I was under the impression that it was unavailable for this
architecture. Look like I will most likely have to reinstall everything
again. Glad I don't need it for anything important.
kk
Loading...