Tag Archives: EeePC

Install Ubuntu 12.04 (beta 1) on Eee 701

Update: Install 12.04 on Eee 701

I have been running Xubuntu a while on my Eee 701. However the 4 GB SSD drive is not enough for making system updates anymore. I could probably get rid of some applications to fix it, but I decided to try Ubuntu 12.04 instead. To improve the storage situation I got an 8GB SD Card. I have 1GB of RAM in this Eee 701, and perhaps the original 512Mb is not enough for Ubuntu.

Note, with the small 800×480 display, Alt-F7 helps you move windows around.

The disk limit
The Ubuntu installer complains that it does not have 8.6GB available. It seams it knows that it needs 4.3GB, but it wants extra space… and, I dont think it reconizes the SD Card as a legal place to install. Anyway, there is a file where you can make a change:

/usr/lib/ubiquity/plugins/ubi-prepare.py
min_disk_size = size * 2

Replace the 2 with for example 0.5, and you can attempt any configuration you want.

Partitioning and disk usage
When installing, I had the following drives:

/dev/sda     -- 4GB (internal SSD)
/dev/sdb     -- USB memory that I install from
/dev/sdc     -- 8GB (SD Card)

I decided to try the following partitioning:

/dev/sda1    -- 128 MB /boot  (24 MB used)
     sda5    -- 3.8 GB /home  (empty)
/dev/sdc1    -- 8 GB   /      (3.8 GB used, usr=3.2GB, var=423Mb, lib=176Mb)

The safer alternative would be to put / on sda, and /usr on sdc (but that would leave me with 600Mb less space for home).

Boot issues
Two possible problems with my setup:

  1. Is the memory card available when / needs to be mounted, at boot?
  2. Will Ubuntu figure out that what was sdc during install is now sdb?

Second problem should be easy to fix.

So, after installing, I rebooted WITH install USB memory stick (sbd) still inserted. And the system boots perfectly. I attempt a boot without the memory stick inserted. As I feared, root filesystem is not found, but I get a prompt (not a Panic like in the old days):

BusyBox v1.18.5...
Enter 'help'...

(initramfs)

I boot back into Ubuntu (so I put the USB stick back – and now sbc is root again) to fix Grub. Now, this is how grub works… you edit /etc/default/grub and/or files in /etc/grub.d/. Then you run grub-update. However, this procedure automatically figures out your root device, and that is what you want to change… so I did the forbidden:

sudo vi /boot/grub/grub.cfg

and replaced root=/dev/sdc1 with root=/dev/sdb1. Finally, I ran

sudo /usr/sbin/grub-setup /dev/sda

And shutdown, remove memory stick, and boot… and it works! To make sure everything is in order, I now automatically generate /boot/grub/grub.cfg

sudo update-grub
sudo /usr/sbin/grub-setup /dev/sda

And confirm with another reboot.

I believe that now everything weird I have done is history, and I have a clean system. Booting is actually reasonably fast from SD Card. Probably using the internal SSD for / would give better performance.

Updated disk usage
After updating the Beta to latest everything, this is how disk usage looks like:

8.6M	bin
48M	boot
15M	etc
288M	lib
106M	opt
8.8M	sbin
3.3G	usr
894M	var

Could be interesting for those of you who wants to install on limited disk. Probably /var can be reduced (and will grow when updating the system). Chrome is installed in /opt.

Raise CPU from 630Mhz to 900MHz
The Eee 701 is equipped with a 900MHz CPU clocked at 630MHz. It is perfectly fine to run at 900MHz, especially when plugged in to AC. This is what I did:

sudo apt-get install cpufreqd cpufrequtils
sudo modprobe p4_clockmod

# now check with
cat /proc/cpuinfo

sudo vim /etc/modules
# add p4_clockmod

If you are not connected to AC, the cpu will run slower. See /etc/cpufreqd.conf.

Moving / to SSD?
Now that I know how much disk space is required it is tempting to move / to the SSD (sda). I did some read/write performance tests…

              SSD (sda)      SD (sdb)
Write 1GB      44s            327s
Read  1GB      35s             64s

Ubuntu 11.04 Beta 1 on Eee 701

I have two Asus EEE PCs, probably the two worst ones they made. I have an EEE1101, which comes with the horrible GMA500.

And I have an EEE701. It was a nice idea, at a nice price, but the actual machine sucks. Keyboard on the brink of unusable and poor battery life. The Celeron 900HMz at 630MHz does not help much. But the worst thing is not the 7-inch 800×480 display – it is the lack of OS/Window Manager that makes good use of it.

Yesterday I came across this review of Ubuntu 11.04 Beta 1 on TheRegister. Can it really be that bad? Can it be something for my EEE701.

Well, I am writing this post on my EEE701 Ubuntu 11.04 right now – that is a good start. Installation went smooth (after I failed to boot the EEE from a 4GB SDHC card).

Most things work out of the box: Wireless network, Video, Webcam, Audio (via headset, not loudspeakers – perhaps my Eee is old and broken), volume buttons and display light buttons. Booting time is about a minute.

I removed a few Items from the Launcher/Dock because with 480 pixels you need to prioritize. I use firefox mostly in full screen mode (F11), and occationally I have to use Alt-F7 to move windows around.

The computer feels a bit slow, but useful. CPU at 630MHz (not overclocked – should maybe look into that). I have 1GB RAM and no swap partition.

Flash videos on YouTube are enjoyable, but not perfect.

Do I hesitate about updating my other computers from Ubuntu 10.10 to 11.04? Absolutely (well, Gnome is still there).

Do I think that Ubuntu 11.04 is the best OS for my EEE701? Yes – I think so.

Would EEE701 + Ubuntu 11.04 impress on anyone? No – I dont think so.

The review in The Register focuses on that Unity is nice, but it does much less than Gnome. Well, for my netbook that is not so bad. And I am used to falling back to the command line a lot anyway.