View Full Version : Build 32-bit livecd on a 64-bit System
8th April 2009, 09:42 PM
I currently have Fedora 10 32-bit installed on my desktop. I've been building livecds for a while from a custom kickstart file to use personally. I'm considering installing the 64 bit version of Fedora on my desktop and wondered if I'd still be able to build 32 bit livecds. Is it possible to choose in the kickstart file which architecture I want to build for?
8th April 2009, 09:45 PM
Basically yes, cos i do !
8th April 2009, 09:47 PM
That's very good news. How would I specify this?
8th April 2009, 10:03 PM
I just use a localrepo i made with just i386 rpm's, in it, and only use that repo, thats it, i just use livecdtools from terminal, not revisor which i suspect you are, and i dont really have any experience with revisor
8th April 2009, 10:21 PM
In the kickstart file, where the repo is specified, replace $basearch by i386, eg here's a minimal text boot livecd with development tools:
auth --useshadow --enablemd5
part / --size 4096
# root account
repo --name=f10 --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=i386
# copy any required files to the Live Image
# mkdir $INSTALL_ROOT/project
# cp /mnt/data/project/*.c $INSTALL_ROOT/project/
save as livecd-fedora-minimal_test.ks and then create the livecd with (as root)
livecd-creator --cache=yumcache/ -c livecd-fedora-minimal_test.ks -f MYLIVECD
(I usually use a local yum cache so further builds won't require a redownload of the rpms)
and test with qemu (or qemu-kvm if available),
sudo qemu-kvm -m 512 -cdrom MYLIVECD.iso &
(root password on the livecd is "pass")
8th April 2009, 10:42 PM
Or you can just add a 'setarch i686 ' to the front of your livecd-creator command.
Then no need to edit the kickstart file at all. ;)
8th April 2009, 11:32 PM
Thanks guys. I will try these suggestions once I've switched over to x86_64.
@DangerMouse: I'm not using revistor, I'm using the livecd-creator command and passing in my kickstart file with the '--config' option
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.