noob question: How to upgrade kernel manually?
i've looked it up on the internet but it never gives me good advice. ive looked it up on the wiki and i doesn't tell me anything. my computer is not hooked up to the internet so im trying to do everything by compiling it from source. my firmware package to my wireless requires that i have the 3.2 Linux kernel when im stuck at 3.0. do any of you know how to do this? btw i get all of my source to the computer via usb drive.
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- py10u
15 comments
So let's see if I understand you.
You have one computer where you don't get internet access so you want to update by hand?
Do you have another (online) arch system at hand?
If so, copy /var/lib/pacman/sync/* from the online system to the offline system. Else download them manually from a mirror of your choosing.
Then run
this will give you all the links to the right packages.
Download those, copy them to /var/cache/pacman/pkg/ and run
again, the update should work.
its not an arch system. its running Linux mint 12.
Then you need to download the databases manually.
Choose one mirror from /etc/pacman.d/mirrorlist and download the $repo.db files from there.
You might use this script (put it in a file and execute it with "sh <filename>"):
Adjust arch if you use 32-bit (i686) and remove repos you don't need.
You'll notice I appended the "/$repo.db" part to the mirror.
All the rest can be done on mint as well as on arch.
EDIT: Just to be clear, this approach uses the normal binary packages so you don't waste time compiling yourself.
I would get linux’s PKGBUILD and tarball and run:
how do i get that?
http://www.archlinux.org/packages/
Deleted before we saved it.
I would advise reading the kernel compilation HOWTO page on the wiki -- wiki.archlinux.org. It will guide you through how to install the kernel, either using AUR or the traditional method.