Fedora live images do not include the "Boot to RAM" option any more. This is not a big problem as the scripts needed to boot to RAM are still there. You just need to add rd.live.ram as boot option. To do that, highlight "Start Fedora Live" using the keyboard keys and press TAB to edit boot command line. Add rd.live.ram and press Enter. Press TAB to edit boot command line Add: rd.live.ram Press ENTER
Test systems: System 1: 2007 noteoobk: Toshiba U205-S5067: Core 2 Duo T7200 , 4GB RAM, 320 GB HD System 2: 2011 notebook: Toshiba R830-10P: Core i7 2620M , 8GB RAM, 256 GB SSD This benchmark result is not only affected by the processor. Almost all system components affects the result. The processor is only the main component. Results: Evaluating overall performance, for compiling Linux Kernel and generate its RPM packages for Fedora 15: Core i7 system is 2.85 times faster than Core 2 Duo system . Details I've run the steps described on: http://kdpeter.blogspot.com/2011/05/steps-to-test-kernel-build-on-fedora-15.html , for the kernel package kernel-2.6.38.6-27.fc15.src.rpm. The only difference to the procedure described above is that I added the command "time" in the building step, to be able to compare necessary time to do same task. $ time rpmbuild -bb --with baseonly --without debuginfo --target=`uname -m` kernel.spec Individual results System 1: Core 2
Pre-Notes: - This will work only if your Linux Distro is based on RPM and YUM. I have tested it on Fedora but it may also work on RHEL and Centos... It will NOT work on Ubuntu, Debian, Suse... - The operating system and its version will be the same inside and outside the chroot jail. - On the example, the chroot will be placed at: /chroot/devel - To install different version of Fedora or other RPM based distro, it will be necessary to manage yum package repositories outside the jail. The five steps: # 1 - Create the chroot directory $ sudo mkdir -p /chroot/devel/var/lib/rpm # 2 - Initiate rpm db on chroot $ sudo rpm --root /chroot/devel --initdb # 3 - download Fedora Release package. # If you do not want Fedora, download the correct *-release package and use it # on step 4. There are examples on the references. $ yumdownloader --destdir=/tmp fedora-release # 4 - Install downloaded Fedora release inside chroot $ sudo rpm --root /chroot/devel -ivh /tmp/fedora-release*r
Comments