for friends of the acer aspire one
December 19, 2008
Acer Aspire One Backup
AA1BACKUP is a backup solution for the Acer Aspire One based on free and open source software. It makes an exact copy of the drive, bit for bit, and therefore works with any file system, partition table or operating system. And to emphasize its operating system independence it can be installed from either Linux or Windows. It does also support automatic verification of the backup.

In Windows just download the installer from here.
In Linux open a terminal and run the following commands.

wget -O aa1blinux http://sites.google.com/site/aa1backupinstaller/1/aa1blinux
chmod 755 aa1blinux && sudo ./aa1blinux


You can install it to FAT16/32 formatted drives/partitions in both Linux and Windows, or ext2/3 in Linux. The only selectable option is the drive letter or device node.

  

You can now reboot and press F12 to select the USB drive from the boot menu. The next menu will only have two options: BACKUP and RESTORE. Selecting either of them will start the fully automated backup or restoration process. There will be no further prompts or warnings.



A sufficiently large USB drive is obviously required to store the backup on. If your USB stick or external USB hard drive matches or exceeds the size of the internal solid state disk or hard drive you're set.

In most cases a smaller USB drive will also work due to the data being compressed during the backup. Not already compressed data is compressed by a factor of 2:1 on average, while free space is compressed by a factor of 100:1. Note that most of the free space may not be really empty, depending on the amount of data already written to the drive, but just not indexed in the file table. To get the increased compression ratio just overwrite all free space with zeros. There are probably a few freeware tools to do this in Windows, one of them is eraser. In Linux only a single command is required.

dd if=/dev/zero of=zero; rm -f zero

Another benefit of zeroing the free space is an increased backup speed, especially if you only have a slow USB drive. And most of them are very slow if the write speed is not specifically advertised or mentioned anywhere. External hard drives are usually fast enough, but a 120GB or 160GB backup will take a while in any case.

A fresh system installed from the recovery image with some modifications takes up about 2-4GB of disk space, depending on the amount of actual software removed or installed. The backup fits nicely on a 2GB stick and can then be used as an updated recovery image, which avoids going through all the modifications again on every reinstall.

The backup itself is split into 1GB files and stored in the backup folder in the top directory of the USB drive. The files are automatically removed before the next backup, but you can still keep several backups if you move them to another medium or simply rename the backup folder if there's still enough space for another backup.

And despite its name suggesting otherwise AA1BACKUP is not limited to the Acer Aspire One, but will also work with all other currently available netbooks like the Asus EEE, Dell Inspiron Mini 9, Samsung NC10 or Lenovo S9. There is however a limitation: it only makes a backup of the first physical drive.

As a final note a few words on the software used to realize this project. The installer is a custom version of Unetbootin and the distribution is based on Linux Live with many modifications to increase boot speed and reduce file size.
265
<   1 – 200 of 265  >


What a great Christmas gift from macles! Thank you very, very much.

I still do have two questions:
1.) You mentioned the first physical drive would be backuped. In Linux, it has two partitions, one of them 1GB swap space. Is this space also included in the backup? That would seem a bit of a waste to me.
2.) What's with the data on a SD-Card in the AA1's storage expansion port? I guessed it will not be included in the backup, but then I saw some lines mentioning aufs on the screen when the backup started.

I like the look & feel of the backup process. The welcome screen with the two options only is comforting for new users. And when the process is running, you can see if it's doing a backup or a restore. Other solutions miss this point ;-) Still, a progress bar or ETA would be cool to add to the progress percentage.

I can only recommend this to any user. I do system backups before every major software install since I've got the black screen of death on my AA1 just 15 min. after unpacking it (!). Now, with this backup solution, free and easy to set up. even a new user who never got in touch with Linux before has no more excuse not to do regular backups.
Dec 20, 2008 9:29:00 AM



chachoman
Thanks for this christmas presents.

only some little questions... in the backup, the hidden recovery/system partition of the HDD (AA1 versión XP) is included?
In this case, this backup solution will be perfect!!!

Another issue: How we can convert the HDD image in bootable DVDs?
I have only one external HDD and I can use it for the backup, of course, but I need to use it also for many differents things... so I need to save the backup in DVDs

Now,I have no time to do the backup and test your soft, but when I have some free time, this will be my next job... I´m sure it´ll work perfect!

Thanks you again!
Dec 20, 2008 10:06:00 AM



JamesB
FANTASTIC - Thanks Macles, this is absolutely perfect, just backed up my 8Gb SSD -took about 8 minutes onto a 4Gb keydrive, with plenty of space left - I love the percentage countup. This is 100 times neater than 'the other' backup solution - and completely free!!
THANKS.
Dec 20, 2008 12:48:00 PM



Anonymous
I have a problem here. Once I try to boot from the USB Stick I get the error message "Could not load image: linux". What am I missing? During preperation of the USB Stick with AA1Backup there was no error message. Any idea?
Dec 20, 2008 2:47:00 PM



The hidden recovery partition is included in the backup, as is the swap partition. The latter is mostly empty and will be compressed into a few MB in most cases. You can probably completely remove it anyway as described here. The SD card is not included in the backup.

You can just burn the files in the aa1 folder on a DVD and move them back to the external hard drive when you want to restore the image.

And to the last question: Do you get to the menu with the two options or does the error appear before that? Are there any files on the USB stick?

Dec 20, 2008 6:12:00 PM



illuminati2000
Thanks for the info, but i have a little problem in linux install lines:

wget -O aa1blinux http://sites.google.com/site/maclesblogspotcom/aa1b/aa1blinux

