You are not logged in.

#1 2010-08-14 21:03:42

Asaf
Member
Registered: 2010-08-14
Posts: 2

archiso : generating images for x86 from x86_64 host

i have set arch=x86 in Makefile,
doesn't help

Offline

#2 2010-08-14 21:22:12

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 698
Website

Re: archiso : generating images for x86 from x86_64 host

1) create a 32 bit chroot
2) enter to 32 bit chroot with linux32 command
3) git clone, make and enjoy!

Offline

#3 2010-08-14 21:43:00

itsbrad212
Member
From: Chicago, USA
Registered: 2010-01-23
Posts: 1,848

Re: archiso : generating images for x86 from x86_64 host

I suggest Xyne's arch32-light for a 32-bit chroot smile
http://wiki.archlinux.org/index.php/Ins … ch32-light

Last edited by itsbrad212 (2010-08-14 21:43:11)

Offline

#4 2010-08-15 01:33:34

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 698
Website

Re: archiso : generating images for x86 from x86_64 host

In detail, this is the complete procedure, (change ftp://192.168.0.66 to your prefered mirror), see that is the exact same steps, the only difference is the addition of linux32

pacman -S devtools --noconfirm --needed
linux32 mkarchroot /tmp/somedir base
linux32 mkarchroot -r bash /tmp/somedir
echo 'Server = ftp://192.168.0.66/archlinux/$repo/os/$arch' >> /etc/pacman.d/mirrorlist
pacman -S git squashfs-tools syslinux devtools cdrkit make mkinitcpio-nfs-utils nbd --noconfirm --needed
cd /tmp
git clone git://projects.archlinux.org/archiso.git
cd archiso/archiso
make install
cd ../configs/syslinux-iso/
make net-iso

This will take ~= 1.4G

Offline

#5 2010-08-15 10:44:34

Asaf
Member
Registered: 2010-08-14
Posts: 2

Re: archiso : generating images for x86 from x86_64 host

running :

# linux32 mkarchroot /tmp/somedir base

I'm getting :

error: failed to prepare transaction (package architecture is not valid)
:: package attr-2.4.44-1-x86_64 does not have a valid architecture
:: package bash-4.1.007-1-x86_64 does not have a valid architecture
:: package binutils-2.20.1-3-x86_64 does not have a valid architecture

Offline

#6 2010-08-15 18:06:13

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 698
Website

Re: archiso : generating images for x86 from x86_64 host

Seems that you have an out-of-date pacman.conf or changed the default "Architecture = auto" to "Architecture = x86_64".

/etc/pacman.conf

[general]
...
Architecture = auto
...

Offline

Board footer

Powered by FluxBB