Installing Fedora 10 on the Acer Aspire One
After many hours of playing with my Aspire One I have settled on Fedora 10 for my distro of choice. A lot of this guide have been adopted from, The road to Elysium blog. However, I prefer to use GNOME and the Ext4 filesystem. I have not noticed performance hit from using Ext4.
These steps are intended to be performed from top to bottom and in order.
My Hardware
- Acer Aspire One (A150)
- 1.5GB RAM
- 60GB OCZ SSD
- 6-Cell Battery
- USB Flash Drive
Live CD Creation
- Download the Fedora 10 Live CD. (681MB)
- Download UNetbootin. Linux (3.6MB) Windows (3.8MB)
- If you’re using the Linux version, remember to do the following. Be sure to run the program as root.
chmod 755 unetbootin-linux-307
sudo ./unetbootin-linux-307
- If you’re using the Linux version, remember to do the following. Be sure to run the program as root.
- Open UNetbootin and load the Fedora ISO on it. Look at the configuration below.
Live CD Installation
- Insert your USB flash drive into the Aspire One.
- Press F12 at the BIOS prompt.
- Select your USB KEY as the location to boot.
- Once you are on the Live desktop, double-click on “Install to Hard Drive.”
- Continue through the installation process. When presented with the partition choices, choose “Custom Partition Layout.”
- Delete all partitions on the drive.
- Create the boot partition. (This will most likely become /dev/sda1)
- Mount Point: /boot
- Filesystem: Ext2
- Size: 200MB
- Create the root partition. (This will become /dev/sda2)
- Mount Point: /
- Filesystem: Ext3
*It doesn’t matter which filesystem you choose. It will be Ext3 no matter what. This is due to the way the Live CD installs itself. It does a dd of the live image to the hard drive. - Size: Remaining free space
- Continue with the installation. Once the image is transferred you will need to reboot.
- Once the system boots the installer will ask you a few more questions.
Disable SELinux
- After the installation is completed you need to disable SELinux. Edit /etc/sysconfig/selinux to look like the following.
SELINUX=disabled
Converting the Ext3 Filesystem to Ext4
- Reboot the machine and load the Live CD once again.
- Open a terminal. (Applications -> System Tools -> Terminal)
- Mount the local disk.
su -
mkdir /mnt/disk
mount /dev/sda2 /mnt/disk
mount /dev/sda1 /mnt/disk/boot
mount -o bind /sys /mnt/disk/sys
mount -o bind /proc /mnt/disk/proc - Change the root filesystem.
chroot /mnt/disk /bin/bash
- Edit the /etc/fstab file. Change the root filesystem from ext3 to ext4. Example below.
/dev/sda2 / ext4 defaults 0 0
- Run a filesystem check.
fsck -pf /dev/sda2
- Convert to ext4.
tune2fs -O extents,uninit_bg,dir_index /dev/sda2
- Run another filesystem check.
fsck -pf /dev/sda2
Creating the New Initial Ramdisk Image
- Change the current working directory.
cd /boot
- Move the old image.
mv initrd-2.6.27.5-117.fc10.i686.img initrd-2.6.27.5-117.fc10.i686.img.ext3
- Create the new initial ramdisk.
mkinitrd initrd-`uname -r`.img `uname -r`
- Exit the chroot environment.
exit
- Unmount filesystems.
cd
umount /mnt/disk/boot/
umount /mnt/disk/sys/
umount /mnt/disk/proc/
umount /mnt/disk/ - Reboot the system.
reboot
SSD Optimization
Perform the following if you’re using an SSD. If you’re using a hard drive you can skip this section.Create Ramdisks to Store Frequently Written Areas
- Edit your /etc/fstab file. Add the following lines.
tmpfs /var/log tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
tmpfs /var/tmp tmpfs defaults 0 0
Disable Access Time Attributes
- Edit your /etc/fstab. Modify the root partitions settings. Add noatime and nodiratime to defaults.
/dev/sda2 / ext4 defaults,noatime,nodiratime 0 0
Optimizing the Kernel
- Add the following to your /etc/rc.local file.
# Economize the SSD
sysctl -w vm.swappiness=1 # Strongly discourage swapping
sysctl -w vm.vfs_cache_pressure=50 # Don't shrink the inode cache aggressively
# As in the rc.last.ctrl of Linpus
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate_max > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
echo 20 > /proc/sys/vm/dirty_ratio
echo 10 > /proc/sys/vm/dirty_background_ratio
echo 1 > /sys/devices/system/cpu/sched_smt_power_savings
echo 10 > /sys/module/snd_hda_intel/parameters/power_save
echo 5 > /proc/sys/vm/laptop_mode
#Decrease power usage of USB while idle
[ -w /sys/bus/usb/devices/1-5/power/level ] && echo auto > /sys/bus/usb/devices/1-5/power/level
[ -w /sys/bus/usb/devices/5-5/power/level ] && echo auto > /sys/bus/usb/devices/5-5/power/level
/sbin/setpci -d 197b:2381 AE=47
/sbin/modprobe pciehp
/sbin/modprobe sdhci
Change the I/O Scheduler
- Edit the /etc/grub.conf file. Add “elevator=noop” to the kernel line.
kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=/dev/sda2 rhgb quiet elevator=noop
General Optimizations and Improvements
These are some tips and tricks that should help improve the Fedora experience for everyone.
Fix SD Card Reader Issues
- Create a file in /etc/modprobe.d to blacklist a module.
echo "blacklist jmb38x_ms" > /etc/modprobe.d/blacklist-msreader
Disable Unnecessary Services
- Run the following to disable numerous services that are irrelevant to most netbook situations.
I have disabled the CPU throttle service. I prefer to have the full performance. I’m not sure how much more power is used.for s in atd auditd avahi-daemon bluetooth cups cpuspeed gpm ip6tables kerneloops mdmonitor netfs nfslock portreserve rpcbind rpcgssd rpcidmapd sendmail setroubleshoot livesys livesys-late microcode_ctl; do echo "chkconfig $s off"; chkconfig $s off; done
Use the Madwifi Kernel Module
This is optional. By using this module instead you can get the wifi led lights to blink while there is network activity.
- Install the RPM Fusion repository.
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
- Install the madwifi kernel module.
yum install madwifi
- Add the following to your /etc/sysctl.conf file.
dev.wifi0.ledpin = 3
dev.wifi0.softled = 1
Using a Better Sound Module
- Create a file in /etc/modprobe.d to load the correct sound module.
echo "options snd-hda-intel model=acer-aspire" > /etc/modprobe.d/sound
New Startup Graphics
- Edit the /etc/grub.conf file. Add vga=0×315 to the kernel line.
kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=/dev/sda2 rhgb quiet elevator=noop vga=0x315
Enable gsynaptics
- Create /etc/hal/fdi/policy/10-synaptics.fdi with the following contents.
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<match key="info.product" contains="Synaptics TouchPad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.SHMConfig" type="string">On</merge>
</match>
<match key="info.product" contains="AlpsPS/2 ALPS">
<merge key="input.x11_driver" type="string">synaptics</merge>
</match>
<match key="info.product" contains="appletouch">
<merge key="input.x11_driver" type="string">synaptics</merge>
</match>
<match key="info.product" contains="bcm5974">
<merge key="input.x11_driver" type="string">synaptics</merge>
</match>
</match>
</device>
</deviceinfo> - Install gsynaptics.
yum install gsynaptics
Silence the CPU Fan
- Download the following two scripts. acerfand (4.4K) acer_ec.pl (8.3K)
- As root move the files to /usr/local/bin
su -
mv acerfand /usr/local/bin/
mv acer_ec.pl /usr/local/bin/ - Change the permissions on the scripts.
chmod 755 /usr/local/bin/acerfand
chmod 755 /usr/local/bin/acer_ec.pl - Add a line to your /etc/rc.local file to start at boot.
echo "/usr/local/bin/acerfand" >> /etc/rc.local
Reboot
After you have performed the optimizations must reboot. Many of the customizations require a reboot before they will work.

