September 13, 2008 Making the most of the Acer Aspire One
I just had a hell of a week. Dealing with the acer’s linpus lite is not easy, really. If it didn’t have a nice ui and booted in 15s, I’d already change it to ubuntu.
The following is a list, of stuff you can do to make the most out of your aspire one. If you plan to follow it, be warned that some of it is advanced stuff, if you don’t know shit about computers and linux it’s better to only do stuff you’re confortable with! Also, read it before you use it. And don’t held me responsible if something goes bad, nothings perfect and so isn’t this guide and myself. Use at your own risk!
My final result is 5.1 gigs free on the ssd, 200megs of swap partition and an easy way to do a system recovery, using an image of the disk with everything already worked out.
1. Restore the system
Since the aspire one doesn’t have a cd drive, you’ll need a pen disk (or an external dvd drive, but that’s not very common). Since the image written to the pen is 1.922gigs, you’ll need at least a 2gig pen, but I’m not sure if it’s enough, I used a 4gig one.
If you don’t have the cd with you, you can do two things:
-Download the cd iso, burn it, load it on another computer and follow the steps.
-If that fails (it has happened) or you don’t have a blank cd with you, you can download an image of what the recovery cd would have put in the pen disk, and write directly to the pen. (SEE NOTE BELLOW)
– Use VMware to do it as explained here
CD iso here (note: humyo requires registration. also available in torrents from what I’ve heard)
USB image here
If you go with the USB image, you can follow the instructions available for windows on daily cup of tech
It’s very easy. On a linux system I found it to be more difficult, mainly because of the lack of applications with a GUI. At the moment I don’t know where a guide for linux is available. If you find one out, please share
Note: Some people have raised questions about the legitimacy of the usb image available at daily cup of tech. I didn’t really think about that. It is *possible* that the image has malicious software in it. But then again, one could raise the same doubts regarding the iso. Whatever you choose, use at your own risk.
Note2: The author of the usb image has commented this post. I actually believe him.
2. Make it lose some weight
Now that you’ve got a fresh install, you’ll notice that you only have 3.6GB of free disk space, meaning that over 4gigs of bullshit are installed. That’s way too much.
2.1 Uninstall useless crap
The best guide is available on macles.
Side note: On the portuguese aspire one, you delete the same locales as instructed on the blog.
2.2 Reduce the swap partition
The default swap partition on pretty much any linux distro, linpus included, is 1GB. It’s absolutely stupid, but
in this specific case is double stupid because:
-If you go beyond 50 megs of swap used, your system has the same performance of a 483 from 1991
-You only have 8 gigs of disk space
Since you can’t choose the size of the partition during the recovery procedure, you’ll have to do it now. The program you need to resize partitions is GParted, but the tricky part is that you can only mess with partitions this way if they aren’t mounted, meaning they can’t be in use.
If you plan on doing an image of the disk as described in point 3, you can use GParted in the SystemRescueCD distro. If not, you’ll need to run the GParted live from usb, a minimal linux distro made specifically for this kind of operation.It’s dead easy to do in windows, not so dead easy in linux.
Full instructions here
ISO download here
Just a detail, on the live usb helper windows program the only thing you have to do is run the 3 available options in order, so:
-Format the pen
-Choose the iso
-Make the pen bootable
Once you run the distro in the Aspire One, you run the gparted program and the rest is quite easy. Unfortunatly I don’t have any screenshots on gparted on the aspire one, but the main thing is
-Resize the swap partition to I’d say minimum 50megs and max 200megs.Make sure that the free space is to the left (towards the other partition, the primary one) by putting free space preceding to the maximum value
-Resize the primary partition to maximum size.
Hit apply and you’re done.
3. Make an image for safe keeping
Now imagine than in two weeks time, you screw something up and need to restore the Aspire One again. You’re back to square one and need to follow the guides all over again. To avoid this, you could make an image of the disk as it is right now, no useless software, no useless swap. When the time comes, you’ll only need to load the image.
To make an image of the disk, you can use partimage. It runs in the terminal but in graphic mode, so it’s not too bad. The problem is the same as with gparted, you can’t make an image of a disk if it’s being used. You can use the SystemRescueCD, a live distro with a number of tools for disc recovery, among them are gparted and partimage.
To make SystemRescueCD run from usb, again it’s easier on windows.
A note on the windows instructions, instead of downloading syslinux to make the pen bootable, you could download Live USB helper (here ) and just select make pen bootable. Easier than using the command line 😉
Once running the SysResCD, you select partimage from the menu. But here’s the tricky part, you’ll need to save the image to somewhere else than the disk. The image file will turn out less then 1GIG, to you can use a pen, an external usb disk, anything. To do this, you’ll have to manually mount the device. Hit this in the command line
mkdir /mnt/whatever
mount -t vfat /dev/sda /mnt/whatever
NOTE: To see if the device is in /dev/sda or somewhere else, run GParted. It has a list of all the devices and you can easily identify it by the amount of space it has available.
NOTE2: The vfat argument is for device using the FAT system. Again, use gparted to see what kind of filesystem your disk has. If it’s in NTFS, the command will be different. Google it…
Now, in partimage, you can select the destination file as
/mnt/whatever/myaspireimage
By default it will separate the full image in smaller files, choose the first option in that section (can’t remember exactly what it says, but it’s pretty self explanatory).
And that’s all. To load the image file, you use exactly the same procedure, but in partimage you choose restore partion instead of saving partition to an image.
That’s all folks!
- 6 comments
- Posted under AcerAspireOne, software
Permalink # Boycott Novell » Links 14/09/2008: New GNU/Linux Releases, Unigine Demo said
[…] Making the most of the acer aspire one […]
Permalink # max stirner said
the swap ought to be ram disk only, otherwise you end up breaking ssd early
EDIT: well yeah, I guess so but it’s not like you use the swap a lot. But point taken, I had read that the sdd has a limited number of reads/writes at which it brakes
Permalink # links for 2008-09-18 « The Adventures of Geekgirl said
[…] Making the most of the Acer Aspire One « Linux Daily (tags: aspireone acer aao aa1 netbook tips restore linpus) […]
Permalink # Tim Fehlman said
Thanks for the link to my post at Daily Cup of Tech regarding reimaging the Acer Aspire One. There are a few things I would like to address:
1. Yes, I have monitized my blog and I do not apologize for it. If people do not like the ads, they can either ignore them and not click on them or they can install Adblock Plus in Firefox and the site is then very clean. ‘Nuff said.
2. Yes, I posted the links back to my blog from several different locations on the forum. As anyone who spends a lot of time on a forum knows, the average reader rarely takes the time to truly dig through a forum to find the answers they want. This is why you often see duplicate request posts. I merely tried to make it easier for people to get the answers they want by bringing the answer to them, not making them search for it.
3. Is there malicious code on the image that I provide? Well, I did not make the image so you would have to ask the originator of the image. If you think that there could be some malicious code in the image (just like Sony did with its rootkit disks), then do not use this. But, the only true way to know if there is no malicious code in a system is to build it yourself, and that includes the compiler you are building it with. Good luck!
Anyway, as usual, people have decided to take the time and effort that I put into writing the post and documenting the process and see it in the worst possible light. If that is the case, then those readers can gladly not follow my instructions and continue to flounder around on their own.
But, if there are readers out there who recognize that there is a lot of time and effort that goes into creating quality content, especially when it is unique, then by all means, come on over and continue reading.
Tim
EDIT: Hi,
Never thought you’d actually find out this post in the middle of the internet, wow. This blog is mainly for my future reference, I’d never would’ve though. Anyway.
My comments are the following:
-When I pointed out that your blog was comercial, I wasn’t making a moral judgment. And even if I did, I would say that there was no problem about it. My point is this. If one was to imagine a cenario where malware was being distributed, it would make more sense that the source would be from a comercial blog, rather than a non-comercial one. I know nothing about you or your blog I just know the raw facts, and being cautious about stuff like this isn’t a bad thing.
-“I merely tried to make it easier for people to get the answers they want by bringing the answer to them, not making them search for it.” The only posts you have on the forum are publicizing your solution, and hence your blog. Anything wrong with that? No, nothing. Suspicious? Since I don’t know who you are, yes. And c’mon “Anyway, as usual, people have decided to take the time and effort that I put into writing the post and documenting the process and see it in the worst possible light”, this isn’t true at all.
I do understand what you’re saying and I feel sorry for raising suspicions on something you claim to have written in good faith. Please understand my stance. Seriously, I just didn’t want to have someone come back to me and say “godamnit I followed your advise and now I’m fucked”.
What I will do is edit the post and not favor neither iso solution neither your own.
Thank you for commenting
Permalink # rob alexander said
hey. did a gparted on an acer aspire 1. resized the c: drive .. created an extended drive with a fat32 partition.. sda5, linux partition sda6 and a swap sda7.,. but now when it reboots (this was before installation of grub).. i get a blinking cursor, but nothing else. am able to boot the erecovery stuff, but want to keep my original partition intact as it has my hotmail password on it.
any ideas on how to fix this problem would be appreciated.
thanks in advance.
p.s. also installed puppy linux mac pup 6.1 in hoping grub would fire it up. but sadly no.
Permalink # anonymousbloke said
that’s a weird behavior. You can’t boot into any operating system. hm. I don’t know anything about the subject, but from what I understand you probably fucked your Master Boot Record (MBR). Try to find a tutorial to recover grub. In theory you can fire a live cd, say ubuntu, and use the tools from there.