Jochen Schulz wrote: > Emanoil Kotsev: >> Jochen Schulz wrote: >> >>> Don't you read the replies to your mails? There is no way to tell apt >>> which architecture to fetch packages for. Not in sources.list nor >>> anywhere else. >> >> You mean that if I say >> >> debootstrap --verbose lenny testdeb/ >> >> There is no way to let it know that I want amd64... I've got the point! > > No, that's not what I said. debootstrap has an '--arch' option which you
I'm really not understanding you completely well. But still the point is important. From the man page I do not understand what exactly is supposed to be the argument but I assume amd64, i386, ia64 etc, as if a it's sooo obvious. man debootstrap --arch=ARCH Set the target architecture (use if dpkg isn’t installed). See also --foreign. .... --foreign Do the initial unpack phase of bootstrapping only, for example if the target architecture does not match the host architecture. A copy of debootstrap sufficient for completing the bootstrap process will be installed as /debootstrap/debootstrap in the target filesystem. > can use. But *after that* (or after a regular installation using d-i), > there is no (officially supported, efficient) way to switch the > architecture of the installation. > > J. What do you mean "way to switch the .... ? You mean perhaps once installed you can not easily switch. This means I would add i.e. a disk to my server, boot in 32 as usual, partition, format and debootstrap --arch=amd64. Make the disk bootable and reboot in this disk. Actually by writing this I'm thinking that usually administrators do install the system on extra partition(s) (/, /var, /usr etc) so I could use a USB disk to install on it, reboot and after migration is done I could delete the system partition(s) and copy the new system over from the USB disk. This does look much easier to accomplish now. Thanks and regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org