
To accept the default value of 2 (the second partition) To give the boot partition a size of 512MB Press to accept the default start sector. We will be clearing the hard drive! Please backup anything important before going through this stage.įirst, let's remove the existing partitions: # fdisk /dev/sdaĮnter 'd' to delete - enter for as many partitions you haveĬreate the boot partition and the rest of the drive as the other partition # fdisk /dev/sda Boot to the ubuntu live cd (no installation yet.And by effortless I mean one liner commands, using pre-configured scripts.

Then, you will have to put some effort into configuring the system correctly for the first time, but from this point on, snapshot will become effortless. If you don't have a pre-configured volume group, you will probably need to install a fresh clean Ubuntu. It may seem complex at first, but I can assure you that after the first time effort, all that is needed to use the snapshot mechanism is just 2 line scripts (downloads provided!) Warranty - No warranty what so ever is given for the instructions below.

And so, once you decide to rollback the changes (or keep them), you can do it with one line. In short - snapshots are a way of freezing the used sectors on the HardDisk, telling the system to write any change/delete/add on a reserved part of the HardDisk, called a snapshot volume, thus postpone the decision of keeping/discarding the changes on the drive to some future time, as far as the snapshot volume space provides. The alternative - LVM Snapshots - You can read about LVM snapshots here:
