Thursday, October 18, 2007

Ubuntu 7.10 released !!

Finally, the new Ubuntu distribution is on the wild. I'm eagering to arrive home and upgrade my acer to this new release, codenamed Gutsy Gibbon.

I hope it can solve the battery detection problems that I had with the last kernel version. I'll keep you posted on how I'm going with this exciting release !!

Friday, September 7, 2007

Windows XP drivers

Here is a list of places where you can download the drivers for the Acer 5051.

Acer official EU FTP. Here you can find drivers for XP and Vista.
ftp://ftp.work.acer-euro.com/notebook/aspire_5050

ATI drivers for the Radeon Xpress 1100
http://ati.amd.com/support/drivers/xp/integrated-xp.html

AMD Turion 64 Mobile Technology Utilities & Updates
http://www.amd.com/us-en/Processors/TechnicalResources/0,,30_182_871_13349,00.html

From the official Acer site, I've installed the following drivers:
  • Atheros WLAN XB63 Driver 5.1.1.9
  • Audio Driver Realtek Ver.5.10.0.5273
  • Camera Driver Suyin Ver.5.7.8.3
  • Card Reader Driver 5.1.2600.2011
  • Modem Driver Foxconn Ver.7.48.0.0
All of the other needed drivers I installed are from their official sites. But I did not install the touchpad driver nor the LAN driver.

Thursday, September 6, 2007

Loading Ubuntu 7.04 live CD

For all of you having problems loading the Ubuntu 7.04 live CD, I've found out that there are quite a lot of problems due to the DMA setting on the DVD drive. This can be solved by adding the proper parameter in the kernel boot line.
  1. Load the CD and wait for the menu to display
  2. Press F6 in order to edit the boot command line
  3. Add ide=nodma just before the two dashes at the end of the line
  4. Press Enter to start
Maybe this is just a problem of my drive unit, but I think it's worth to write it here.

Tuesday, September 4, 2007

Install XP Pro SP2 from USB stick

It works !!

Here is the best method that I found in order to install XP into the laptop from a USB stick. I'm doing this because I cannot install from the CD as it hangs when detecting hardware. This is a huge improvement of the previous method I described.

Requirements:
This is the configuration in my setup:
  • The CD drive is mapped on D:
  • My 1GB USB stick maps to E:
  • I'm using a Spanish XP SP2 slipstreamed setup CD
The steps to perform are the following:

1. Launch PeToUSB and select your USB stick, mark only Enable Disk Format and Enable LBA (FAT16X) and proceed. Put a volume name if you want. This will create your USB WinXP bootable.

2. Insert the CD on the XP computer and close the setup window if it appears.

3. Run the setup program (start -> run) with the following command (in a single line)

D:\i386\winnt32.exe /dudisable /makelocalsource /noreboot /syspart:E /tempdrive:E

Select "New installation", accept the EULA and type the CD key, and do not update the partition to NTFS, if asked. This will create some files in the USB and two directories.

4. Put the USB in the laptop, and boot from it, by either indicating the USB Hard Disk in the BIOS boot order, or by pressing F12 on startup.

This will start the installation of WindowsXP in the laptop. Also, you can use the USB stick as a recovery console. But beware that after the installation, the files on the USB will be deleted.

Make sure that you've already got a NTFS partition ready for the setup. I didn't have one, so I had to create it with Linux using fdisk and setting the partition as type 7 and the bootable flag, and then later quick-format it in the XP setup page.

There can be problems when rebooting, as the boot.ini file might be pointing to an erroneous disk or partition for the Windows installation. In this case you have to modify (by using the recovery console, for example) the boot.ini to point to the proper location. In my case I had two XP entries in the bootloader screen, and the second one worked for me. Then later used msconfig to remove the invalid entry.

Please leave a comment sharing your experiences !!

Monday, September 3, 2007

Ubuntu kernel update to 2.6.20-16.31

I've just updated today the laptop to Ubuntu's 2.6.20-16.31 kernel. At a first glance, it seems that there is no issue ... the wireless card is still working, which was one of my biggest concerns.

I'll keep posting if I find any issue during the following days. Share your experiences, though.

Friday, August 31, 2007

Repair GRUB booting with a USB stick and XP

When we're installing our machines for dual booting, sometimes we have to restore the previous MBR that the Windows installation has overwriten, as we have lost the GRUB booting. This method is working fine, and allows to restore the GRUB MBR flawlessly, creating the USB stick configuration from XP. We need:
Simply, install the HP USB Key Utility, insert the USB stick, execute the program with the option "Transfer floppy image to USB key", select the Super Grub Disk floppy image, and check that the selected USB drive is the right one. This will create a booting USB that will allow us to execute the Super Grub Disk.

To restore the MBR with GRUB, boot the computer with the USB in, and follow the steps:
  1. GNU/Linux
  2. Fix boot of GNU/Linux (GRUB)
  3. Choose the partition where GRUB is installed (usually /boot)
  4. SGD has suceeded
  5. Exit the menu tree and reboot, taking out the USB stick
This will make us boot GRUB again.

Install XP Pro SP2 from USB stick for dual boot

