Install FC5 from ISO DVD failed with
unable to read package metedata... [errno 256] which
I verified was a media error with anaconda's
linux askmethod gives option for HTTP install which
I did; a list of mirrors is on Fedora site. This took 3 hrs (mirror was slow),
worked fine. Be sure not to install
grub on the MBR; rather
put it on the linux
Partitioning in anaconda: be prepared since
the anaconda graphical installer is very annoying if
you want to customize the partitions. You cannot reliably choose the order of
partitions and have to keep deleting and re-adding partitions until they
appear in your desired order, which they may never do. Here's edited
Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System Comments /dev/sda1 1 7 56196 de Dell Utility Dell's rescue partition /dev/sda2 * 8 1282 10241437+ 7 HPFS/NTFS resized Windows XP /dev/sda3 1283 1295 104422+ 83 Linux 100 MB /boot /dev/sda4 1296 9729 67746105 5 Extended /dev/sda5 1296 2187 7164958+ 83 Linux 7GB / /dev/sda6 2188 2697 4096543+ 82 Linux swap / Solaris 4GB /swap /dev/sda7 2698 3207 4096543+ 83 Linux 4GB /usr/local /dev/sda8 3208 9729 52387933+ 83 Linux 52GB /home
Once FC5 installed, boot from DVD/CD into read-only rescue mode, grab the boot partition start via,
dd if=/dev/sda3 of=linux_bootsec.bin bs=512 count=1and scp linux_bootsec.bin somewhere. Boot up windows and scp it back to C:\, then edit the XP bootloader (after taking a backup of the file),
boot.ini(which need to make visible via
attrib -R -S -H C:\boot.inifrom a command window) according to this guide. I changed the timeout to 3 sec, and made linux the default. There seems to be no problem with the BIOS 1024 cylinder limit (8.5GB) since my linux boot is over 10GB into the drive.
yum install kernel-smp-devel xorg-x11-server-sdk pkgconfig. See this. Get the latest nvidia driver, currently 8774. Then run the nvidia installer as root once you've done
init 3. Edited
/etc/X11/xorg.confto this. glxgears of 2180 fps then results. Not bad for a `business application' GPU!
ATrpms.netinstalled ipw3945, which seems to use the
ieee80211module from the kernel. The module loading options need to be added to
install ipw3945 /sbin/modprobe --ignore-install ipw3945 ; sleep 0.5 ; /sbin/ipw3945d --quiet remove ipw3945 /sbin/ipw3945d --kill ; /sbin/modprobe -r --ignore-remove ipw3945The remaining problem is that the ipw3945 module is not loaded according to these instructions on boot, so I added
/sbin/modprobe -r ipw3945; sleep 0.5; /sbin/modprobe ipw3945to /etc/rc.local to get wireless working. Of course
eth0needs to be shut down too, but I'm not used to how NetworkManager it taking over these operations. The file
ifcfg-eth1was generated by
system-config-networkand then hand edited.
Thanks to Sarunas Burdulis for help with this.
f2c libraries: compat-libf2c-32. To get them to be seen when compiling, do
sudo ln -sf /usr/lib/libg2c.so.0 /usr/lib/libg2c.so
ln -s /usr/local/lib/codecs/ /usr/lib/codecsI found
avisynth.dllhere (don't use later versions). To get correct mplayer aspect ratio you'll need to add monitoraspect=16:10 to the file /etc/mplayer/mplayer.conf.
Install googleearth, xcdroast, xfig, tetex-prosper. audacity in fedora-extras doesn't have mp3 support, and won't work even if you tell it where liblame.so is, so got Livna RPM, works fine.
The baudline binary file is excellent and works fine (version 1.03). Thank-you SigBlips! I love this software.
freeglut-devel, which also gives you the Mesa GLU libraries needed for Matlab below.
yum install perl-Unicode-String perl-MP3-Infothen in gnupod directory
make install. Important change since FC4: the iPod mounts as /media/
mkdir /media/temp mount -t iso9660 -o exec /dev/cdrom /media/tempthen can run the
installscript. Why has the default exec permission changed since FC4? Configure license info as per MathWorks instructions. Change usename in
In order to do MEX compilation, GCC 3.2 is needed. Edit the glnx86 section
$MATLAB/bin/mexopt.sh to say
yum install compat-gcc-32 compat-gcc-32-c++.
Now able to mex compile.
To get hardware-accelerated OpenGL rendering in Matlab, replace its gcc-library with FC5's:
cd /usr/local/matlab/sys/os/glnx86 mv libgcc_s.so.1 libgcc_s.so.1_orig ln -sf /lib/libgcc_s.so.1 ./Restart Matlab, check with opengl info at Matlab prompt, and then notice that penny; axis vis3d rotates smoothly at at least 30 fps. Thanks to Mathworks support for this fix.
smartmontools: must be called with new flag to use "libata pass-through", for instance
sudo smartctl -d ata -a /dev/sda, as described here. Without any adjustments,
hdparmgives 39MB/sec disk reads, 2125MB/sec cache reads.
gconf-editorand remove Desktop icons in the Nautilus config. Change default terminal to
nautilus-open-terminaland restart session, as instructed
/etc/sudoersto include myself
# writes everything to Ctrl-Alt-F9 console. *.* /dev/tty9
NETWORKING=yes HOSTNAME=whisky.localdomainI replace
/etc/hosts. I also put the following in /etc/dhclient.conf so I have a guaranteed fixed alias on the network:
send host-name "whisky";
/proc/acpi/battery/BAT0/state(takes 5 sec to update) you can compute power consumption in various states:
CPU0,1 idle (both 1Ghz) wireless on LCD max brightness 22W CPU0,1 idle (both 1Ghz) wireless on LCD min brightness 17W CPU0 100%, CPU1 idle wireless on LCD max brightness 26.5W CPU0,1 both 100% wireless on LCD max brightness 33W CPU0,1 idle (both 1Ghz) wireless off LCD max brightness 21WSo wireless consumes about 1+-0.2W (regardless of transmitting or receiving). LCD brightness range accounts for 3W, and both CPUs maxing out increases consumption by about 50%. Power consumptions are similar to the i8100 which only has one CPU.
Contact me at
ahb at math dot dartmouth dot edu