23.11.08

Installing Ubuntu 8.10 with Xfce4 on a Asus eee 700 2G Surf

Here I will cover the steps I used to get a cheapo Asus 2G Surf off of Xandros and on Ubuntu 8.10 with minimal system "sluggishness"

Download the Ubuntu 8.10 Intrepid Alternate installation CD from your closest/fastest mirror(IMPORTANT!)

Burn/Copy the ISO to a usable medium for the eee.
I used unetbootin to write the ISO to a 1GB Sandisk thumb drive from Linux, it should be the same using Windows.

Boot the eee using the usb flash drive by pressing esc during the POST process and choosing the medium you setup in the previous step.

When the Ubuntu(unetbootin) menu is displayed select "Text mode install" - This installs only the bare minimum of needed files leaving out the "fluff"

Partitioning:
I am going to say right now that some are not going to agree with my choices of file systems and/or partitions, but this is what worked the best for me and I am not to worried about that old 1GB SD card I barely ever use dying.

My layout is as follows:
Internal Solid State Disk -
/ ROOT is the entire 2GB of the SSD using EXT2
(This is a good idea in order to keep the non-replaceable SSD in good shape, you can read more about journaling file systems and the effect on solid state storage by doing a quick search of the web)

Additional SD card - This where we thrash away at a cheap 1GB SD card
/SWAP is 512 of the SD card (some say this is optional, I disagree)
/TMP is 256 of the SD card on the EXT3 file system (Journaling FS)
/HOME is the remainder of the SD card on EXT3 also
(I am religious in my backups so I am not worried about the SD card going kaput and losing my home directory. If you are not a backup person you may want to become one just in case or not keep anything super important on the eee.)

**I was plugged in to the Internet to get the latest updates and to make the most of my time**

Answer all the questions(...)
Follow all the prompts(...)
After the setup completes in about 45 minutes to an hour we can move on.

We are now going to install a kernel specifically designed for the Asus eee series of netbooks.
To install the new kernel follow the instructions at array.org
They are simple and concise.

Before I rebooted I removed the splash and quiet option from the grub boot options ($sudo vim /boot/grub/menu.lst) so I could see if any errors flew by, then rebooted ($sudo reboot).

Now you have a lean mean Ubuntu 8.10 install with a kernel designed for a eee pc, but we are not done yet.

$sudo aptitude install xfce4 gnome-power-manager
This will take a few minutes, I use the gnome power manager only because there is not a native Xfce program yet.
Keep your eyes here though it looks to be soon.

Now that Xfce is installed lets start it
$startx
**Note you will have to setup xfce to your liking and add the menu/applets of your choosing as it is barren**
A good place to start is here: http://www.xfce.org/about/tour

A quick setup for this tutorial:
Right click the panel(little grey area) and select "Customize Panel" under position select fixed position and in the drop down box select "Full Width" then "Close".
Right click an empty area of the panel and select "Add New Item" scroll down to the bottom and select "Xfce Menu" set it up to your liking and then do the same for "System Tray" and "Task List"(after you add this you will see the gpm and you can edit your settings from there)

If you have any real issues you cannot overcome leave a message here or fire off a quick search on the internet

Now lets install a web browser. Go to the XFCE menu -> Accessories -> Terminal
$sudo aptitude install midori
I like this browser due to the small footprint. Granted it is not as mature as Firefox, but it is webkit based and under heavy development(codeword for a little buggy). You may choose to install firefox instead for surefire compatibility but beware you _will_ notice the difference.

Remember we have not installed the default Xubuntu install so we have no login screen right now. If you feel you don't need one or you just want to show off in front of your friends leave it at the bash login and use startx. If not, you can choose to install GDM(since we met most of the dependencies with the power manager install) or use the old school login manager xdm(personal favorite)
#aptitude install xdm(optional)

Now we have a base system, power management and a login manager. All that is left is network management.

You can go for broke and install network manager, but I try to leave out as much gnome as possible. As such I install WICD
$sudo aptitude install wicd(optional)

Now just add your networks double check your power settings and go for gold!
I have found this setup to be fast and reliable, with some exception for minor Midori issues.

Have fun and feel free to leave any questions or comments you may have.

9 comments:

Anonymous said...

I've installed 8.10 on my eee 901, it runs pretty well, but do you think it would be more responsive with XFCE?

Thanks,

-Presi

Dan_M said...

In short yes. Xfce is a great light window manager. Keep in mind the less Gnome packages you install the better. This is where any computer with limited processing power gets bogged down. This post should be a good starting point if you are feeling up for it.

-Dan

Unknown said...

Installed. It is a bit faster than Gnome.
I have a problem I can't solve though: I can't add a volume control on my main panel. I've also tried to set keyboard shortcut to regulate the volume, but the commands are ignored.

The audio works, not sure what is controlling it.

Any idea?

Dan_M said...

I am currently on Holiday and did not bring my eee. I will look into it when I get back, should be around Sat/Sun.

Dan

Dan_M said...

I have taken a look and you are correct. I have not yet had a chance to mess with it much more as "real" work is getting in the way. I also mute the sound most of the time so I didn't notice. If you do find anything out please post it and I will add it to the posting.
Thanks!

Dan

Anonymous said...

hey mate i followed most of your instructions(added compiz, no swap) on my 701 eee, how do i install the splash screen?

Dan_M said...

If you are referring to the Ubuntu splash screen just leave that option enabled in the /boot/grub/menu.lst (ie. leave it as it is or add back 'quiet splash')
If that is not it, what splash are you talking about? :)

Dan

Anonymous said...

I installed "comand line only then installed the packages and kernel in this tutorial, it runs well(I'm writing this off my eee:) but there is no splash screen at boot, also just after the "Loading please wait.." it says "USB device not accepting address 76, unable to enumerate USB device 1" any ideas?

Dan_M said...

Samo - I am sorry I am not following you. :\
Are you speaking of the Ubuntu splash screen at boot or the Login screen? For the latter if you installed xdm or gdm you should have a login screen. As for the Ubuntu splash if you left it, it should still be displayed. Please feel free to shoot me a email or IM (ICQ: 19188782 or likuidkewl A/@/T gmail on gtalk) Sorry I cannot be of more assistance.

Dan