User:Mattx86/qwn:Install x86-2.1.5 and Upgrade to x86 64-edge
The eventual goal with this document is to show how to upgrade a production 32-bit Alpine Linux installation to 64-bit.
Installing Alpine 2.1.5 and upgrading to Edge 64-bit ---------------------------------------------------- # setup-alpine # setup-disk # wget http://dl-4.alpinelinux.org/alpine/edge/releases/x86_64/alpine-edge-110310-x86_64.iso # mkdir /media/iso # mount -t loop /root/alpine-edge-110310-x86_64.iso /media/iso # mount /dev/sda3 /mnt # mount /dev/sda1 /mnt/boot # vi /mnt/etc/apk/repositories * remove cdrom listing if present * add http://dl-4.alpinelinux.org/alpine/edge/x86_64/main/ * add http://dl-4.alpinelinux.org/alpine/edge/x86_64/testing/ * save and exit # apk add --allow-untrusted --root /mnt --repositories-file /etc/apk/repositories --keys-dir /etc/apk/keys -Uaf upgrade * as many times necessary to get past the upgrade script errors # cp /media/iso/boot/grsec.gz /mnt/boot/initramfs-2.6.37.2-grsec # cd /mnt/boot # rm initramfs-2.6.35.11-grsec # rm initramfs-grsec # ln -s initramfs-2.6.37.2-grsec initramfs-grsec # rm vmlinuz-grsec # ln -s vmlinuz-2.6.37.2-grsec vmlinuz-grsec # cd / # umount /media/iso # umount /mnt/boot # umount /mnt # reboot After reboot: # apk fix -r `cat /var/lib/apk/world` # apk -Ua upgrade