The terminal say:
[user@localhost ~]$ wget -O aa1blinux http://sites.google.com/site/maclesblogspotcom/aa1b/aa1blinux
--12:11:45-- http://sites.google.com/site/maclesblogspotcom/aa1b/aa1blinux
=> `aa1blinux'
Resolviendo sites.google.com... 74.125.95.101, 74.125.95.100, 74.125.95.102, ...
Connecting to sites.google.com|74.125.95.101|:80... conectado.
Petición HTTP enviada, esperando respuesta... 503 Service Unavailable
12:11:46 ERROR 503: Service Unavailable.

Can fix this
Thanks again
Dec 20, 2008 6:18:00 PM



Google seems to have a really low bandwidth limit. I've removed the links for now and will put them back when the files are on a new host.

Dec 20, 2008 6:30:00 PM



reglof
To answer you question about "Could not load image: linux". I can see three files on the stick, it is ldlinux.sys (16kb), ubnfilel.txt (0kb) and ubnpathl.txt (0kb). The error message appears before it asks me whether I want to RESOTRE or BACKUP. It will never get there, the error occures before already. I have tried with 3 different sticks - same behavior on every stick.
I noticed the same problem when I prepared the stick for BIOS update. I had to use the HP program to make a bootable stick, the procedure described here didnt work either, I got the same error message about being unable to load the linux image.
Obviously something seems to be generally wrong. How can I fix this since I really would like to do the backup!
Dec 20, 2008 7:23:00 PM



That's not enough files, which is probably explained by the fact that Google currently blocks all downloads from the installer. Once the problem is resolved it will probably work.

Dec 20, 2008 7:35:00 PM



I uploaded a new installer to a different location. If Google blocks access again i'll probably have to move the files to a dedicated host or find another solution.

Dec 21, 2008 1:58:00 AM



Anonymous
Thanks a bunch, I will definitely try this out, as I had less then smooth experiences with other solutions. Just one question: what file system do you recommend for the backup disk? Is ntfs possible?
Dec 21, 2008 2:29:00 AM



what if I have 2 partitions on my SSD, one which is a 200mb or so used for /boot and the other one which i have everything. i use fedora 10 xfce and i am wondering if there will be any problems, since if i am not mistaken, this only dd one partition and not the entire ssd, is this correct?
Dec 21, 2008 8:50:00 AM



Is this a slax based version with a modified unetbootin?

Very much thanks, and indeed a nice christmas gift!
Dec 21, 2008 10:38:00 AM



Anonymous
I had no problem downloading and installing it today.
Dec 21, 2008 1:43:00 PM



Once the bootable backup USB stick is ready, how can I uninstall aa1blinux and all other software associated. I don't think I need them any longer.

Thanks so much for your great Xmas present!
All the best,
Dec 21, 2008 4:42:00 PM



Thanks so much for this Macles, I dl that file today and installed it on a new 8GB Kingston Data Traveler and just finished backing up my system(took about 20mins)and I definitely feel much better now with a backup of my system. Seasons Greetings, and Happy Holidays !
Dec 21, 2008 6:11:00 PM



I've changed the Linux installer to a static version which does not require any external files and is just a single binary. If you downloaded the older version you can remove the previously installed files.

sudo yum remove syslinux mtools p7zip
sudo rm /usr/bin/ubnsylnx
sudo rm /usr/bin/ubnexlnx
sudo rm /usr/bin/7z.so


The last file may have been already removed.

Dec 21, 2008 7:13:00 PM



Anonymous
Hello...I have a 120GB HDD Windows XP Aspire One.
I have been looking for a good backup solution for a while and was really exicited when I saw this...When I went to try it, I found that my portable USB HDD (Seagate 160GB) is not detected by the program...If I plug in my 2GB USB stick, it detects that no problem...any ideas on this one...any help much appreciated.
Dec 21, 2008 10:06:00 PM



Anonymous
The static version worked great--less than 10 minutes to backup the drive. Thanks very much. Also thanks for the uninstall info for the previous version.

Happy Holidays!
Dec 21, 2008 11:04:00 PM



Anonymous
Does the external USB device have to be FAT32...if so that answers my question above with the Seagate 160GB external drive (NTFS)...
Dec 21, 2008 11:37:00 PM



Anonymous
Thank you so much, I also had the problem: "Could not load image: linux" but after you changed the installer it worked like a charm!
Dec 22, 2008 12:28:00 AM



Hi macles, i followed your instructions, but i have some problems. First, I cannot get my usb to boot, I have tried both Windows installer and the Linux one. Fortunately, when I tried the static version today, I finally succeeded in making it boot, and I happily tapped the Enter key at backup, then a lot of text scrolled down [though I noticed several error messages] and finally it stopped at a message that it cannot access chroot directory and such, and a kind message telling me that it is not supposed to happen, please press Ctrl+Alt+Del to reboot your computer.

Any ideas? Does it have something to do with my SSD having to partition, the main one and /boot?
Dec 22, 2008 4:46:00 AM



Jesse Osby
Thanks, this is great! I've done many of the modifications you've detailed here on your blog, and I wanted a way to make a backup while everything's still working before I make further customizations so I won't have to go back to square one with the AA1 recovery disc if I mess something up.

The only thing that wasn't clear to me was that AA1BACKUP will only put the backup onto the disk it's running from. I installed it on a 1GB USB stick then booted that with a 120GB USB HDD plugged next to it, thinking it would write to that (or ask me which drive I wanted to write to). It wasn't until I saw no lights on the HDD and a solid light on the USB stick that I realized my misunderstanding.
Dec 22, 2008 9:36:00 AM



Anonymous
Dear Macles,
First of all: thank you very much for this great site!
It's a wonderfull job you're doning here!

Today (22th dec-2008) I followed your instructions, which resulted in one file on my USB-stick: idlinux.sys
I tried to reboot from the USB-disk, but the AAO responded with:
Could not find kernel: linux.
What can I do to fix this?

Greetz
Arie
Dec 22, 2008 2:36:00 PM



Hi macles! I finally made it work. Seems like my previous download was corrupted, so I reformatted it and then tried to make the backup usb again, And it worked smoothly! It was almost an hour, but no regrets, what's important is I now have a full system backup. Thanks a lot and happy holidays!
Dec 22, 2008 3:27:00 PM



Anonymous
macles, how come when i look at the aa1 folder, it is blank?
Dec 22, 2008 3:34:00 PM



Hi, macles.
Thanks for this. I have usede it to make a backup - so far haven't had to try to restore the backup, but have already used the Backup part three times. So I have a question: does the program overwrite the already exisitng backup, if you run it again? That's what it seems to me to be doing...
Just one othetr thing: when the Backup is finished, there is a message: "Press any key to reboot" - but nothing seems to happen when I do that. Is that OK? Should I take out the USB stick?, and reboot by switching the AAO off?
Dec 22, 2008 4:53:00 PM



Macles; you granted my request for a practical back-up solution......thanks very much and best wishes of the Season to you!!!
Dec 22, 2008 10:00:00 PM



@Paul,
As explained in the original post by Macles, Yes. the backup software overwrites the previous backup before it makes a new backup. You can save older backups by either renaming the AA1 folder on the backup-disk or move it to a safe place.

@Anonymous asking if the drive have to be FAT32.
The drive can be either FAT, FAT32 or EXT2. Linux can not write to NTFS partitions as the NTFS file system is copyrighted, closed source and Microsoft refuses to release details about it.

I had the same problem as you, the windows version of the setup program could not detect my external USB hard drive but the Linux version of the setup program worked just fine.
So here's my suggestion. Download a Linux LIVE-cd, burn and boot on it and prepare your external hard drive there. Or run the LIVE-cd through VMWare..
Dec 23, 2008 1:42:00 PM



Anonymous
yes, was that the aa1 folder inside the image folder of slax? but it was practically empty, but I was skeptical so I tried to restore and it worked 2 times for me! Thanks a lot macles!

I have a question: I thought the back up would be saved by 1gb chunks, how come the aa1 folder is empty?
Dec 23, 2008 3:59:00 PM



Anonymous
Geir Inge, Linux can write to NTFS by installing ntfs-3g. It has read and write support.
Dec 23, 2008 4:02:00 PM



really? dang.. I wonder what rock I have been hiding under.. last time I looked up on ntfs support it was only possible to write back to existing files and the file sizes had to match. ohhwell.. I learned something new today ;)

Anon,
the aa1 folder is the folder this backup software saves its backup to. Are you sure the folder is empty and the files are not just hidden?
Dec 23, 2008 4:42:00 PM



Anonymous
Dear Macles,
It still doesn't work for me. When booting from USB-stick, the AAO says it could not find kernel: linux.
There's only one file on it: Idlinux.sys
I formatted the stick under FAT32, went through the download and install-procedure again, and booted.
Same result.
By sheer luck I discovered a hidden folder on the stick. Thunar doesn't show this folder (not even in advanced mode). I discovered the folder while saving a textfile on the disk with softoffice-textmaker (which has an excellent in-build file-browser!!)
The hidden folder is named: 04032GB and in that folder there are two sub-folders: boot and slax and in those two, there are a lot of other folders, with lots of files in it.
Can you tell me what went wrong and, more important: how can I fix this, so that I also can use the backup-procedure you described?

Any help would be nice!
Greetz
Arie
Dec 23, 2008 6:54:00 PM



Anonymous
Hey Macles, whoever you are ...
I just want to thank you for all the time and energy you've put into this blog. Without the suggestions, techniques, and instructions you've posted here, my experience with my AA1 would be far less happy than it's been. You're generous and community-minded, and it's inspiring. Please know that there's a huge group of us out here who are truly grateful.
Warmest holiday wishes,
Tony
Brooklyn, NY
Dec 23, 2008 8:42:00 PM



Anonymous
Excellent!
Backed up my SSD 8gb in about 12 minutes.
No problems.
Used 20gb usb ext hd .. fat32.
Thanks gerryaspire
Dec 23, 2008 10:08:00 PM



reglof
Just had to do a RESTORE and it worked like a charm. 15 minutes later my system worked just fine again. Thank you sooo much for this awesome little util. Is there by any chance a download that restores the AAO Linpus to the "factory" installation? That would help a great deal.
Dec 24, 2008 11:14:00 PM



Anonymous
Hello Macles! There are few new apps on Acer's support site. Maybe you should write about them like it was some time ago ;) Cheers!
Dec 25, 2008 7:18:00 PM



I'm having the same problem detailed above, where my external 120GB USB drive isn't available as an installation target, but my 512MB flash stick is. The 120GB'er is formatte FAT32 so that shouldn't be an issue.
Dec 25, 2008 9:28:00 PM



I am SUCH a Linux newbie! Which is why I want to do a full backup before I try loading Windows...however I'm having trouble even getting started! (I suck)

OK...I open a Terminal by pressing alt-F2
I type in the first line above "wget -O aa1blinux http://sites.google.com/site/aa1backupinstaller/1/aa1blinux" and hit RUN. The screen flashes.
I type in the second line above in a terminal window "chmod 755 aa1blinux && sudo ./aa1blinux" and the screeen flashes again. Nothing happens. I tried rebooting; nothing happens.

I triple checked my typing and I AM connected to the inernet.

I KNOW I'm making a noobie mistake so...can someone enlighten me?

Thanks!!!
Dec 25, 2008 11:03:00 PM



Nevermind my post above...I figured it out.

Thanks anyway and Merry Christmas!!!
Dec 26, 2008 12:26:00 AM



The problem with external hard drives in Windows is probably because Windows makes a difference between fixed and removable drives, and some external hard drives are incorrectly declared as fixed. I uploaded a new Windows installer which makes both selectable.

Dec 26, 2008 6:54:00 AM



Marcus Smith
Excellent Ap, thanks very much for your work macles. I had an 320GB external hard disk but it was NTFS because I need to backup large Video files >2GB. I did not want to lose this facility so i partitioned it into 300GB NTFS and 20GB FAT32. The utility works well with this. I used Seatools to do the partitioning (free if you have Seagate or maxtor disks), I sure there are other tools that can do this FDISK (should please those command line people) or the XP install disk should do this. Use all repartitioning sw with care if you chose the wrong disk you can lose your system and data.
Dec 26, 2008 8:34:00 AM



Anonymous
Like a few others I get the message "could not boot kernal image : linux" then on next line "boot : " and can't get any further. This is with a AAO linpus 120gb using out of the box Western Digital 250GB USB passport drive to back up. Any ideas?
Dec 27, 2008 12:38:00 AM



Anonymous
Hi, I am getting the following error message:

--- AA1BACKUP 1.0
--- BACKUP

Detected drives and partitions:
Drive: /dev/sda {/dev/sda1 /dev/sda2 }
Drive: /dev/sdb { /dev/sdb1 }
The specified drive is mounted or busy in some other way
Please use the -f {--force) option to ignore that

--- BACKUP FINISHED
--- PRESS ANY KEY TO REBOOT

This is a brand new Acer Aspire One with Windows XP and a 160gb hard disk.
Dec 27, 2008 3:26:00 AM



Anonymous
hi
i changed my OS into win xp in my acer aspire one. but i want to change it back to linux by using the recovery dvd that comes with the package. will it erase the windowsos that is installed in my laptop?
Dec 27, 2008 11:12:00 AM



Anonymous
Macles, please help me find where the backup is, I am pretty sure it is not slax->images->aa1.lzm folder, since it is empty and is is only a few kilobytes! Help, I want to burn this to a DVD, but I cannot find where the 1Gb chunks are, or where the supposedly AA1 folder is. Help please. However, I tried restoring from this, and it worked fine, thanks. Only problem is I cannot find anywhere on the disk is the AA1 folder.
Dec 27, 2008 7:01:00 PM



Anonymous
Macles,

You are a genius! Thank you so much for this - I've just restored my system following an unsuccessful try out of Fedora 10. Its like going back in time - wonderful. Sarah
Dec 27, 2008 8:46:00 PM



The aa1 folder is in the top directory of the drive. It's not hidden or anything, but if for some reason it doesn't show search for the backup files instead. They are named aa1.000, aa1.001, aa1.002 and so on.

Dec 28, 2008 2:10:00 AM



Anonymous
Okay, thanks macles, I was able to find them now using the search on nautilus. If I wanted to keep that specific backup, which should I copy, only the aa1.000 and aa1.001, or should I include aa1.lzm file as well?

Thanks in advance macles.
Dec 28, 2008 4:20:00 AM



Anonymous
@ Anon

I found the aa1 folder that macles is referring to at the slax>changes>mnt>usb. that's where i found the aa1 folder with the 1gb chunks. cheers.
Dec 28, 2008 4:24:00 AM



Only the numbered aa1 files. If the aa1 folder is not in the top directory that's probably a quirk in the Linux Live script. Doesn't really matter as it appears to be consistent.

Dec 28, 2008 4:32:00 AM



I found the problem and uploaded a new file. There are no other changes so you can still keep using the drive you already created if it's working.

Dec 28, 2008 6:49:00 AM



Anonymous
it worked until it said "no image found" press any key to reboot...
Dec 28, 2008 8:42:00 AM



Anonymous
i unzipped the slax files and i don't get the "no image found" error anymore. however, now i get "fatal error occured - can't find executable chroot command"
Dec 28, 2008 9:13:00 AM



Alvaro
Hey Macles.

I´ve been looking for a more straightforward backup solution for the AA1, and this seems to be the most simple. Unfortunately, it doesn´t work for me. When I try to create the boot disk, only one file is copied to the USB stick (ldlinux.sys) and therefore, it can´t boot. I tried redownloading the installer a couple of times, used different USB drives but nothing works.

Any ideas would be greatly appreciated.

Cheers.
Dec 28, 2008 12:26:00 PM



Anonymous
Same problem as Alvaro. Files appear to download ok and even copy over to the USB drive according to the progress bar. The next step to install the boot sector hangs at 0% before suddenly finishing and the utility reports success. However, only ldlinux.sys seems to be actually on the USB drive and the AA1 will not boot from it. Appreciate any help.
Dec 28, 2008 8:39:00 PM



Anonymous
many thanks for this great tool! Needed to do both backup and restore and it worked perfectly! Maybe you should mention that network access is required for the preparation of the usb stick. There is no warning from the script and without nw the main parts are missing.
Dec 28, 2008 9:36:00 PM



Anonymous
macles i tried this with the winxp version backup went fine then i restored it just to check and on rebooting i got error "cannot find autochk" machine just kept turning off.i used acronis disk director boot disk and found c drive was flagged as 086 native linux and not 07 nfts .iv,e changed it to 07 and machine boots.This is not a complaint the work your doing here is great i just posted this so you could maybe look in to why this is happening.
Dec 28, 2008 9:37:00 PM



About the problem with the chroot command: Delete all files from the drive and run the installer again. Also note that AA1BACKUP expects the backup files in the aa1 folder in the top directory now.

About the ldlinux.sys problem: If the files are indeed copied according to the progress bar but the drive is empty they are probably copied to a wrong destination. Or maybe no files are actually downloaded.

Dec 29, 2008 7:29:00 AM



Alvaro
till no joy, but I managed to create the USB bootable disk under Windows. It seems that, as Macles said, it´s writing the files to another location. Under /media/, it creates two different directories, in my case, UNTITLED and UNTITLED 1 (as the name of the USB key. The "real" USB device is under "UNTITLED" but for some strange reason, it keeps writing to UNTITLED 1. I tried deleting the wrong directory and copying the contents to the USB drive, but it doesn´t work either.

As a last resource, you can create a Virtual Machine with VirtualBox (see the tutorial on this same site) and generate the USB drive files there, if you don´t have access to a Windows machine. Or try something like BartPE. You´ll need at least a 4GB USB drive.

Hope this helps.

Cheers.
Dec 29, 2008 11:18:00 AM



Anonymous
Hi Macles*, I have the 1dlinux issue, it's the only file on the USb, and so does not boot. Unfortunatley as I have little experience with Linux I haven't the feintest idea what to do next. I don't know how to find out if the required files are stored somewhere else or what to do if they are? A grandmother and sucking eggs approach would be best.
Dec 29, 2008 7:42:00 PM



Those with the ldlinux problem can try the following. Connect the USB drive, wait till the system recognizes it, and paste the output from cat /proc/mounts and ls -l /media here. Then run aa1blinux. Once that's finished paste the output from the same commands again.

Dec 30, 2008 9:13:00 AM



iwillnotgotbacktowindows
Hi Macles*, thanks for the above, but think more retarded Grandmother. I have got a Linux book and I have to say it makes no sense to me, but like most people who moved on from windows 3.1 & DOS with Microsoft I haven't had to do anything for 15 years... The Acer knows the USB stick is there (As it shows up in file manager app), I put the line cat /proc/mounts in, and ls -1 /media got some response in the terminal, can't for the life of me work out how to cut and paste to the USB stick. Thanks for your patience.
Dec 30, 2008 2:51:00 PM



Anonymous
Everything was going great until @ 60% my memory stick ran out of space (2GB). Luckily I ordered a few 4GB ones which should arrive tomorrow. Will update later.
Dec 30, 2008 11:57:00 PM



Anonymous
Hi,
Great backup program.

Does anyone have an "nLite.ini" file they can post that is a good striped-down version of winXP for the AA1. I want to build a small version that will make the AA1 nice and sleek, but still functional.
Thanks.
Dec 31, 2008 12:11:00 AM



Anonymous
Hi
Is it possible to backup to a DVD on a drive on the USB?
Thanks
Dec 31, 2008 11:03:00 AM



Anonymous
Hi

When I run the command
"dd if=/dev/zero of=zero; rm -f zero"

my AA1 complains it is out of disk space before creating the output file to delete - is there any way around this? To do it in pieces?
Dec 31, 2008 12:39:00 PM



That's exactly what's supposed to happen. It makes a file filled with zeros until it runs out of space, and then deletes the file. Which effectively overwrites all free space with zeros.

In other news i just uploaded version 1.1 which has a few improvements. There is now a progress bar and an ETA displayed during the process, and a few statistics afterwards. I also changed the imaging software which resolves all the Windows related problems like the drive being busy or the wrong partition type being set.

The backup files are now stored in folder backup in the top directory, while the previous location was folder aa1. The images created in 1.0 are not compatible with the images created in 1.1 and vice versa, but AA1BACKUP will just fall back to the previous version if it detects an older image. The detection is not very sophisticated, it just checks for files in the old default folder.

I also made some other minor changes which will probably help with the ldlinux problem.

Dec 31, 2008 1:15:00 PM



Anonymous
Hi
I'm having the ldlinux prob with my 4GB Buffalo stick - here's the output of those 2 commands.
[user@localhost ~]$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root.old /initrd ext2 rw 0 0
/dev/root / ext2 rw,noatime 0 0
proc /proc proc rw 0 0
tmpfs /dev tmpfs rw 0 0
tmpfs /tmp tmpfs rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
none /sys sysfs rw 0 0
none /mnt/home aufs rw,si=d5c747c0,xino=/home/user/.aufs.xino,create=mfs,dirs=/home/user=rw 0 0
/dev/mmcblk0p1 /media/disk vfat rw,nosuid,nodev,uid=500,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=winnt,utf8 0 0
/dev/sdb /media/BUFFALO\0404GB vfat rw,nosuid,nodev,uid=500,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=winnt,utf8 0 0
[user@localhost ~]$ sudo ./aa1blinux
audit_log_user_command(): Connection refused
[user@localhost ~]$ ls -l /media
total 12
drwxr-xr-x 4 root root 4096 2008-12-31 13:36 BUFFALO\0404GB
drwxr-xr-x 2 user root 4096 2008-12-31 13:38 BUFFALO 4GB
drwxr-xr-x 9 user root 4096 1970-01-01 01:00 disk
Dec 31, 2008 1:46:00 PM



Anonymous
BTW I just downloaded the v1.1 with the same results
Dec 31, 2008 1:50:00 PM



I can reproduce the problem now and just uploaded a new installer.

Dec 31, 2008 5:14:00 PM



James
Just downloaded v1.1, will run a new backup. Again this looks fantastic, thanks for your great work !

One suggestion, could you consider adding a third menu option to boot to unix prompt with SSD mounted. I occasionally need to boot linux from a keydrive to fix a broken (by me) file on SSD, so if I could do this with this AA1BACKUP keydrive, I wouldn't have to keep another keydrive just for booting linux for this :-)
Dec 31, 2008 9:47:00 PM



Anonymous
Howdy - I have a brand mew Acer Aspire One XP. I have downloaded your software (2 times) installed it on a USB drive. When I reboot - using USB, I just get a blinking cursor - no activity or option list. ... HUH ??? ...waiting .. (yup, usb is fat32, newly formatted)
Jan 1, 2009 1:51:00 AM



Anonymous
Thanks for the update M Macles! My AA1 has gone for a few days but will try it out when it comes back.
Jan 1, 2009 8:32:00 AM



Anonymous
hi, thank you for the informative and useful site. i think ive read most of the AA1 sites and yours seems to be the most concise and informative.

regarding the backup installer, after typing the command
chmod 755 aa1blinux && sudo ./aa1blinux
there is no selectable option. the "drive:" is blank.
would you know the reason behind this?

TIA
Jan 2, 2009 5:45:00 AM



Anonymous
Hello Macles,

thank you very much for this helpful and informative site.
I have the following problem:
When I boot - using an 8GByte USB-Stick - the backup process start and shortly after terminates with the following error message:
--- AA!BACKUP 1.1
--- BACKUP
split: /mnt/usb/backup/aa1.000: No space left on device
--- BACKUP SIZE: 291 MB
--- BACKUP FINISHED

I got the exactly the same result with another 8GByte-USB-stick.
What would you think I am doing wrong here?

MRK
Jan 2, 2009 4:45:00 PM



There are no options so there isn't much you can do wrong. Is there a progress bar displayed for a short while before the process quits? It must've written sth. to the drive or else it wouldn't report a backup size. How much free space is reported by Linux or Windows? I may add a debug option.

Jan 2, 2009 5:29:00 PM



Anonymous
Thank you for the quick response.
Yep, I get the progress bar for a short while and everything looks fine. Then the process stops with the error message quoted above.
Linux and windows report 7.5 GB of free space on the two 8 GB USB-Drives (different models).
I find no "backup" folder on the UBS-drive afterwards.

Regards, MRK
Jan 2, 2009 7:00:00 PM



Are the drives FAT32 formatted? It appears that the drive can not be mounted and the backup is written to the temporary RAM drive instead.

Jan 2, 2009 7:27:00 PM



Anonymous
Once again thank you for the quick response. Yes, windows reports both drives as FAT32.
Regards, MRK
Jan 2, 2009 7:42:00 PM



I prepared a debug version which will print some information. To use it delete aa1.lzm from directory slax/base and put this file in the same directory instead. You can then select either option from the menu.

Jan 2, 2009 9:00:00 PM



Anonymous
thank you once again for taking the time to look into this.
Here is the result:

--- AA1BACKUP 1.1
--- DEBUG START
--- #1
[3:0:0:0] disk ATA P-SSD18000 Ver2 /dev/sda/
[4:0:0:0] disk UDISK PDU01-8G 8CH2.0 0.0 /dev/sdb/
--- #2
--- #3
--- DEBUG END

The last two lines printed before the above may also be of interest:
Mounting non-root local filesystems:
mount: special device /dev/sbd1 does not exist.

Best regards,
MRK
Jan 3, 2009 10:51:00 AM



The drive is recognized but not mounted, probably because of some unusual partition table. I need some additional information. What device do you select in the installer? Do the USB sticks have some unusual extra functionality? Also connect the drive and paste the output from sudo fdisk -l /dev/sdb here. If that returns nothing run dmesg just after connecting it to see the actual device node used.

Jan 3, 2009 11:14:00 AM



Anonymous
Drive selected in the installer: /dev/sbd
No additional functionality that I am aware of on the USB-drives.
fdisk returns nothing.
dmesg returns:

Adding 1052248k swap on /dev/sda2. Priority:-1 extents:1 across:1052248k
usb 1-2: new high speed USB device using ehci_hcd and address 3
usb 1-2: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 2:0:0:0: Direct-Access UDISK PDU01-8G 8CH2.0 0.00 PQ: 0 ANSI: 2
sd 2:0:0:0: [sdb] 15794176 512-byte hardware sectors (8087 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] 15794176 512-byte hardware sectors (8087 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sdb: unknown partition table
sd 2:0:0:0: [sdb] Attached SCSI removable disk
sd 2:0:0:0: Attached scsi generic sg1 type 0

thx, MRK
Jan 3, 2009 11:33:00 AM



scsi 2:0:0:0: Direct-Access UDISK PDU01-8G 8CH2.0 0.00 PQ: 0 ANSI: 2
sd 2:0:0:0: [sdb] 15794176 512-byte hardware sectors (8087 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sd 2:0:0:0: [sdb] 15794176 512-byte hardware sectors (8087 MB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 00 00 00 00
sd 2:0:0:0: [sdb] Assuming drive cache: write through
sdb: unknown partition table
sd 2:0:0:0: [sdb] Attached SCSI removable disk
sd 2:0:0:0: Attached scsi generic sg1 type 0

That's the problem. Interesting that it happens with two different models. Just create a new partition table and reformat the drive. There are probably a few dedicated Windows tools for that. You can use sudo cfdisk /dev/sdb in Linux.

Jan 3, 2009 12:18:00 PM



Anonymous
Weird. cfdisk reports "FATAL ERROR: Bad primary partition 0: Partition begins after end-of-disk". I'll try to reformat the USB-drive under windows ...
If you (or the other Aspire One enthusiasts here) ever get bored with the standard linpus user interface, here's my alternative as a little "thank you" for your time and effort: aa1.karabek.org
MRK
Jan 3, 2009 12:44:00 PM



Anonymous
hrgh ... of course formatting didn't help ... stupid me ...
Jan 3, 2009 12:50:00 PM



Anonymous
Here's a solution for all out there with the same problem:
HPUSBFW.EXE does the trick (formatting tool developed by HP).
You can find it for example here: http://www-pc.uni-regensburg.de/systemsw/tools/systools.htm
The weird partition table seems to be related to some security feature (password protected pseudo-partition) that appears to become popular.
My AA1 is currently backing up onto the USB-Drive, 50% done and 1 hour to go.
Thank you, macles. Amazing support!

Cheers,
MRK
Jan 3, 2009 3:26:00 PM



Anonymous
Dear Macles,
You are great!
Version 1.1 works for me now.
Just finished the backup of my AA1-linux 120GB HD to a Dane-Elec 32GB USB-stick.
No problem at all!
Thanks very much for sharing your beautifull work with us!
Greetz and a very happy new Year!!!
Arie
Jan 3, 2009 6:17:00 PM



Anonymous
I have an acer aspire one with 160 gig hardrive and when I boot to the usb hardrive it says non system disk what im'm doing wrong
Jan 4, 2009 5:54:00 AM



Darryl
Hi
is there any way to unzero the drive after running this command
dd if=/dev/zero of=zero; rm -f zero
it made a whole chunk of free space disappear
Jan 4, 2009 1:01:00 PM



Where did you check the free space? Try using df -h first. To find the actual disk space used use the command below, which will take a while.

sudo du / -sch --exclude=/proc --exclude=/media --exclude=/mnt --exclude=/tmp/posixdir

Jan 4, 2009 3:14:00 PM



Darryl
Sorted thanx,
Found and deleted the file "Zero". I interrupted the process before completion. I nearly overlooked it as the file size was 0 kb
Jan 4, 2009 4:42:00 PM



Anonymous
Hey Macles, just re-did version 1.1 here, and has worked like a charm. Thanks a lot for your hard work, it is all keeping me far away from windows, and learning as I go along. Cheers, and Happy New Year. Kevin
Jan 4, 2009 5:50:00 PM



Anonymous
Hi Macles,

Thanks for this fantastic program. Unfortunately, I get the same error as a couple of other people here:

Could not find kernel image : linux.

I'm using Linpus Lite, 8GB SSD, 8GB Kingston Data Traveller thumbdrive.

Any help would be greatly appreciated.
Jan 5, 2009 8:04:00 AM



Anonymous
Hi again, this is the same anonymous poster with the kernel image problem.

I solved the problem by using the windows installer. I'd previously installed the backup program on my thumbdrive using Linux. The backup program now works!

Thanks!
Jan 5, 2009 9:04:00 AM



reglof
I just love this little util. I faithfully do my backup/restore with it.
I am wondering if I can play around with other OS e.g. Ubuntu or XP and simply restore to Linpus? Does the backup take care of the MBR? How does it handle a differently formated SSD e.g. Linux vs. FAT32 or even OSX formatted SSD? Can I simply run backup/restore to go back to a different OS?
Jan 5, 2009 10:19:00 AM



If you're using 1.1 then the answer to all questions is yes.

Jan 5, 2009 3:54:00 PM



Anonymous
Just to confirm that the latest version solved my ldlinux issue (logged Dec 28 9:39). Many thanks.
Jan 5, 2009 10:26:00 PM



Anonymous
another golden one from Macles!

As usual: THX Macles for a perfect solution
Jan 6, 2009 4:00:00 PM



Oh man. Thank you so much. I've done a bunch of hacking around on my AA1 and I wouldn't want to have to restore everything again (especially since I even resized the main partition and removed the swap, which was a pain and would be nuked if I had to restore from the recovery DVD). This blog has helped me take my AA1 from a merely useful portable tool and turn it into a customized environment for the stuff I need to do. It's great.
Jan 6, 2009 7:47:00 PM



Anonymous
Had a few problems with my external usb drive (I was getting the linux not found message even though the first stage, to generate the bootable drive, completed ok). I re-formatted the drive (swissknife didn't work but the windows administrative tools -> disk management did) and am now generating a backup. *Thank You* for this utility - I've already had to do a re-install from the acer disc (and then re-get gcc, ddd, etc. etc). Beers are on me should you ever visit Mersea Island! Kind Regards, Simon.
Jan 6, 2009 8:53:00 PM



Anonymous
Thank you, this worked great on my AAO 110 Linpus
It took around 12 minutes to backup.
This is what the program told me at the end

data: 7696
throughput 10.61 MB/s
backup size 2454 MB

I used a SanDisk cruzer micro 4GB USB.
I had previously removed the U3 partition on the usb stick using the sandisk removal utility and formated it to msdos in disk utility on my mac
Jan 7, 2009 2:39:00 AM



Anonymous
Hi macles
Many thanks for the work you have done on this and your other tips. I have followed a few and they all worked first time.
With the 8gb SSD it took about 8 minutes.
I feel more confident now of carrying out further hacks to my system.
Brilliant and again many thanks Ian
Jan 9, 2009 10:38:00 AM



Anonymous
Hi Macles,

You really got me experimenting with other distro's (thx)

So now i have a new "problem' what would be a good solution for backing up and restoring those other non-linpus trials of mine?

I'm heavily involved in Linux4One (www.linux4one.it) an Ubuntu Netboox Remix distro, finally got that internal mic working in Skype.

Thanks for your hard work and sharing it!
Jan 10, 2009 10:24:00 AM



Anonymous
OK, I've got an issue with Restoring....

First, I had a problem that was mentioned above with a bad 'partition index' so I downloaded the HPUSBFW.EXE file to format my 8 gig usb stick. After that, the backup is successfully run.

When I do the 'restore', it looks like everything is going fine, but about 95% into the restore, I get the following messages;

QLZ: unexpected end of source file - try the -R flag to recovery.

The backup reported 7696 MB backed up
The restore reported 7333 MB restored. 95.28% restored

Any idea on this condition??

Thx
Jan 10, 2009 3:07:00 PM



Anonymous
Thank you so much for this little great utility ! I was just looking for a backup system for my linux AA1 and found your nice application that makes the job fast and easy. Thank you again, keep up the good work ! John
Jan 10, 2009 7:52:00 PM



Probably a hardware problem with the drive you stored the backup on. Or bad blocks while reading from the drive of the AA1 during the backup. Did you get an error message during the backup? In any case i uploaded a new file with a few minor changes to the error handling process.

Jan 11, 2009 9:19:00 PM



Anonymous
I already run the backup process twice on my AA1 linux 8 GB with no problems at all. Thanks Macles!

Luca
Jan 11, 2009 9:52:00 PM



Anonymous
Greetings macles and thanks for the backup utility.

I am still getting the "Fatal error occurred - Can't find executable chroot command" error. This occurs with an external usb hard drive but not with a usb memory stick. Thanks again.
Jan 12, 2009 6:18:00 AM



Anonymous
ditto on the chroot issue - used a clean fat32 partition on an external drive after downloading the newest linux binary (don't have a big enough thumbdrive to test out on, sorry!)

could this be because I booted the backup utility off of an external with two partitions?

can't wait to try this backup utility :) i just upgraded my ram without breaking anything - having this work will make my day!

thanks in advance
anna
Jan 12, 2009 5:14:00 PM



Anonymous
I am also getting the chroot error with a FAT32 formatted USB stick. I have tried downloading both the Linux and Windows script. None of them included the aai folder/files (they are not hidden somewhere either). Any help would be greatly appreciated. Thanks.
Jan 12, 2009 5:28:00 PM



What are the last few lines before the chroot error? And are there any files at all on the drive or partition?

Jan 12, 2009 6:07:00 PM



Anonymous
Regarding the chroot issue. Yes, some folders and files are present (boot and slax folders with sub folders and files + ubnfilel.txt and ldlinux.sys are located in the root folder), but no aai folder/files. I can give you the last lines at the moment, but will try to write it down on a paper and come back later if no one beats me to it first. Thanks in advance.
Jan 12, 2009 6:21:00 PM



Anonymous
And that should have been

"I canNOT give you the last lines at the moment".
Jan 12, 2009 6:23:00 PM



Anonymous
Regarding the chroot issue.

OK, so this is what I get:

Creating /etc/fstab
touch: union/etc/fstab: No such file or directory
Changing root directory...
Fatal error occured - Can't find executable chroot command.
Jan 12, 2009 6:56:00 PM



What device do you select from the installer? Also paste the output of sudo fdisk -l /dev/sdb with /dev/sdb being the actual device you select. If there's a number at the end just omit it.

Jan 12, 2009 8:36:00 PM



Hi there.I have this error when trying to install. I'm I doing something wrong? Thanks

--21:28:43-- http://sites.google.com/site/aa1backupinstaller/l/aa1blinux
=> `aa1blinux'
Resolving sites.google.com... 66.102.9.100, 66.102.9.101, 66.102.9.102
Connecting to sites.google.com|66.102.9.100|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
21:28:44 ERROR 404: Not Found.
Jan 12, 2009 9:31:00 PM



