www.linux-noob.com: apt-get kernel 2.6 - www.linux-noob.com

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

apt-get kernel 2.6 use apt to install 2.6

#1 User is offline   hijinks

  • touch /dev/booty
  • PipPipPip
  • Group: Members
  • Posts: 292
  • Joined: 12-December 03

Posted 16 January 2004 - 05:26 PM

want to know how to install 2.6 via apt. Well its easy. Add the following line to your /etc/apt/sources.list file

rpm http://people.redhat.com arjanv/2.6 kernel

then run the following commands

apt-get update
apt-get install kernel#2.6.1-1.131


that was when 2.6.1-1.131 was the newest. You can get a complete listing by running

apt-get install kernel


NOTE: This was done on a fedora core1 box. RH 9 might have some depandancy issues :)
0

#2 User is offline   hijinks

  • touch /dev/booty
  • PipPipPip
  • Group: Members
  • Posts: 292
  • Joined: 12-December 03

Posted 16 January 2004 - 05:55 PM

Ok I just installed it using RH 9.

You need to do an upgrade because it needs a version of mkinitrd and a few other rpms that aren't shipped with RH 9 but that apt-get site has them for download

apt-get update
apt-get upgrade
apt-get install kernel#2.6.1-1.131

0

#3 User is offline   anyweb

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 3,266
  • Joined: 11-December 03

Posted 22 January 2004 - 05:55 PM

ive tried this in fedora core release 1
and while the apt-get part worked perfectly, the kernel itself was a total disasater on my laptop (dell latitude c400)

it completelyhung during boot (after kudzu and some other services were started)

a reboot started fsck which FAILED and forced another reboot,

needless to say i tried on and off about 6 times and i could not get the kernel to work

(2.6.1.141)

so for me it was a disaster,

be careful !

cheers

anyweb
My linkedin profile at > linkedin.com
My personal website is > niallbrady.com
0

#4 User is offline   grep420

  • Linux-Noob Frequent Member
  • PipPipPip
  • View blog
  • Group: Members
  • Posts: 119
  • Joined: 11-December 03

Posted 22 January 2004 - 06:19 PM

No problems at all for me. I have done this on 9 and fedora.

[root@xwing root]# date && cat /etc/redhat-release && uname -a
Thu Jan 22 11:11:19 CST 2004
Fedora Core release 1 (Yarrow)
Linux xwing.dal2.mindspring.net 2.6.1-1.141 #1 Wed Jan 21 04:33:51 EST 2004 i686 i686 i386 GNU/Linux
Four whores and seven beers ago.
0

#5 User is offline   deraj

  • Noob
  • Pip
  • Group: Members
  • Posts: 23
  • Joined: 10-January 04

Posted 22 January 2004 - 07:38 PM

that's why you should just use gentoo, it's as easy as ...

emerge genkernel
emerge gentoo-dev-sources
genkernel --config

0

#6 User is offline   grep420

  • Linux-Noob Frequent Member
  • PipPipPip
  • View blog
  • Group: Members
  • Posts: 119
  • Joined: 11-December 03

Posted 23 January 2004 - 09:28 AM

I can do it in a single line with redhat:
apt-get install kernel-smp#2.6.1-1.141
Four whores and seven beers ago.
0

#7 User is offline   deraj

  • Noob
  • Pip
  • Group: Members
  • Posts: 23
  • Joined: 10-January 04

Posted 25 January 2004 - 10:11 AM

apt-get schmat-get, but does you being able to do it in one command make you special?
0

#8 User is offline   grep420

  • Linux-Noob Frequent Member
  • PipPipPip
  • View blog
  • Group: Members
  • Posts: 119
  • Joined: 11-December 03

Posted 26 January 2004 - 07:19 PM

no, just pointing out that redhat is easier than gentoo, and much less of pain to set up.
Four whores and seven beers ago.
0

#9 User is offline   robbin

  • Noob
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 28-September 09

Posted 08 October 2009 - 01:44 AM

Hi there, I wonder if someone could say why this has happened, I have updated Ubuntu Ibex to the Ubuntu Jaunty version via the update manager only the kernel says its still Ubuntu 8.10, kernel 2.6.27-14-generic, can I change this and how would l do that, feel like I read my eyes out! now I'm near to Boot and Nuke....thought I'd ask first.

Also when I start the terminal after the new install I get these two lines first.

bash: /home/china/.bashrc: line 102: unexpected EOF while looking for matching `"'
bash: /home/china/.bashrc: line 103: syntax error: unexpected end of file

robbins@desktop:~$

I have took some screen shots of other errors on this install, still abit new but if you got time I'm all ears, thanks again
0

#10 User is offline   anyweb

  • Administrator
  • PipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 3,266
  • Joined: 11-December 03

Posted 08 October 2009 - 09:15 AM

did you reboot yet ? kernel updates require a reboot
My linkedin profile at > linkedin.com
My personal website is > niallbrady.com
0

#11 User is offline   znx

  • Linux-Noob GURU
  • PipPipPipPipPipPipPipPip
  • View blog
  • Group: Members
  • Posts: 1,236
  • Joined: 21-March 05

Posted 08 October 2009 - 09:57 PM

View Postrobbin, on 08 October 2009 - 01:44 AM, said:

Hi there, I wonder if someone could say why this has happened, I have updated Ubuntu Ibex to the Ubuntu Jaunty version via the update manager only the kernel says its still Ubuntu 8.10, kernel 2.6.27-14-generic, can I change this and how would l do that, feel like I read my eyes out! now I'm near to Boot and Nuke....thought I'd ask first.


The kernel saying that it isn't updated could be that the kernel is restricted from updating (not uncommon). Therefore you need to specify an upgrade to the kernel manually:
apt-get update kernel


Then reboot into the new kernel.

The unrelated problem to your kernel upgrade and is more likely a personal alteration gone wrong. The /home/china/.bashrc is a personal configuration file for the user "china".

I suggest that you either edit the file and fix the problem or simply move the file out of the way:
mv /home/china/.bashrc /home/china/bashrc-old


As suggested by the problem, the line 102 (end of the file) is where the problem is detected. You are missing a " quote somewhere inside the file.
0

#12 User is offline   robbin

  • Noob
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 28-September 09

Post icon  Posted 31 October 2009 - 04:35 AM

Thanks man, I'm kinda getting into this "he says"

I still ain't got much to add! if you could see past how little I know about Linux and help like this I'm sure we'll have it all sorted out in no time.
I'm am interested in building my own kernel and a new OS is only a format away! Only why do we do this apart from its new. I say my PCs online before it goes to the BIOS call and boots or are they all like this ? Put me right where I'm wrong.

My question! will making my own kernel this side of the fence make the pc mine or will I forever be connected to an unknowing force from the
udi:/org/freedesktop/hal/devices/net and still getting messed with I wonder :-P

I pay for a 10mb line from Virgin but it may aswell be on 28k sometimes I don't mind sharing if thats what they call it but their not having it all! Its not the PC I don't believe yet as I've had better off SKYs free 1mb phone line.

Also how would I make the mouse tell me its not a mac mouse, I would really like to learn how to edit the system only I need someone to say look open such and such and faint in there dude. If I don't know soon I'm off to learn to juggle....

Thanks again for the help.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users





The G2-style Tux and the header images using them are licensed under Creative Commons BY-NC-SA. The G2-style Tux images are all from http://crystalxp.net.
Thanks to users kami23, lilitux, iva, overlord59, whidou, brightknight, emulienfou on the Crystal XP Tux Factory site.