Snapper reverting changes on Fedora

List snapper BTRFS snapshots with

snapper list

If you are in recovery mode on Fedora, add –no-dbus right after the snapper command. e.g.

snapper --no-dbus list

You can use the diff command to list the changes that happened between snapshots.

snapper --no-dbus diff 108..109

And to undo a change or all the changes between a snapshot, do the following. Where 108..109 are all the changes you want to remove. So essentially going back to snapshot 108.

snapper --no-dbus -v undochange 108..109

Auto Start VM after XenServer reboot

SSH or gain command line access to XenServer

List VM UUID’s

Locate the UUID’s of the VM’s you want to start

# xe vm-list
uuid ( RO)           : 521be58a-3495-ea29-02a0-85ffcda06583
     name-label ( RW): CentOS 7
    power-state ( RO): running

Enable auto start

Change the UUID to the UUID of the vm you want to start automatically on server boot

xe pool-param-set uuid=521be58a-3495-ea29-02a0-85ffcda06583  other-config:auto_poweron=true

Print parameter settings

The following print if the poweron is turned on. Change out the UUID for the UUID of your VM.

xe vm-param-list uuid=521be58a-3495-ea29-02a0-85ffcda06583 | grep -i poweron | cut -d";" -f1

Example output

                      other-config (MRW): auto_poweron: true

Issues installing or repairing Windows 10

Error : Windows could no prepare the computer to boot into the next phase of the installation
Notes : This happens right after you finish partitioning and installation never gets past 0%
Fix : Disconnect all drives except the drive you want to install Windows 10.  This includes laptops.

Issue : Can’t reach login screen
Notes : Can happen after an update, auto repair should fix it
Fix : Start up the computer normal and when it starts to load windows force shutdown the computer.  Repeat the process 2 times, on the third start up it will Automatically try to fix the issue.

Other Issues

Windows 10 seems to be a little weird when you have two installs on two different drives and your trying to repair one.  I have had issues when trying to repair one, or boot into safe mode.  Removing all other other drives seems to resolve most of the issues.

Issues with multiple drives with an install of Windows 10

  • Reset Drive resets the wrong drive
  • Boot into safemode doesn’t work