Nat
Macles, thank you for taking your time.

If by device you mean "type" I chose USB and the directory is dev/sdb1 (no other options to choose from anyway). Unfortunately, I have deleted everything on the USB drive which is now in use for something else so I won't be able to add the output needed this time.

If someone getting the same chroot error message is reading this, I encourage you to help solving this matter by pasting the outcome of " sudo fdisk -l /dev/sdb" onto here so Macles perhaps will have a look at it and crack the case. Thank you.
Jan 13, 2009 12:20:00 AM



Disk /dev/sdb: 4063 MB, 4063232000 bytes
5 heads, 32 sectors/track, 49600 cylinders
Units = cylinders of 160 * 512 = 81920 bytes
Disk identifier: 0xa46da46d

Device Boot Start End Blocks Id System
/dev/sdb1 * 51 49600 3963968 c W95 FAT32 (LBA)
Jan 13, 2009 3:56:00 AM



Anonymous
Disk /dev/sdb: 160 GB, 160039272960 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 18152 145805908 83 Linux
/dev/sdb2 * 18153 19457 10474380 83 Linux

Ok this is funny - fdisk tells me my second partition is a Linux partition, while I had formatted it FAT32 before using the backup installer (Gparted confirms its a fat32).... fdisk is being very funny.

anna.
Jan 13, 2009 5:45:00 AM



