Skip to content

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.

0 points14 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
py10u

Author

6
posts
10
comments
0
media
View profile

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

pacman -Su --print

this will give you all the links to the right packages.

Download those, copy them to /var/cache/pacman/pkg/ and run

pacman -Su

again, the update should work.

3 points

its not an arch system. its running Linux mint 12.

1 points

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>"):

#!/bin/bash
arch="x86_64"
for repo in core extra community multilib; do
    wget http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/$arch/$repo.db
done

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.

2 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.