Differences between revisions 1 and 2
Revision 1 as of 2013-06-14 08:04:14
Size: 740
Comment: Creating the page with a few links
Revision 2 as of 2013-06-14 08:07:19
Size: 1648
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:

== Steps (more or less copy-pasted from Guillem's mail) ==

{{{
# dpkg --print-architecture
i386
# dpkg --add-architecture amd64
# dpkg --print-foreign-architectures
amd64
# apt-get update
# apt-get install linux-image-amd64:amd64
# reboot
}}}

Make sure you are running the amd64 kernel before proceeding with the next steps.

{{{
# apt-get download gcc-4.6-base:amd64 libgcc1:amd64 libc6:amd64 libselinux1:amd64 zlib1g:amd64 libbz2-1.0:amd64 dpkg:amd64
# dpkg -i *.deb
# dpkg --print-architecture
amd64
# dpkg --print-foreign-architectures
i386
}}}

If you got this far you are now effectively running amd64, but with mostly i386 packages. You can try to replace them with the corresponding amd64 packages. If that doesn't work (it is expected that not all libraries will be converted to Multiarch in wheezy) simply remove the i386 package and install the amd64 version instead.

Cross-grading a Debian System

This page is meant to document the procedure for cross-grading a Debian install using Multiarch.

Please note this is still work in progress and re-installing is still safer.

Pre-requisites

The first Debian release to feature Multiarch is Wheezy, so you will need to upgrade before the procedure described here.

Steps (more or less copy-pasted from Guillem's mail)

# dpkg --print-architecture
i386
# dpkg --add-architecture amd64
# dpkg --print-foreign-architectures
amd64
# apt-get update
# apt-get install linux-image-amd64:amd64
# reboot

Make sure you are running the amd64 kernel before proceeding with the next steps.

# apt-get download gcc-4.6-base:amd64 libgcc1:amd64 libc6:amd64 libselinux1:amd64 zlib1g:amd64 libbz2-1.0:amd64 dpkg:amd64
# dpkg -i *.deb
# dpkg --print-architecture
amd64
# dpkg --print-foreign-architectures
i386

If you got this far you are now effectively running amd64, but with mostly i386 packages. You can try to replace them with the corresponding amd64 packages. If that doesn't work (it is expected that not all libraries will be converted to Multiarch in wheezy) simply remove the i386 package and install the amd64 version instead.