As soon as I got my refund for the Windows Vista that came preinstalled on the laptop, I formatted the whole disk with Ubuntu 7.04's fdisk, as I wanted to perform a clean installation modifying the disk partitioning. Some time later, I dediced that I wanted to install Windows XP in order to participate in the LAN parties that were held at some friends houses. And here the problems arised. I took a Windows XP Professional SP2 installation CD, booted from it, and when the message "The XP setup program is inspecting your hardware configuration", it locks and does not continue.

I haven't yet been able to identify what is the cause of the lock, maybe it was because I wanted to install in the fourth SATA disk partition (/dev/sda4), or maybe it was a Phoenix BIOS issue, as the laptop comes with the Vista enabled BIOS 3309. Maybe there is any incompatibility with EFI. Don't know yet. Here I'm describing the method that worked for me, after a long time of trials and errors. It does not work as expected, but it works. It's based on the following article:

http://www.msfn.org/board/index.php?showtopic=61384&view=findpost&p=583477

Requisites:
Let's assume that Windows is installed on the PC on drive C:, the CD-ROM unit is drive D:, and the USB stick maps in the E: In my case, the Windows version used is XP Professional with integrated SP2 in Spanish.

Step by step:
  • Create a copy of your C:\boot.ini to C:\boot.bak
  • Perform a noreboot installation ...
Execute from the command line
D:\I386\winnt32.exe /noreboot
Select "New Installation (avanced)"
Accept the EULA and type the CD key
Check in the Setup options -> Advanced options that the directory is \WINDOWS and check the option "Copy setup files"
Answer NO if you get asked on upgrade the hard disk to NTFS.
Once finished, the setup program will finish withouth rebooting. Do not extract the CD yet.

Now there would be two newly created directories called C:\$WIN_NT$.~BT and C:\$WIN_NT$.~LS. If they are not visible, check that the folder options to show hidden and system files are enabled.
  • Delete C:\boot.ini and rename C:\boot.bak to C:\boot.ini
  • Create the bootable USB with PEtoUSB ...
Insert the USB stick, execute PEtoUSB, select the USB stick, mark "Enable disk format" and point "source path" to the CD installation source, in my case D:\, and check "Enable File Copy" and "Overwrite always". The bootable USB will be created.
  • When the program is done, erase everything except:
NTLDR
NTDETECT.COM
WIN51
WIN51IP
WIN51IP.SP2

The WIN51* files will depend on the Windows version that you're installing.
  • Copy the directories C:\$WIN_NT$.~BT and C:\$WIN_NT$.~LS into the USB stick root.
  • Create a directory called E:\minint in the stick
  • Copy C:\$WIN_NT$.~BT\txtsetup.sif into the E:\minint directory of the stick
  • Erase the following files from the USB E:\$WIN_NT$.~BT directory
BOOTSECT.DAT
migrate.inf
winnt.sif
  • Renane the directories C:\$WIN_NT$.~BT to C:\$WIN_NT$.~BT.OLD and C:\$WIN_NT$.~LS to C:\$WIN_NT$.~LS.OLD in order to keep them if anything goes wrong.
Now, boot with the USB ... accept everything and some time later it will ask for the installation CD. Put it in the CD drive and press ENTER. Install Windows in the usual way. At this point, in the partitioning, I had an error saying that Windows could not create the partition to install. What I did was to reboot with Ubuntu and create the WinLBA32 partition from fdisk. I restarted the setup procedure and formated the partition with NTFS quick format.

If the system is displaying errors on restart, check the C:\boot.ini file in the laptop by using the recovery console that is in the USB stick. Check that the entries are pointing to the right disk drive. In my case, it's as follows.
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect

Now, it's only needed to restore the MBR so that GRUB can launch instead of the XP boot manager. This can be easily done with Super Grub Disk, please check the post "Repair GRUB booting with a USB stick and XP".

If everything went fine, you can also delete the installation folders on the PC, C:\$WIN_NT$.~BT.OLD and C:\$WIN_NT$.~LS.OLD, as they are no longer needed.

It's not a bad idea to restart the laptop in Linux and create an image of the XP partition with some tool like Partimage (http://www.partimage.org), in order to restore it in an easier way.

Wednesday, August 29, 2007

Specifications

The laptop has the following manufacturer specs:
  • AMD Turion 64 Mobile MK36 (2.0 GHz, 512KB L2 cache)
  • 1 GB DDR2
  • 14.1 WXGA Acer CrystalBrite LCD
  • ATI Radeon Xpress 1100, up to 256MB from system memory
  • 120 GB HDD
  • DVD Multi (support DVD+R DL, DVD+RW, DVD-RW)
  • 10/100 ethernet
  • 802.11b/g wireless LAN
  • Acer Orbicam integrated webcam
The Acer 5050 series details can be found here:

http://global.acer.com/products/notebook/as5050.htm

The laptop came with Windows Vista Home Basic preinstalled, although there is an option to get it with Windows Media Center Edition 2005. All two options are 32bit.

We will later cover in-depth the hardware specifications one by one.

Initial note

This is the blog that I will use to track all progress I do about setting up my new laptop, an Acer Aspire 5051 AWXMi. I'm intended to setup a dual boot configuration with a linux flavour and Windows XP.

I've chosen that laptop because I wanted to buy the cheapest and smallest one, and push it to its full potential. And it seems to be a nice one, but I think that it will take some time to get the most of it.

Suggestions and experiences are really welcome.