|
Post by jamba on Sept 14, 2009 5:44:41 GMT -5
bbs.archlinux.org/viewtopic.php?id=69494 Success! The backup worked, here is what I did (as root):
cp -r /lib/modules/2.6.28-ARCH/ /lib/modules/2.6.28-ARCH-old cp -r /usr/src/linux-2.6.28-ARCH /usr/src/linux-2.6.28-ARCH-old cp /boot/kernel26.img /boot/kernel26-old.img cp /boot/kernel26-fallback.img /boot/kernel26-old-fallback.img cp /boot/vmlinuz26 /boot/vmlinuz26-old pacman -Syu .... mv /lib/modules/2.6.28-ARCH-old /lib/modules/2.6.28-ARCH mv /usr/src/linux-2.6.28-ARCH-old /usr/src/linux-2.6.28-ARCH vim /boot/grub/menu.lst
to /boot/grub/menu.lst I added the following lines
# (0) Arch Linux title Arch Linux old root (hd0,0) kernel /boot/vmlinuz26-old root=/dev/disk/by-uuid/a0e70097-9d86-41b7-94a1-6df9bf6ec5db resume=/dev/disk/by-uuid/6fde335c-aa00-4d4f-a9db-15859aefd4f1 ro vga=773 initrd /boot/kernel26-old.img
# (1) Arch Linux title Arch Linux Fallback old root (hd0,0) kernel /boot/vmlinuz26-old root=/dev/disk/by-uuid/a0e70097-9d86-41b7-94a1-6df9bf6ec5db ro initrd /boot/kernel26-fallback-old.img
It is important to save the modules directory (which is removed by the upgrade) otherwise the old kernel won't have any module, besides those in the initial image. Also, if one wants to compile external modules for the old kernel, the /usr/src/linux-2.6.28-ARCH needs to be saved.
|
|