Talk:Install bundled 32-bit system in 64-bit system

From ArchWiki
Jump to: navigation, search

Some notes

Section "Installation": The original /etc/pacman.conf of the 64-bit host should have 'multilib' commented out, otherwise you get complaints about no multilib.db can be downloaded for 32-bit

Section "Settings": The "for i in passwd* shadow* group* sudoers resolv.conf localtime locale.gen vimrc mtab inputrc profile.d/locale.sh; do cp -p /etc/"$i" /opt/arch32/etc/; done" works only in the 'etc' directory of the host, so maybe a 'cd /etc' for clarification would help

/etc/mtab should not be copied as it is a symlink to '/proc/self/mounts'

It should be made clear that the jail must be entered with 'linux32 chroot /opt/arch32'.

—This unsigned comment is by Andreas baumann (talk) 06:14, 31 July 2015‎. Please sign your posts with ~~~~!

Unless I'm misunderstanding your suggestion, /etc/mtab should definitely be copied over. Although it's a symlink to /proc/self/mounts, arch-chroot mounts /proc so the symlink will be live. Indeed, pacman won't work inside the chroot if the /etc/mtab symlink isn't there.

Apetresc (talk) 16:02, 25 January 2017 (UTC)