Jun 26, 2009

Dell mini 10 Z520 GMA 500 Ubuntu 9.04 dual boot Installation.

Using my Ubuntu machine.

Following this guide:

Run the Windows defragmentation tool on C: (My Computer, Right click on drive, Properties, Tools, Defragment Now)

Download ubuntu 9.04:

Format usb key:

Restoring your USB key to it's original state using Linux:

A. First we need to delete the old partitions that remain on the USB key.

1. Open a terminal and type sudo su
2. Type sudo fdisk -l and note your USB drive letter.
3. Type sudo fdisk /dev/sdb
4. Type d to proceed to delete a partition
5. Type 1 to select the 1st partition and press enter
6. Type d to proceed to delete another partition (fdisk should automatically select the second partition)

B. Next we need to create the new partition.

1. Type n to make a new partition
2. Type p to make this partition primary and press enter
3. Type 1 to make this the first partition and then press enter
4. Press enter to accept the default first cylinder
5. Press enter again to accept the default last cylinder
6. Type w to write the new partition information to the USB key
7. Type sudo umount /dev/sdb

C. The last step is to create the fat filesystem.

1. Type sudo mkfs.vfat -F 32 /dev/sdb1

Create USB startup disk: system > administration > USB Startup disk creator

Restart the computer. Press F2 to enter the bios.
Go to boot section: select Usb Storage, press F6 to move up, save & exit

If successfully booted from CD, the Ubuntu logo will be displayed on the screen. Press Enter to continue.
Follow the prompts until you are asked this question: "How do you want to partition the disk ?".
Choose manual partitioning. Resize the ntfs partition as untouched of 10240 MB.
Esc partitioning, restart the computer with windows, windows xp need auto set up: This allows the Windows system to automatically rescan the newly-resized partition (using chkdsk) and write changes to its own bootup files.

Turn off windows. Insert back the USB stick and start ubuntu, select "try ubuntu without any change"
If autologin doesn't work, do "startx" at prompt
At this point start gParted: System > Administration > Partition editor
I created a primary linux swap partition 1048 MB
And one extended unallocated partition with the rest (I can not do more than 4 primary partitions)
so a new ext4 partition, leaving 10 GB at the end
and a fat 32 partition with the rest, for windows and exchange space linux/windows

click on the media usb and start the installation
select manual partitioning, select swap, root, and /windows as montpoint
leave install for a while, reboot, connect to the internet.
do the system > software upgrade, check anyway, will say it's updated, but it isn't.

At this point, there is some problems with GMA500, you can go at a resolution 800x600, for a better resolution:
create the file /etc/apt/sources.list.d/ubuntu-mobile.list with the following content:

deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main


apt-get update
apt-get install xserver-xorg-video-psb

Is maybe useful run in case of errors:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6598A30

Now you want probably change the timout for GRUB for boot faster:
sudo vi /boot/grub/menu.lst
Change timeout from 10 to 2

For firefox, should ask itself for plugin on web pages like flash etc. You would unselect view > toolbars > navigation toolbar
and view > status bar
you should also install ad block plus plug-in for firefox (see list of plugin on firefox)

Now you need to edit your /etc/X11/xorg.conf and add the below line to your Device Section
Driver “psb”

According to http://ubuntuforums.org/showpost.php?p=6512181&postcount=94
for enable 3D you need to:
download msvdx_fw.bin from http://e.imagehost.org/download/0820/msvdx_fw
Xpsb.so from http://e.imagehost.org/download/0532/Xpsb
Drop the firmware file, msvdx_fw.bin, into /lib/firmware/2.6.28-13-generic/ (or the directory corresponding to your running kernel).
sudo mv Xpsb.so /usr/lib/xorg/modules
Restart the system to reload the psb.ko kernel module

* Enable Medibuntu repository (see their site for details)

sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

sudo apt-get install ubuntu-restricted-extras vlc mplayer w32codecs miro hpodder skype recordmydesktop ardour audacity ffmpeg ssh gnome-do wine dosbox dosemu spectemu-x11