summaryrefslogtreecommitdiffstats
path: root/patches/packages/linux-2.6.33.4-2/README
blob: 7befffaae6b55b87556e314c1c5e58d09e5dafe2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
After using upgradepkg to install these packages, you'll need
to rebuild your initrd (if you use one), and then reinstall
LILO.

Here's an example of how to rebuild the initrd for the
generic kernel for a root partition on /dev/sda2 using ext4:

mkinitrd -k 2.6.33.4 -m ext4 -f ext4 -r /dev/sda2

See "man initrd" for full details on using mkinitrd.

Then, make sure /etc/lilo has a section similar to this:

# Linux bootable partition config begins
image = /boot/vmlinuz-generic-2.6.33.4
  initrd = /boot/initrd.gz
  root = /dev/sda2
  label = Linux
  read-only
# Linux bootable partition config ends

Then, reinstall LILO by running "lilo" as root.