[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Fedora's minimum RAM Vs Anaconda





On Tue, Dec 6, 2011 at 11:14 AM, John Reiser <jreiser bitwagon com> wrote:
On 12/05/2011 07:23 PM, Danishka Navin wrote:
> On Sat, Dec 3, 2011 at 7:40 PM, John Reiser wrote:

>     I made a non-Live DVD of Fedora 16 using the "treebuilder" branch of anaconda
>     which is [will become] a feature of Fedora 17.  It successfully installed
>     using 318MB of RAM (256MB + 64MB - 2MB), in elapsed wall-clock time
>     of about 45 minutes, which is 80% longer than the 25 minutes that I see
>     when I use 1GB.  I tried using 250MB of RAM, but gave up after an hour
>     because it was less than half way through the 1200 packages of default
>     Graphical Desktop.

> Could you please share your kickstart files with me :)

I start with /usr/share/spin-kickstarts/fedora-install-fedora.ks from the
package fedora-kickstarts (previously called spin-kickstarts.)
I comment-out all the @Languages to save about 1GB of space on the platter
and many minutes of time, and I adjust the repo(s) according to the state
of the release (rawhide, branched, beta, final); see
 https://bugzilla.redhat.com/show_bug.cgi?id=755678

So at the moment I would use the repos fedora-16 and fedora-16-updates
as described in your /etc/yum.repos.d/*.repo.  The .ks file would have:
repo --name=fedora-16         --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch            --exclude kernel*debug* --exclude kernel-kdump* --exclude syslog-ng --exclude java-1.5.0-gcj-devel --exclude astronomy-bookmarks --exclude generic* --exclude
java-1.5.0-gcj-javadoc --exclude btanks* --exclude GConf2-dbus* --exclude bluez-gnome
repo --name=fedora-16-updates --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch --exclude kernel*debug* --exclude kernel-kdump* --exclude syslog-ng --exclude java-1.5.0-gcj-devel --exclude astronomy-bookmarks --exclude generic* --exclude
java-1.5.0-gcj-javadoc --exclude btanks* --exclude GConf2-dbus* --exclude bluez-gnome

Then I invoke pungi via:
 DESTIDR=/path/to/existing/destination/directory
 VERSION=16
 export ARCH=x86_64
 rm -rf $DESTDIR/work/$ARCH
 rm -rf $DESTDIR/$VERSION/$ARCH
 export LC_ALL=C
 sudo setenforce 0
 pungi -c fedora-install-fedora.ks --destdir=$DESTDIR --name Fedora --ver $VERSION --nosource

Remember to build and install the treebuilder code from lorax before running pungi.
See also  http://fedoraproject.org/wiki/How_to_create_a_Fedora_install_ISO_for_testing .

--



what release you have used? Fedora 16 or 17?


--
Danishka Navin
http://danishkanavin.blogspot.com
http://twitter.com/danishkanavin
http://www.flickr.com/photos/danishkanavin/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]