justin
but do you know how to have two different backgrounds on dual dislplay running vista with ati raedon hd 3600 series graphics card in extend mode???? huh huh ?? do yah? cuz i sure as hell dont!!!
yvan
It doesn’t work!!!
well on my aspire one. Linus linpus 8gb ssd
I get the message no partition on table
I tried everything said several times but no results.
4gb sandisk usb drive on fat32
Joshua Glemza
@yvan At which point are you getting this message about the partition table?
Joshua Glemza
@justin Here’s the first result from Google. Doesn’t seem too difficult. http://tinyurl.com/2hnwx7
Adam
Everything seems to work ok apart from the sound. When I plug headphones in the main speaker doesn’t mute. I’ve tried sound with acer, acer-aspire, and acer-aspire-one in modprobe.d/sound but no joy. Any ideas?
justin
thanks , i have been fighting with googlephobia, the app works, hella sweet! before you install the madwifi do you need too set all the settings for your wireless network controler in that .conf file or is it possible to run it afterwords. i just got this machine about six months ago and had it running on fedora 8, im such a retard wit it, when i couldn’t get the wireless to work i gave up and bought vista,,, couldn’t have a 50 foot cable runnin through the house all the time. get back at me, your teeth hurt cause your grinding them at night !doslocoshermanos@hotmail.com
Joshua Glemza
@Adam That’s a good question. I don’t think I’ve tried plugging in headphones yet. Let me get back to you on that one.
Joshua Glemza
@justin I did not setup my wifi before installing the madwifi driver. Perhaps things are working better with Fedora 10?
Joshua Glemza
@Adam I’m having the same problem with the headphone jack. As soon as I fix the issue I’ll update the site. Thanks for bringing it to my attention.
kkjensen
Step 18 doesn’t work for me unless I unmount /mnt/disk/boot and /mnt/disk …and when I try rebooting it says it can’t mount as ext3 (even though fstab now says ext4). The partition does seem to be converted though as I re-ran the installer just to see the existing formats on the partitions.
Joshua Glemza
@kkjensen It sounds like you didn’t recreate the initial ramdisk. After you umount and convert the filesystem, try mounting those partitions and chrooting again. Do this by doing steps 14 and 15 again. After you’ve done that, skip to step 20 to create the ramdisk. I hope this helps!
Joshua Glemza
@Adam It looks like kernels newer than 2.6.27.9-159.fc10.i686 do not work with model=acer-aspire. I wonder what’s up with that. If I boot with that kernel my headphone jack works again.
westonlc
Good article, and very helpful.
It has been an easy install up until editing the fstab (step 16) file, or any /etc/ file. Gedit denies permission even to “su”.
Have any ideas?
Joshua Glemza
@westonic I think you need to edit the file in the terminal, otherwise you may be trying to edit the files on the cd. Try using nano or something like vi if you know how to use it. Let me know if you still have issues.
kkjensen
What about EXT4 journaling? Do those ‘kernel optimisations’ or something else disable the journaling?
You have a big SSD drive, so you changed the regular disk HDD with a big SSD? I didn’t think it was possible to swap out the little 8GB ssd for anything else.
Joshua Glemza
@kkjensen I left the journaling enabled. I prefer to lower the risk of filesystem corruption.
I installed the larger SSD on the hard drive version of the Aspire One, not the one that comes with the SSD.
Joe Banks
You need to tell everyone that you sold the beast!
xinita
Hi! I’m having a little problem here, I installed fedora 10 in my AAO and did all the steps til 25. I rebooted but whenever I try to login the screen just flickers and takes me back to the login screen (doesn’t do anything at all, I can’t login
) and I was wondering if you knew why this is happening, I tried googling it but couldn’t find anything to fix my problem I hope you do
Thanks!
Richie
Hi great site, I recently upgraded my AAO to Fedora 10 XCFE great mod, runs as quickly as Linpus really happy… everything working sound is a little dodgy still but I have had it working I just need to see what I deleted!
But now I need a Linux Guru, I have searched and googled and pulled what hair I have left out…
Lets talk about AUFS!!! I tried to extend the SSD with LVM but ‘pvcreate’ doesnt recognise the mmcblk0 ERROR not found or (not recognised by filters) I have checked and Fedora 10 is set to not filter, I tried to two lines of code that are online for AUFS that is an unknown command… with the 8Gig version it would be great to merge it with a 16 Gig SDHC card in the left slot…
There is also a block of code in the bugs forum, the author says that Fedora only recognises media form ‘DISK’ QUESTION: where should this code be inserted?
Any ideas people???
Joshua Glemza
@Richie If you followed my instructions to install Fedora 10 you didn’t install it with LVM. I just did a straight partition install.
As for AUFS, I’ve never messed with it. If you setup LVM from the get go, that should work without a hitch.
Sorry, wish I could’ve helped.
Joshua Glemza
@xinita Usually when you get the problem you’re seeing it’s because your desktop environment isn’t installed correctly. When you’re logging it make sure GNOME or XFCE is selected. If one doesn’t work, the other might.
mahony
Thanks for the clear description. I have looked for many sites, but this is the website that has all the real fine-tuning to make the fedora experience on the acer aspire as it should be.
Thx
magnesium111
I have a problem i can boot the live version but when it gets about 3/4 of the way copying the image to the disk i get and error copying image to disk.
Im using the aspire one AOA-150 model with windows. this makes no sense because every distro i try to install does the same thing and i really just want fedora to work now that im in a position with no os on my only computer and am forced to just live boot for anything i need to do help me please some1 @ magnesium111@gmail.com
patrick
I installed Fedora on my Acer Aspire one. I have sound but even with the volume turned all the way up it is very quiet?? Any Suggestions?
Alan Smyth
How do i create a file in /etc/modprobe.d to sort out my sd card reader. If I insert the card before boot up no problem it shows on the desktop but if I insert it after boot it wont show.