← Back to team overview

xorg-prop-drivers-testers team mailing list archive

Re: Easier and Faster Ways of Installing Ubuntu

 

I forgot to add that after you have restore the partition, you need to
revalidate the kernel in grub.

sudo update-grub

On Sat, Apr 2, 2011 at 1:22 AM, Bee Hock Goh <beehock@xxxxxxxxx> wrote:
> Hi,
>
> For those of you who are interested, I have found a way to do it.
>
> 1. Create a small partition(example 8GB) that you will use for the Natty
> Nvidia Weekly Testing(take note of the partition, example /dev/sda7)
> 2. Do your installation and update on the new partition and once you are
> comfortable, you can start to do the backup.
> 3. sudo dd if=/dev/sda7 of=ubuntu-os-backup.img (this will do a low level
> copy of the partition into ubuntu-os-backup.img file)
> 4. Do all the testing that you want on the parition.
> 5. You can restore the partition to the original stage by doing "sudo dd
> if=ubuntu-os-backup.img of=/dev/sda7"
>
> *** VERY important notes ***
>
> - As dd is a low-level operation, it will be disastrous if you accidentally
> use the wrong value for of=<output destination>.
> - It works for me but do it at your own risk.
> - The time taken to backup/restore is directly related to the size of your
> partition. so remember to choose the appropriate size.
>
>
>



References