Anonymous
Proper fdisk output - guess my partition manager screwed up the first time.

Disk /dev/sdb: 160 GB, 160039272960 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 18152 145805908 83 Linux
/dev/sdb2 * 18153 19457 10474380 b FAT32


Still getting a chroot error, before the /etc/fstab stuff it also says it can't load any modules and asks if the download was corrupt?

I checked and I don't have anything in slax/modules (nor in slax/optional and slax/rootcopy but I assumed that was intentional).

anna.
Jan 13, 2009 6:01:00 AM



The chroot problem was actually introduced with a minor change i made recently. But before you prepare a new drive with the updated version reformat the drive/partition or just delete all files.

Jan 13, 2009 2:51:00 PM



Anonymous
Hi Macles,

I have been looking for another way to contact you but this seems to be the only way.
I want to spread the word about AA1BACKUP and your terrific site in the forum of www.linux4one.it in the form of an How To called backup and Restore.
In case you object to this please let me know here in this topic.
As a matter of courtesy you will be named as the source in line 1 and linked. Linked to your topic in line 2. Linked and named as the source for more info in line 3. Finally you will again be linked to in the last lines with regards to the windows version.

Regards.
Jan 13, 2009 4:43:00 PM



Anonymous
"The chroot problem was actually introduced with a minor change i made recently. But before you prepare a new drive with the updated version reformat the drive/partition or just delete all files."

Does that mean I need to use a completely empty drive and just one partition and I won't get the chroot error?

anna.
Jan 13, 2009 4:53:00 PM



You are free to write about AA1BACKUP or translate the post or write some instructions based on it, just post a link to the source. And about the chroot problem, what i meant to say is that i uploaded a new version without the chroot problem but before installing the new version just remove all the files from any previous installation.

Jan 13, 2009 5:31:00 PM



Nat
Yeah. The script works for me now. I formatted (FAT32) a 8Gb USB drive and re-installed as per instructions in this article. When rebooting I pressed F12 and could easily make a backup without any errors. Macles, somebody should give you a Nobel prize. Thank you so much for this!
Jan 13, 2009 7:01:00 PM



Anonymous
Hi Macles,

Thanks for your permission!
You can find my post here: http://www.linux4one.it/forum/index.php?topic=219.0
If there is anything not to your liking please let me know.

Regards,
woodland
Jan 13, 2009 7:35:00 PM



Any comment on my installing problem? Cheers

-21:28:43-- http://sites.google.com/site/aa1backupinstaller/l/aa1blinux
=> `aa1blinux'
Resolving sites.google.com... 66.102.9.100, 66.102.9.101, 66.102.9.102
Connecting to sites.google.com|66.102.9.100|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
21:28:44 ERROR 404: Not Found.
Jan 13, 2009 8:46:00 PM



Working! typo :(
Jan 13, 2009 8:56:00 PM



Anonymous
typo: make i a 1 instead of l

Regards,
woodland
Jan 13, 2009 8:59:00 PM



skymandr
Worked like a charm (AAO110 with bios 3104) - thank you!

Am I right in supposing that this will work for installing the same configuration on multiple notebooks? My nephew and niece want to get their own, and just having to install stuff on one of them would certainly save time! =)
Jan 14, 2009 2:20:00 PM



Anonymous
Oo i thought it was still the same version because when I looked I thought the time stamp on the file was the same, but yay thanks for taking the time to update :) gonna go try it out now :) thanks macles!

-anna.
Jan 14, 2009 2:44:00 PM



Anonymous
This program looks really good but I can't seem to get it working. I have an Aspire One (ZG5)running XP in Chinese - I bought it here in China. I have installed and run the software. After a number of screens of information one of the final things reported is that it says NO FAT32 SYSTEM MOUNTED. Following this it starts the backup (I am using a 4gb Kingston Data Traveler - default is FAT32)

It backs up 0.90% and then says backup failed. Press any key to reboot.

Do you know what the problem could be?

The system has been freshly restored and all I have done is remove a lot of the bloat that came pre-installed. Thanks for any help you can give. This site is very interesting.
Jan 15, 2009 1:13:00 AM



Anonymous
^
Sometimes you need to format the USB stick on a Windows platform I have heard. Also, there might be a problem if you're backing up a full system with only a 4 gb memory stick?
Jan 15, 2009 2:29:00 AM



Anonymous
No good. I did what you suggested and used an 8gb Kingston traveler. I first reformatted it (again as FAT32 - is this right?)

This tim eI had no mounting message but after 0.95% 1090mb backup (which took 2-3 minutes) I got the error message

split: /mnt/usb/backup/aa1.000: No space left on device
BACKUP FAILED

This is an empty (apart from the AA1Backup1.1 program)

What do I do now?

Thanks for any help you can give.

T.
Jan 15, 2009 3:45:00 PM



The problem is probably a non-standard partition table, which AA1BACKUP fails to recognize and as a consequence it writes the backup to a ramdisk instead. So far the code to handle that wasn't very robust, but i've made a few changes to make sure it always writes to the drive/partition it was installed to. If the installer manages to install AA1BACKUP to a drive/partition then AA1BACKUP will also be able to mount it and store the backup on it. And as a bonus it can also be installed to an ext2 partition in Linux now, and will also store the backup on it.

Jan 15, 2009 7:38:00 PM



Anonymous
Hi, thanks for this util
However, I am having a strange problem. I have 2 identical AA0 machines with Linpus+120GB HD, the HDs are the same model as indicated in the bios. bios levels are the same etc
I took a backup of my first machine, with the intention of restoring onto the second machine to save time unlocking and installing everything
Although the backup and restore work without error, and the second machine on the face of it appears to work, the wireless resume function does not function. This functions correctly on the source machine, ie with wireless enabled, closing the lid and waiting for it to suspend, followed by starting up again, the orig machine automatically connects wirelessly to the router, but the restored 2nd machine does not. If I restore to factory settings with the supplied CD via a USB stick, the wireless resume on my 2nd machine functions perfectly
I know there are hacks with regards to shutdown and startup scripts to force this functionality, but I would have thought a backup and restore would create an identical machine
Any ideas ? TIA
Jan 16, 2009 1:40:00 AM



Anonymous
further to my post above regarding wireless resume problems, the connection manager is completely messed up, it can't find any wireless network, and manually selecting my SSID does not allow me to connect to it
this is not a one time problem, it is guaranteed to fail after each suspend
Jan 16, 2009 1:43:00 AM



Anonymous
Well, I got another 8gb USB and it was successful. Well, until the backup filled up the whole USB and then told me I had run out of space! How much space do I need to back up a clean XP installation? Thanks for trying.

I have two external Hard Disks but cannot back up to them as I cannot boot from them.

T.
Jan 16, 2009 11:39:00 AM



While this is a much more simple and straightforward tool, I feel the need to point out another option for those who may be a little more inclined to give a LiveCD a try... helps if you're comfortable with a little bit of Linux-y stuff.

I much prefer PartImage is Not Ghost (aka PING)... It is a LiveCD that you burn and then boot from. The reason I prefer PING is because it'll make a restore image of your drive (no matter the type) to any other partition (aside from the one you're making an image of)... even to USB.

The real benefit to PING is twofold: It'll copy into an image ONLY the used sectors... and it can compress.

I have the 8GB Linux AAO... I've made many, many tweaks I dare not to put myself through again if I wanted to experiment with other distros on the unit. I would say it was a good week or two I spent using how-tos on here and on the AspireOneUser.com forums before I got Linpus set up reasonably well enough to where I would be comfortable with having that if I had no other choice. The problem is... it just took a lot of work to get to that state and I do not want to repeat it. Ever.

Enter PING. While you can use other tools to make a whole 1:1 image of a partition and restore it, PING allowed me to make a 1:1 image of my partition and store it on something SMALLER than the 8GB SSD I have in my unit.

With PING I was able to set up a nice restore image, using gzip to shrink it down, using the built in feature to copy only used sectors to have the image smaller by default... and my image file is 580MB for the entire 8GB SSD, with about 2.5GB used. You could go even further, as I used gzip only because it was fast compression. You can go with no compression (but with only sectors used, which would have left me with a 2.5GB image file)...

It requires carefully reading the menu steps, but the process is rather painless. I highly recommend it above any other method.

I've restored my AAO Linpus tweaked setup about a half dozen times so far without any issues whatsoever... aside from the self inflicted ones where I managed to break an icon or two making my tweaks. ;)

http://ping.windowsdream.com/

It will image both Windows and Linux partitions. It will also allow you to burn a bootable DVD with the image on it, making for even easier restoration. I just boot the Ping LiveCD and restore from my USB thumbdrive instead. Very quick and painless.
Jan 17, 2009 6:07:00 AM



I wanted to use PING initially, but decided against it for a few reasons. It requires user interaction and the option screens can be very confusing, especially to users not familiar with the terminology. It does also not backup the whole drive, bit for bit, only partitions. And while it does analyze the partition and only stores used space you can get the same effect by zeroing all free space before the backup, as mentioned in the post. And the last reason is that gzip and bzip2 are too slow on the Intel Atom.

AA1BACKUP can actually store the backup on any drive, not only the one it booted from, it's just not available to keep everything simple. I might add it as a secret option.

Jan 17, 2009 7:24:00 AM



Anonymous
AA1BACKUP works. Do the zeroise thing first and you can't go wrong! Thanks Macles, yours is my number one AAO site. but why no new tips since 4th. What can you possibly be working on?

Nick (England)
Jan 17, 2009 11:50:00 PM



Anonymous
I will try the Zeroing thing next then. If you can release something to enable me to back up to an external hard drive rather Than a USB stick that would be great as I do tend to back up programs and other information on my hard disk.

Thanks again.

T.
Jan 18, 2009 12:42:00 AM



Anonymous
Hi, me again!

Sorry to be a total idiot but can I check that if I use Eraser I should select custom overwriting method and then select pattern (00000000)?

Is there anything else I should know.

Hope you can help me back-up my hard drive, XP, etc.

Thanks, yet again.

T.
Jan 18, 2009 1:48:00 PM



Anonymous
Hey there...

I tried to copy the files from the usb key and burn them (including hiddens) to DVD....but if I move the files back to the usb key....I have a boot error....any suggestions? or is there a way to backup directly to .iso or dvd ?

thanks!
Jan 18, 2009 5:46:00 PM



Anonymous
Hi Macles, I've been backing up regularly, thanks very much, never had to restore yet luckily but at least I've got peace of mind.

I just wanted to ask if I will be able to use the restore function onto a larger drive. I am thinking of replacing the 8Gb SSD with a compact flash card in a zif to cf adapter, and thought that maybe I'll end up with only an 8gb partition and the rest unavailable.

I've done manual backups by booting into Puppy Linux and using dd commands, so maybe I'd have to do this.

Cheers

Mark
Jan 19, 2009 8:58:00 AM



this thing no work with proxy. thanks.
Jan 20, 2009 9:14:00 PM



great solutions :) it is very helpfull for me! thnx!
Jan 20, 2009 11:14:00 PM



Anonymous
Hi Macles,

I've been taking backups of my AAO for a while now (especially as I have more and more software loaded and things that I need working properly configured etc.).

There are plenty of posts inicating successful restores, and looking at the backup files produced I don't have too much of a worry that the restore process will work for me either.

That said - the *one* time that you really don't want to find out the backup is broken is when you really need to use it. [I worked for a company that discovered that the backups of their unix machines were in fact simply a backup of all the filenames of the files that would have been archived if the backup was run 'properly', fortunately they got away with only losing some non critical data]

Is there any way, after doing a backup, a validation can be performed? - I mean a non-destructive one as obviously you wouldn't want to restore a bad backup onto a good machine!

Kind Regards,

Simon.
Jan 21, 2009 10:10:00 AM



Anonymous
Hi Macles,

I've used plenty of your stuff in the month since I got my AA1 [Linux, 8GB SSD]with lots of good results - so many thanks. I just hope you can help with my current problem:

after fighting with Clonezilla and needing to recover to factory a few times I saw your AA1Backup article and yesterday loaded it and made 2 backups to a USB stick. Being wary [after Clonezilla] the 2nd backup was after a couple of changes to distinguish it from backup #1.

I tried to restore b/u #1 but it ended with an error message and said "image not restored". I assumed it would be back to my recovery usb - but on rebooting all appeared fine! Then the problem - following a restart [I was going to restore b/u #2] the system is dead [power light comes on,black screen, unit hums a bit - but [xyzzy] "nothing happens"].

I've arranged a collection for a hardware repair under warranty but I'm concerned that if it turns out to be Software related they'll charge me [heavily in proportion to the AA1's cost].

It seems there's no hardware reset, so do you have any suggestions or views on whether the failed restore could have caused the inability to get to any form of boot screen?

Thanks again, keep up the good work, Mike.
Jan 21, 2009 11:48:00 AM



Anonymous
Simon,

You are quite right: you don't have a backup until you've done a successful restore trial.

Regarding validation, I guess you mean reversing the backup process and comparing it against the source data without overwriting. I think Norton Ghost does that, but you really wouldn't want to use Ghost -- it's a pig. I did my first successful backup of my AA1 using Acronis last night :)

Acronis has a "verify" function, but I'm not sure what it does. The manual says: "you can choose to check the backup data integrity; verification will be performed immediately after the archive is created", but it doesn't say what this involves. If I do a verify, it happens so quickly I suspect it might only be checking the intergity of the image file, instead of comparing it back against the source data. Who knows?

Anyway, the only way to ensure you have good backups is to occasionaly do restores for real. Better to pick your moment to bite the bullet than find out for real when you most need it. I guess the best time to try this is whilst your AA1 is all shiny and new and doesn't have irreplacable data on it.

I remember trying out the "sleep" button on a new laptop once. I'd just unpacked it, was all excited about this new toy and had used it for a total of 10 minutes, exhilarated. My first PC! I'd ordered it with extra memory. Because the OEM hadn't resized the sleep partition for larger memory, that single key press bricked it. There began my total noob's crash course in reinstalling Windows on a hard drive that Windows could not see. No Windows rescue diskette either. Didn't know what a Windows rescue diskette was. Ouch.

Anyway, the Acronis image of my AA1 was disappointingly large (3GB), but I didn't use the highest compression level. I'm going to try zeroing the free space and repeating the backup at highest compression to see what difference that makes. After that, I'm going to do a restore test, just for the heck of it.

Acronis 10 (and presumably later versions) will install itself onto your USB stick for you from Windows, which is nice. That would have worked too, had it marked the partition as bootable. I had to do that by setting the boot flag using gparted in Linux.

I previously used Ghost for all my Windows backups, but tried Acronis one day and never looked back. As Acronis itself is Linux-based, you'd think it would do a better job of backing up Linux than Windows, but with the AA1 that doesn't seem to be the case. I'll report back if I manage a significant improvement on my first attempt.

Dave J
Jan 21, 2009 4:25:00 PM



Anonymous
Macles,

Here's something to ponder: is there a safe way to zero-fill the unused portions of the Linux swap space before doing a backup?

Dave J
Jan 21, 2009 4:43:00 PM



The problem of the blank screen and the AA1 failing to boot is a well known flaw that can occur randomly and is not related to AA1BACKUP, you can find a solution for it here.

If you're using the latest version you'll also get a specific error message when restoring the image fails. I'll add a verifying function to the secret menu which will also allow for a few more advanced options.

Jan 21, 2009 8:22:00 PM



Anonymous
Reporting back on my second Arconis backup:

I zeroed out the free space using Macles' super command (dd if=/dev/zero of=zero; rm -f zero) and it took about an hour to blank my mostly empty 160GB disk. Not sure exactly how long it took, as the AA1 went to sleep part way through. I kicked it off and blanked the screen. When I returned some time later, all disk activity had stopped. I pressed a key and the disk started again, but the screen remained blank. After a minute or so, the screen lit up, showing the command still running. It finished eventually. I guess there's a power save option I need to turn off somewhere -- I haven't looked into that yet.

So, I repeated the Acronis backup and this time noticed the total space used on the disk before the backup was 4.9GB, so my previous backup at normal compression into 3.4GB wasn't too bad after all. This time, the backup took longer, as one might expect -- about a couple of hours. The result: a 1.3GB image of the AA1. That's fantastic. The difference between normal and maximum compression isn't all that great space-wise, so it seems well worth blanking out the free space before doing backups -- with Acronis too.

Now if I could just blank out the swap space too...

Then, the not so good bit:

After rebooting to check file sizes, I decided to delete my first 3.4GB image file from the external disk. Linpus said "oh, no you don't" and proceeded to copy all 3.4GB of unwanted data from my external drive, over USB to my internal drive and into... ... the trash can. Thanks. All those lovely zeros now non-zero again. Trash non-zeros.

In the Ubuntu file browser, when you edit Preferences, on the "Behaviour" tab, there's a Delete command option that bypasses the wastebasket. With the AA1 file browser it isn't there. Is there a way to configure the AA1 file browser to do real deletes? Or do I have to remember to use rm?

Dave J
Jan 22, 2009 10:14:00 AM



Anonymous
I have a USB hard disk with three partitions. All in NTFS. One partition is almost empty and I would like to remove it and use it as backup space for the AA1. Do I need to create then a new partition with FAT32 structure? Or is it sufficient that the disk has a free space?

Winfried
Jan 22, 2009 5:45:00 PM



Andrew Robertson
Hi Macles,

I have today upgraded my memory and installed a 60gb 1.8" hard drive to my AAO.
I backed up my 8gb ssd using the above instructions,

I managed to restore to the hard drive and it boots successfully and the system knows the hard disc size is 60gb but looking in file manager the partition is only 6.4gb.
I tried to open disk management under the system menu and a pop up error message under the heading User mount tool says that "there are no file systems which you are allowed to mount or unmount, contact your administrator".

I'm new to all this Linux stuff but I have been getting places with help from this forum. I have done a search for disk management and user mount tool but no entries in the forum.
Any advice greatfully received.
Jan 24, 2009 6:41:00 PM



Anonymous
Backup Preparation Script

I've written a script to prepare your AA1 for backup. It uses Macles' command to zero-fill the free disk space and a few other things besides. The main purpose in writing it was to also zero-fill the Linux swap partition, making disk backups as compact as possible.

I've tested it with Aconis, which is what I use for backup. After I've run this script, Acronis can compress the 1GB Linux swap partition into a mere 6.2K. With Acronis, this doesn't make as much difference as had I hoped, because it seems Acronis already interprets the Linux swap partition structure and only backs up the data it needs to. In my case, the difference between zero-filling only the disk free space and also zero-filling the swap partition is 1.36GB compared to 1.34GB. Still worth doing, but no big deal. However, for those using AA1BACKUP, it could make a bigger difference. I'm posting the script here for anyone brave enough to give try it.

The script also clears out the Firefox browser cache, and after zero-filling the free disk space, shuts down the system ready for backup. Before running, it checks you aren't using the Linux swap partition, so to guarantee success you should shut down all other applications. Ideally, boot or reboot your AA1 and run the script without starting any other applications (including Firefox).

If you try it out, please post the results of using the script compared to only zero-filling the free disk space.

Here are the instructions for how to set up the script:

Press Alt-F2 and in the box, type "mousepad" without quotes. Clear the "run in terminal" box and click the "Run" button.

Copy and paste the script listed below into mousepad using Ctrl-C and Ctrl-V. Make sure you copy the whole script and nothing but the script. Save it as the file BackupPreparation.sh in the /home/user directory (your home directory).

Quit mousepad and start a terminal session using Alt-F2 again. Clear the command box and tick the "run in terminal" box. When you have a terminal session, type:

chmod 744 BackupPreparation.sh

That command makes the script executable. Now is the time to reboot and run the script without starting any applications, including your browser, so write down the following command. It needs to be done in a terminal session, as before:

./BackupPreparation.sh

Note the dot and slash. It won't start without them.

When the script has finished, it will shut down your AA1 ready for you to install your USB stick for backup. Do your backup in the usual way. You will need to run the script every time you do a backup, but don't try it with your first backup; make sure you already have a good backup first.

Dave J

Here's the script. The lines with a hash at the start are comments. Include these.

#
# This script (1) clears the Firefox browser cache, (2) zero-fills the
# Linux swap partition (assuming there is only one), (3) zero-fills all
# unused disk space, and (4) shuts down the system in preparation for
# backup. Before invoking this script, reboot the system and don't
# start any applications. Use it at your own risk. Risk it by typing:
#
# ./BackupPreparation.sh
#
# Version: 1.000; Dave J; 2009-01-24
#
# CAUTION: Distos that identify the Linux swap by UUID (eg: Ubuntu) will
# mess up with this script. Intended for AA1 Linpus only, as published.
#
set -- `swapon -s|tail -n 1`; SwPart=$1
if (($2!='partition')); then echo "Aborted: swap type is not 'partition'; try swapon -s"; exit 1; fi
if (($4!='0')); then echo "Aborted: swap space in use; try swapon -s"; exit 1; fi
echo "Swap space usage OK. This script will shut down the system when finished."
sudo echo "Don't interrupt this script. It takes a while to run and will mess up"
echo "your system if you do. Clearing the Firefox web browser cache..."
rm -f /home/*/.mozilla/firefox/*.default/Cache/*
#
echo "Zero-filling the swap partition $SwPart (ignore dd error message)..."
swapon -s; sudo swapoff -a; sudo dd if=/dev/zero of=$SwPart
sudo mkswap $SwPart; sudo swapon -a; swapon -s
#
echo "Zero-filling all free disk space (be patient; ignore dd error message)..."
dd if=/dev/zero of=ManyZeros.tmp; rm -fv ManyZeros.tmp
#
echo "Shutting down the system in preparation for backup..."
sleep 10s; sudo init 0
Jan 25, 2009 12:11:00 AM



Georges
Hi all,

I am asking myself a question :
I brough a AAO 150 with a 120GB HD in China (I live in China), so of course the windows is in chinese... I would like to have it in english without buying again a licence. So I thinks about this recovery partition because it has Windows but also the driver for the AA0.
I have ubuntu 8.04 on dual boot so I can access the /dev/sda1 (recovery) partition.

Actually fdisk -l /dev/sda give me :
/dev/sda1 :
- start = 1
- end = 764
- blocks = 6136798+
- id = 12
- system = Compaq Diagnostics

Do you think that if I use a raw partition extracted from a english AAO 150 directly on my recovery partition (by dd of course), it can works ?

Thanks,

Georges
Jan 25, 2009 10:49:00 AM



Anonymous
Georges,

First, do a full-disk backup of your AA1. Once you have that and you've done a restore test to prove it works, then you can try out what you suggest and if it doesn't work, it's easy enough to restore your disk to its previous state.

Dave J
Jan 25, 2009 11:43:00 AM



Georges
Dear Dave,

thanks for your advise, I have already done the backup with this great util from macles*.
I must find an image of a english recovery partition. Maybe somebody here can help me to provide it ;)

I have found this url : https://secure3.tx.acer.com/RCD/Main.aspx
But it says my S/N is not valid !!! I don't know why...

Georges
Jan 25, 2009 12:12:00 PM



Anonymous
I can't find the answer to this anywhere, so forgive me if it's in here:

Does the backup format an attached usb hard drive, I have about 60gb on there I would like to keep....??
Jan 25, 2009 2:26:00 PM



While I have had repeated problems with aa1restore, aa1backup worked flawlessly on the first try! It's so good to have a backup.
Jan 26, 2009 7:54:00 PM



Anonymous
I assume if you use the Windows version to install from that the USB stick is formatted as FAT32 and if you use the Linux version it is formatted in a linux filesystem?
Jan 28, 2009 11:06:00 AM



Anonymous
Thanks for all the help in not just this, but all the other tweaks as well. Sweet that Acer recognized this effort by naming one of their updates Macles. I hope they've included you in the loop more than this as quite a few of these tweaks have really pimped out my A1.
Jan 28, 2009 8:51:00 PM



Anonymous
Macles,
Sounds great but how do you get to save the backup to a different disk to the boot one? You mentioned a secret mode? Any clues hoe to activate it?

Thanks.
Jan 30, 2009 7:07:00 PM



The secret menu is currently not implemented. And to answer previous questions, it does not format the drive but just write a few files to it and installs a bootloader. Filesystem can be either any FAT flavour or ext2.

Jan 31, 2009 11:16:00 AM



Anonymous
OK. Thanks for the info, Macles. I'll find a drive I can dedicate to the backup and all should be fine.

I'd just like to add my thanks and appreciation to you for developing this tool. Managed to drop my AAO earlier this week and damage the hinge so a proper backup was preying on my mind. This should be exactly the solution I need.

Cheers
RichB
Jan 31, 2009 12:14:00 PM



zaao1
Hi Macles,

First of all, thank you for your fantastic website.
I'm currently having trouble creating the bootable USB drive. I followed your instructions but I noticed that the application had some issues with the Google web server. From time to time, during the download step, a URL containing the words "error too many redirections" appears and the download counter remains all time long on "0 Byte" downloaded. After a long time, the procedure ends. When I reboot and choose the USB drive, there's an error "Could not find kernel image: linux". This seems to confirm a problem related to file download. What should I do?

Regards,
zaao1
Jan 31, 2009 12:29:00 PM



zaao1
Hi,

I tried again today and it's working. Thanks!

Regards,
zaao1
Feb 2, 2009 12:30:00 PM



Anonymous
How can I format a 4GB USB drive to have just 1GB for the backup? The other 3GB can be used for other stuff.
Feb 2, 2009 9:58:00 PM



Jockthearab, Dundee
Hope someone can help a total linux novice here! I purchased a 160g Acer Aspire One for my daughter & have managed to configure/tweak it a bit from the way it was "out of the box". I'd now like to make a backup of it as it is at the moment. Her disk is currently showing "127.0GB free of 145.7GB".
I managed to successfully download the backup utility to a formatted 4G usb pen drive. When I tried to backup I unfortunately ran out of space on the pen drive (doh!)

I understand "dd if=/dev/zero of=zero; rm -f zero" will compress the file, but being a newbie how do I use this command?! Do I open a terminal & do this first then open a terminal again to run the backup downloader? Do I need to purchase a larger USB pen drive? I have an external Seagate hard drive (360G), but noticed when trying to transfer photo's from this to the AA1 it wasn't compatible-is there any way to perhaps use this instead?

Hope someone can help, I'm desperate to get my head round this Linux stuff!

Cheers in advance,

JtA
Feb 2, 2009 10:37:00 PM



Anonymous
I have just tried this back up utility and the usb has a file called lost+found MY DISK:// on the aao has these files aa1binlinux ; aa1rlinux ; AA0_v01-0-15E.iso ; zero should these file be on the usb and if so how do i get them on to my usb so it will work as a backup

mike46
Feb 5, 2009 11:18:00 AM



Anonymous
Do I understand correctly that this procedure does NOT back up any SDHC expansion? I'm about to add a 16GB SDHC expansion card to my 8GB SSD model, and I understand that new applications may then be split across both the internal SSD and the SDHC. Thus it seems that a backup needs to include both physical memory spaces.
What is a recommended method for backing up and restoring the entire "virtual SSD" space (24GB in my case)? Could this be done to an external USB hard drive?

Steve S
Feb 5, 2009 3:13:00 PM



Anonymous
Perhaps answering my own question, I suppose I could do the internal SSD backup and also at the same time make a separate image of the SDHC card...

Steve S
Feb 5, 2009 3:16:00 PM



Anonymous
Just wanted to register my PLEASURE - This Just Works! I'm on an Acer Aspire One 150L (120GB HDD, Linpus Linux) and an 8GB Sandisk Cruzer USB key thumb drive. I ran it without the zeroing via dd, and it was estimating around 8 hrs - would have gone right over the 8GB limit... so ran dd as directed and it worked fine. Backup completed successfully and weighed in around 5GB for the full Linpus install. Impressive! I deleted the swap partition and restored as a test, everything came back fine. Now I've tried Windows on it and I'm reverting to backup again to be doubly-sure. The fact it's a bit-for-bit copy is fantastic, no need to worry about partitions before restore. Brilliant work, thanks macles!
Feb 9, 2009 6:02:00 PM



Anonymous
O and it took about 55 mins to backup, and 1h20 to restore.
Feb 9, 2009 6:03:00 PM



Hi,

This may not be the right forum, but it was the only one to throw up my problem. My Aspire One running linux won't see any USB or extra SD Card memory. I get this message "There are no filesystems which you are allowed to mount or unmount.
Contact your administrator."
Is there any way to solve this problem?

Thanks

Simon
Feb 11, 2009 8:30:00 PM



Anonymous
Thanks for this valuable tool..........Have had problems with my acer one limpus......Im not a linux person but wanted to give it a try! Does anyone know how to get the clock to show 12 hour instead of 24 hour time?
Feb 13, 2009 12:36:00 AM



Yikes! I backed up my Windows XP install so that I could play with Ubuntu, confident in the knowledge that I could come back. The backup operation said it was successful. When I just tried to restore my XP backup, after getting through about 20% of the restore, I get the following error message:

--- ERROR
qlz: CRC error -- try the -R flag to recover
51102+668 records in
51102+668 records out
1685454848 bytes (1.7 GB) copied, 145.884 s, 11.6 MB/S

--- IMAGE NOT RESTORED
--- PRESS ANY KEY TO REBOOT


So, how would I go about using the "-R" option since this process is so nicely simplified? Any other suggestions?

TIA, John
Feb 16, 2009 6:01:00 PM



Anonymous
Hi there.
I have the Aspire 1 160GB with Windows XP Preinstalled.
I received NO reinstallation media for when that timescomes around when the HDD physically dies and loses the hidden partition with the Acer Recovery stuff on it.

How can I backup my computer.
I have tried the program on my USB Stick 4GB, but it only gets to 2% before the 4GB is used up.
What size media is required to complete a backup for my situation.

Has anyone successfully backup'd a 160GB Windows XP installation?
Feb 25, 2009 10:22:00 PM



Anonymous
Hi I've installed AA1 backup on my seagate 320G hard drive, but when I reboot and press f12 I don't get the option of back up and restore instead I get options for where I can reboot from, when I select the hard drive I get a blank screen.

any ideas please?
I have an acer aspire one 120Gb running windows xp
Feb 28, 2009 2:53:00 PM



Anonymous
Regarding the === Could not find kernel image: linux === error message:

I was having the exact same issue as many here and it appears that the solution is fairly simple-->the aspire has to have a working internet connection since it connects to google to retrieve the linux kernel iso..

I hope this saves some people the shrink money since it had me climbing up the walls till I figured it out :)

-Nikos
Mar 11, 2009 11:18:00 AM



Anonymous
BTW *many* thanks Macles you are a life saver.

-Nikos
Mar 11, 2009 11:19:00 AM



Hey, this is great, owever, when trying to run it my 8GB card ran out of space and the download stopped ???
Mar 11, 2009 4:37:00 PM



mp
Hello Macles and aao users :)
At first sorry for my bad English.

Thanks for great program.
And now my question:
I need restore from other device that it is not bootable.
Can I restore backup using (another live) Linux distribution with some script (dd or someting like that)....
Or is other way to do that?

Thanks for quick answer
Mar 14, 2009 10:46:00 PM



Anonymous
Hello all,
Before doing a backup yesterday, I zeroed the free space per the instructions. That operation froze up and I finally had to reboot. From that point forward, I have been unable to get aa1backup to run; it appeared to be related to improper formatting of the several USB drives I tried using, all of which had worked before this.
So here's where I am and need some help:
I ended up building a restore USB drive using the Restore DVD and loaded my AAO to its original state. Now I wanted to reload one of my good incremental backups, or at least confirm that AA1backup is now working.
I reloaded aa1backup and tried backing up to a now-empty 4GB drive that had at one time worked, and that I had reformatted to FAT32 using HPUSBFW.exe. F12 at boot allows me to select the USB drive, but I get the message "Disk Error - Press Any Key to Restart" for any USB key I use. Except for the Recovery USB key, which gives me a "No bootable partition in table" error.
I also tried a nearly-new never-used-with-aa1backup USB drive and got the Disk Error message.
Originally I thought I had a USB flash drive problem, maybe I still do, but with so many different drives that I have tried? Is there a better way to reformat a USB key other than HPUSBFW?
Need some help in moving forward... I'd hate to have to reinstall everything, especially without aa1backup working so that I can save my progress.
Steve S
Mar 21, 2009 4:58:00 PM



Anonymous
Ignore my prior post. Now running ok.

Steve S
Mar 21, 2009 9:14:00 PM



Anonymous
Is it possible to release a version that does not rely
on having an Internet connection to do the setup (i.e.
have the two downloads and the installer in one place,
so the installer looks there to get its stuff instead
of the Internet)? I guess the purpose of the download
stage is to enable upgrades to be invisibly slipped
into place, but the need for an Internet connection
seriously limits its applicability in circumstances
where a reinstall could be needed but an Internet
connection is unlikely to be available (such as a
volunteer enviro project I'm helping ruggedize
some data collection and processing systems for,
who will be schlepping an AA1 or similar off into
the middle of nowhwere for a few months next summer). ??
Mar 22, 2009 8:57:00 AM



First of all thanks macles for such an amazing and helpful blog on the aa1... I've followed many of your how-to's.

I backed up with no problem and after used the tutorial on dvd recovery so I was able to get to the 1.0.15.e instead of the 1.0.5 or 0.4 that shipped with my aa1.

No problems on neither of the procedures (to and from a 2gb usb drive), everything went smoothly... except for the "human factor" which made me forgot to manually backup one important folder (even though I took the precaution to backup to another linux system using nfs... but I forgot that folder)... so the question for anyone that might know the answer:

Is it possible to extract or read some files inside the aa1.000 or aa1.001 (my backup is using 1.4 gb more ore less so only 000 and 001) without restoring the whole system? In what format are they compressed, would it be possible to uncompress them? (I've tried with no luck extracting as several formats)

Thanks in advance
Mguel
Mar 23, 2009 1:21:00 AM



It's certainly possible to make a version that doesn't require internet connection. I did update AA1BACKUP quite frequently in the first few weeks without increasing the version number, and it was much easier to just upload one new file instead of compiling a new installer every time. It does also always get you the newest version even if you're using an older installer. I will release a version soon which will either have all necessary files alreay included in the installer or will just look for the files locally first.

And about the compression format used. You can get the files for Windows or Linux from here, but you must use the exact same version, which is 0.22 BETA, to extract it. You also need to join the files first. I may update to a newer version with slightly increased compression ratio and speed, but it will break backwards compatibility.

Mar 23, 2009 7:44:00 AM



Great!, thanks for the answer... by the way I was a bit urged so last night I decided to back up the new 1.0.15.E, restore the 1.0.3.E backup (I checked and it was the 0.3 version!), backup again the files, and then restore the 1.0.15.E backup... and all went flawless! So thanks a lot for the work, the rock solid utility, the answers, and the time sharing your knowledge and work.

By the way as I'm more or less new to linux I was curious of the process you described me to decompress the files so I tried to do it by:

1) downloaded the 0.22 linux version, uncompressed the tar.gz and make sure it was executable
2) joined the 000 and 001 files by:
$ cat aa1* > aao.qp02
3) extracted using the qpress:
$ ./qpress -dv aao.qp02 ./extracted/

And I ended with a single 7,5 GB file... so I believe I uncompressed it successfully but to a single file!... lol

Is it a drive image? can I get to the file level? or did I do something wrong?

Cheers,
Mguel
Mar 23, 2009 3:18:00 PM



It's a dd image of the drive. You can use losetup to create a loop device from it, which can then be mounted with the -o,loop option.

Mar 24, 2009 8:07:00 AM



Anonymous
> I will release a version soon which will either have all necessary files
> alreay included in the installer or will just look for the files locally
> first.

Great, and thanks for the answer! (All seconded :-)

In general, I think the monolithic solution is preferable as it's the most robust down-the-line when folks want to retrieve long-stored backups and the world has moved on to the Acer Aspire One (Thousand). It also addresses

> I may update to a newer version with slightly increased compression ratio
> and speed, but it will break backwards compatibility.

Update qpress as required and just keep any previous version online (maybe making it available from Day 1 for those anticipating long-term archiving)?

Less pessimistically than assuming a compression upgrade will break things:

> It's a dd image of the drive.

I haven't checked any of the following suggestions against the code of Unetbootin, qpress, Linux Live script, BUT: can you separately record the MBR during backup, and grab and examine it on restoration? (Or initially limit the stream to half a kilobyte or so in order to examine it at offset
0x1fe and 0x1ff) AND incorporate each revision of qpress that you use. If so, then modify the MBR signature during backup and check (then fix it) on restoration, calling the appropriate qpress revision accordingly: if it's 0xAA55 then use qpress version 0.22b, if it's something else (that you have written in to specify your versioning) then use whatever qpress version is appropriate, putting the standard signature back when writing it to the disk. Of course that would then break/complicate the simplicity of the loopback recovery process for people not using your routine to do the restoration. Anyway....
Mar 25, 2009 8:15:00 AM



Anonymous
Again thanks for this fast and pretty backup. I just tested linux4one, it gives 90s booting time and is painful slow. With the aa1 backup i get my old linpus fedora back within minutes. I found a old 10gb harddrive and use a usb-ata converter to connect it.
Mar 27, 2009 8:29:00 AM



Anonymous
Hey Macles,

I just got an aa1 a few days ago, first time I'm ever using Linux of any flavour (though I have been using OS X for years, so it doesn't appear totally alien to me) and last night I downloaded your script here and set up an external USB drive (120 gig Maxtor).

First backup seemed to go just fine, and although I have a (rare) instinctive faith in your knowledge and the likely quality of your coding, I figured with the variables involved - mostly the ext. disk, formatted to FAT32 on a Mac - it was best to test the restore side of things.

Better a controlled failure/disaster than an unexpected one, no?

So I just booted from the USB, asked it to restore over a perfectly happy and unsuspecting setup, crossed my fingers, grabbed a coffee, and watched and waited for ten minutes whilst your script hopefully did it's thing.

Result: a *perfect* restore.

So many, many, thanks for this. Not only have you made available something to save people's setups but you have also, as you probably realise, truly set them free to learn, play, explore and get right into Linux and the machine.

Huge kudos to you for that.

All the best,

Rob.
Mar 29, 2009 5:50:00 AM



Okay, I'm feeling VERY stupid right now. I just can't seem to get my USB Drive to boot. I've formated it as a FAT32 drive, ran the AA1BWINDOWS, everything seems to work fine. When I go to the boot menu on restart, it just completely ignores the USB Drive and starts up Windows as normal. I'm missing something :(
Mar 31, 2009 6:12:00 AM



Anonymous
I am having a problem where the aa1backup boot is not being recognized ie select usb drive to boot and then xp is booted from HDD. Any idea as to what is wrong,(I can see the aa1backup boot dir on the usb drive in windows).
Mar 31, 2009 2:27:00 PM



Anonymous
Hi Macles,

John posted on 16.February his failure of restore

--- ERROR
qlz: CRC error -- try the -R flag to recover

I got the same error, but earlier - my restore took only 4 seconds untill it stopped. How can it be fixed ? There is no option/possibility to set a flag -R.

I updated to BIOS 3.309, but i don't believe that's the cause.

Greetings from germany
Apr 5, 2009 1:27:00 AM



Anonymous
I ran dd if=/dev/zero of=zero; rm -f zero command and it froze so I interrupted it. A load of free space has gone. Ran it again and it put zeros in the rest of the free space but that big chunk of loat space is still gone. How do I get it back, please!!

David
Apr 8, 2009 10:34:00 PM


<   1 – 200 of 265  >