Fedora Linux Support Community & Resources Center
  #1  
Old 8th April 2009, 09:42 PM
tomgibbons Offline
Registered User
 
Join Date: Oct 2006
Location: San Diego, CA
Posts: 10
Build 32-bit livecd on a 64-bit System

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?

Thanks
Reply With Quote
  #2  
Old 8th April 2009, 09:45 PM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,847
Basically yes, cos i do !
Reply With Quote
  #3  
Old 8th April 2009, 09:47 PM
tomgibbons Offline
Registered User
 
Join Date: Oct 2006
Location: San Diego, CA
Posts: 10
That's very good news. How would I specify this?

Thanks
Reply With Quote
  #4  
Old 8th April 2009, 10:03 PM
Dangermouse's Avatar
Dangermouse Offline
Administrator
 
Join Date: Aug 2007
Location: London Postbox (the red one)
Age: 47
Posts: 3,847
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
Reply With Quote
  #5  
Old 8th April 2009, 10:21 PM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
In the kickstart file, where the repo is specified, replace $basearch by i386, eg here's a minimal text boot livecd with development tools:

Code:
lang en_US.UTF-8
keyboard uk
timezone GB
auth --useshadow --enablemd5
selinux --disabled
firewall --disabled
part / --size 4096

# root account
rootpw pass

repo --name=f10 --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=i386

%packages
@core
bash
kernel
passwd
chkconfig
authconfig
rootfiles
memtest86+
nano
gcc
binutils
make
patch
libgomp
glibc-devel
glibc-headers
kernel-headers
kernel-devel
man
bc
system-config-firewall-tui

%post --nochroot
# copy any required files to the Live Image
# mkdir $INSTALL_ROOT/project
# cp /mnt/data/project/*.c $INSTALL_ROOT/project/

%end
save as livecd-fedora-minimal_test.ks and then create the livecd with (as root)
Code:
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),
Code:
sudo qemu-kvm -m 512 -cdrom MYLIVECD.iso &
(root password on the livecd is "pass")
Reply With Quote
  #6  
Old 8th April 2009, 10:42 PM
nirik's Avatar
nirik Offline
Community Manager
 
Join Date: Mar 2009
Location: Broomfield, CO
Posts: 383
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.
Reply With Quote
  #7  
Old 8th April 2009, 11:32 PM
tomgibbons Offline
Registered User
 
Join Date: Oct 2006
Location: San Diego, CA
Posts: 10
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
Reply With Quote
Reply

Tags
32bit, 64bit, build, livecd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I build i386 packages on a x86_64 system? nemesis963 Using Fedora 10 14th May 2008 01:05 PM
no /build in file system cwood06 Using Fedora 12 5th May 2006 08:58 PM
Instruction to build LiveCD from BLFS satimis Linux Chat 0 4th October 2005 04:22 PM
Xfer a VMware Fedora Build to a Physical System razorhead Using Fedora 0 13th September 2005 03:18 PM
help me build my digital video system mert Linux Chat 3 29th November 2004 02:12 PM


Current GMT-time: 13:08 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat