This is how I built a dual-boot AA1 … I made every mistake in the book!
I have a model 150 Acer Aspire One (AA1). Because I’m silly I thought it would be nice to convert it to dual-boot so that I can play with linux. However, what should be a 30 minute job turned out to be a 30 hours ordeal of trial-and-errors before I was back to normal with a working machine – an awesome effort. This is a cryptic summary of what I did.
My base machine is a AOA 150 Bb (1Gb RAM 120Gb HDD) with Windows XP Home, onto which I loaded Open Office version 3 as well as some other stuff like a small Bluetooth dongle for my cellphone modem.
My objective was to build a machine that I can take with me when I travel overseas. I must be able to connect to just about any network and access network shares on other machines and servers at random. I have about 80Gb of data (Office docs and such) that I carry with me and I need access to that data at all times.
My love of linux comes from 7 years ago when I started running my own web server and I host some clients on linux (Red Hat and SME and Centos).I have learnt to live with the idiosyncrasities of linux and I’ve made some stunning friends on the net. I am comfortable with the servers. I am NOT comfortable with the GUI desktops. Oftentimes I don’t know what a command does, I just type it blindly because I know it works.
The intention with my AA1 is to have two bootable partitions, one XP (C:\) and one Linpus (root and /home), followed by a data partition (D:\ and/or /mnt/partwo). I can then do revenue-earning work safely from XP, while having a transition linux environment available to “play” with and getting to know the software.
Some identified concerns with Linpus are OO 2.3 (I need version 3) and Powerpoint presentations that must retain their aspect ratios when on the external projector. Hardware concerns are Bluetooth support to tether my cellphone for 3G access.
Finally, I don’t know if this is the best way of doing things, but this is the road I discovered by accident (lots of trial-and-error) to give me a working (maybe not optimized) solution to my problem. YMMV.
1. I used a copy of Hiren’s boot CD from his website at http://www.hiren.info (version 9.5) (converted to USB booting) for general booting and some of the brain surgery. It fits on a 256Mb stick but my stick is 1Gb which gives me a small amount of extra storage. Make sure it works, that you can boot your AA1 from this stick at any time.
2. Make sure you have a copy of your AA1’s Windows XP backed up – for example in Ghost format on an external drive somewhere, and make enough extra copies (!!) so if you have an accident you can still recover. Remember you are going to WIPE the Windows recovery partition. I made a Ghost copy of the entire disk; the “diagnostic” (recovery) partition; and the live XP partition (labeled “Acer”). I am using two independent 40Gb external USB drives formatted Fat32 for backup.
3. A very useful reference document is “Ten tweaks for a new Acer Aspire One” at http://www.reghardware.co.uk/2008/09/05/ten_aspire_one_tips/ and my thanks to Tony Smith. However some of his tips can give errors (e.g. Liveupdate) so be prepared to restore your system at any time. Another useful source is “The road to Elysium” by Jorge Barrera Grandon at http://jorge.ulver.no/ on his posting re AA1 stuff.
First Steps: – remove XP and create a Linpus machine
4. Obtain a Linpus CD (included in linux 512Mb/120Gb model or downloaded). Boot the AA1 from an external CD/DVD drive (press F12 during post) and perform a full recovery. I was also able to use a USB stick to boot by following the instructions elsewhere for making a USB stick from the DVD, it also works if you don’t have an external DVD.
5. Reboot and set language and other settings, and let the system reboot again to the Linpus desktop. The issues at this stage are that Acer modified the grub loader to load from the MBR instead of the partition, and it also claims the entire hard drive as one partition with no easy ability to shrink or reduce the size. I also enable the advanced desktop so I can easily right-click in linpus.
6. Reboot with Hiren and use Paragon Partition Manager 7 to shrink the linux partition down to 8800Mb and move it to the beginning of the disk, estimated time is 2-3 hours. Then move the swap partition to the next available position and resize it to maybe 1480Mb. (2 minutes). While we are busy we can also now create a new NTFS partition for XP (about 12Gb) and an extended partition for data on the remainder of the disk (about 92Gb). This gives us 4 primary partitions which is the maximum we can create on the HDD. Personally I then create a logical drive in the extended partition but that is your personal choice.
7. Reboot linpus and check that everything still works. It should. This is a very good time to make your first backup of the entire drive. I use Ghost, You can expect errors about the NTFS partitions not initialized which you can ignore for now. You must also make a safe copy of your MBR.
8. Still booting correctly? Good. You can now restore your XP image (the one you created in step 2) into the 12Gb partition. I don’t want to restore the data partition yet, it is going to make the backup too big. Don’t boot XP yet. You also won’t be able to simply “see” it in the linpus file manager, you will have to mount it first as a NTFS partition.
9. Still booting correctly? Lets now move on to fix the grub boot loader. To do this you have to uninstall and re-install grub, and to do that you use yum (the automatic software installer) from a console. Issue the following commands without rebooting in between:
yum remove grub
yum install grub
and without rebooting continue to set up grub to boot from the partition and not the MBR:
grub
find /boot/grub/stage1
root (hd0,0)
setup (hd0,0)
At this stage it is critical that the linpus system should boot automatically from power-up, and if you can’t you should back out to your last known good Ghost.
10. Now is a good time to install a dual-boot manager in the MBR. My choice is “boot-us” from Dr Ulrich Straub at http://www.boot-us.com/contact.htm . I created another small bootable USB drive with a dos or windows image on it, then I ran the “bootusc” program with a config file like this:
BMGRUS.INI
#---------------------------------------------------------------
# INI file (configuration file) for boot manager of Boot-US
# LEON'S ACER ASPIRE ONE NETBOOK CONFIG
# Comment characters are '#' and ';'
#---------------------------------------------------------------
[GLOBAL]
Install_Target = MBR
Startup_Delay = 0
Available_Time = 5
Start_Signal = YES
Select_Last_Boot = YES
#Simple_CFG_Menu = NO
#Encrypt_Passwords = NO
#Bootus_Password = abc
#Bmgrus_Password = xyz
Hide_Method = AUTO_TRUE
[ENTRY_1]
Name = Linux
Description = Boot Acer Aspire Linpus (Linux)
#Password = abc
Drive = 1
Partnr = 1
#Label = WORK
#Ptable = 0
#LBA = 123456789
#Position = 10 GB
#HIDEPART_1_Drive = 2
#HIDEPART_1_Partnr = 1
#HIDEPART_2_Drive = 2
#HIDEPART_2_Partnr = 2
[ENTRY_2]
Name = Windows XP
Description = Boot Acer Windows XP Home
#Password = abc
Drive = 1
Partnr = 3
#Label = WORK
#Ptable = 0
#LBA = 123456789
#Position = 10 GB
#HIDEPART_1_Drive = 2
#HIDEPART_1_Partnr = 1
#HIDEPART_2_Drive = 2
#HIDEPART_2_Partnr = 2
At this stage you have to reboot linpus and check that it is ok, followed by a reboot into Windows using the dual-boot screen from power-on. Let XP do its thing (check disks, install new devices, reboot, etc) until it is ready to talk to you.
This is a critical junction in the road. My heart is always in my throat when I do this because I expect the system to hang. But if she is nice she will reward you with a smooth running dual-boot system.
Finish your installation by pointing the XP “My Documents” to D:\XX_data or wherever you wish so that your work and documents don’t clog up your C:\ drive.
Now, before the fairies come and sabotage you, make a backup. It is possible to do a Ghost partition-to-image of the two bootable partitions onto your new-found D:\ drive, with compression the images are not too big.
You’ve earned it – sit down and have a cold beer!
Leon Uys
Now I’m not sure about the linpus setup, and am certainly not a linux expert (yet), but i’ve run a few dual boots on desktop systems with various distros and all supported installing next to XP/vista and then recognized it in the bootloader (grub for me) entry. So why did you not just:
1: Shrink XP partition, create others
2: Install linux flavor/bootloader
3: Enjoy your tiny 2 OS laptop
So maybe linpus hijacks the entire HD, how about using another distro?
I suspect your aim in this was to get the Acer-fied linux flavor back on their box…in which case maybe you had no choice…but man…i’ve never seen such a run around for a win/lin dual boot. Congrats on getting it to work.
Out of curiosity (I should look before I ask, but I haven’t) where did you get the Linpus CD/image. I just picked up an XP AAO myself and **might** want to play around with the already tweaked linux myself…If so, I’ll let you know how I fare.
Thanks.
BTW, for anyone looking for an AAO deal, I dropped into compUSA last night (11/17/08) and the XP flavor (no linux ones in stock) were going for 349, which is the price quoted for a linux one everywhere else. So I picked it up right there figuring I could always get ahold of linux. Going the other way may not be quite as simple/free.
Also, for those wondering about this: it is a solid little machine. Having XP on it is not the boon I expected it to be. The intial setup did a lot of crunching (15min) on god knows what, but once that was done and I got rid of few unnecessary startup apps, boots were about 40sec (to desktop with user-select welcome screen, probably faster without multi-users) and 7.55 of 160GB of HD space taken up (haven’t uninstalled MS office trial yet). Whoa head room.
I spent 1:30 talking to my g/f 800 miles away on skype wirelessly both with full audio and video, then did about 50 minutes of other miscellaneous network file transfers/video streaming to bring over some programs and test codecs. So a bit over 2 hrs battery (first-charge) with some fairly heavy computing going on. I am IMPRESSED. I’m thinking with a DVD quality-compressed movie on flash media with the screen at low brightness and using headphones I might be able to squeeze nearly 4 hours of video time, but that is speculative at this point.
Also, I might try moving my virtual memory to flash media to stop any HD movement when not reading/writing, not sure about that though as this is my first foray into non-desktops. Maybe Vista with ready-boot/boost (am I crazy?!?) Supposedly it has been successful. Certainly a lot to look into and enjoy tweaking.
And thanks…I will have a cold beer.
An edit: boon supposed to be bane. I hope from the context this is clear, XP is better than i thought it would be on an AAO.
Hello friend,I tried to follow your steps but I stuck on 9th step,that you say:
..and without rebooting continue to set up grub to boot from the partition and not the MBR:
grub
find /boot/grub/stage1
root (hd0,0)
setup (hd0,0)
These commands doesn’t work one mine AAO.I went inside the grub but It is saying that the file wasnt found and they are not these devices I think..
Whats wrong? I still can boot correctly to the linpus after all.
Nice guide.
Something you may want to include in the instructions for removing and re-installing grub is to prefix the yum and grub commands with sudo (such as ‘sudo yum remove grub’ and ‘sudo grub’ for example. I had a heck of a time getting GRUB configured with the commands you have displayed.
I originally had used ‘sudo su’ to remove and install GRUB. Where I ran into problems was when I tried to run ‘grub’. As root,I received a ‘grub command not found’ error, and as the user account, ‘grub’ would run, but none of the commands would work as I didn’t have sufficient permissions.
If you have a USB floppy or CD drive, a nice bootloader program that can boot Windows and Linux (and several other OS) is GAG Boot Manager — http://gag.sourceforge.net/. It’s very easy to install and configure. =)
Flynn
cool i doing oposite i have linpus on i want to install xp 120gb 512 mb i will use another guide cos well u doing oposite thing
i’d like to do the same thing… looking for a good solution
by the way… is your aspire still alive?
Sweet blog. I never know what I am going to come across next. I think you should do more posting as you have some pretty intelligent stuff to say.
I’ll be watching you .
Good guide, thanks!
Had problems with Paragon Partition Manager, so instead made a ghost image at that stage then created new partitions using fdisk, then restored. If i’d done this straight away I think it would have been much quicker than the 3hr wait suggested with Paragon. Had to run boot-us from the xp recovery on the himen disk, could not get it to work from dos.
Thanks again
Hey, this guide was perfect. spent this whole day trying to find a helpful site. Until this came up. THNX A LOT. Works great. I didnt install the dual boot manager though, i used the chameleon bootloader(which comes with graphical selections) that came with the mac osx. TRIPLE BOOTING NOW!! All i wanted to do was to install linpus lite with it. THNX SO MUCH:)
Acer Aspire One AOD250-1165
This model is fairly new. So it has the usual features, i.e. built in wi-fi, camera, 160 GB drive, etc, etc. This is the 3 hr battery model. I have no idea where Amazon gets their tech specs. We just bought this and the manual states that it comes with 1 GB of RAM, and is upgradeable to 2 GB. It recognized 4 wireless connections in my area the instant it was powered on. So far it’s great for what it was bought for, the internet, small low demand games, music, simple word processing…