Unmount the partition
Unmap the partition
cryptsetup luksClose securebackup
Computing information, plain and simple!
To setup partition encryption on Ubuntu, perform the following steps:
Install the required software
apt-get install cryptsetup
For more security, erase the partition you want to encrypt with one of the following commands
sudo dd if=/dev/zero of=/dev/sdXN bs=4K or sudo badblocks -c 10240 -s -w -t random -v /dev/sdXN or sudo dd if=/dev/urandom of=/dev/sdXN bs=4K
Load the encryption kernel modules
sudo modprobe dm-crypt sudo modprobe sha256 sudo modprobe aes
Enable encryption on the partition you want to encrypt
cryptsetup --verify-passphrase luksFormat /dev/sdXN -c aes -s 256 -h sha256
Map the partition you want to encrypt
cryptsetup luksOpen /dev/sdXN securebackup
Format the partition
mkfs -t ext3 -m 0 -O dir_index,filetype,sparse_super /dev/mapper/securebackup
It is possible to backup and restore the activation status of Windows 7
To backup the activation status, backup the following files. Administrator access rights are required. Make sure you have the Windows activation key.
To restore the activation status, restore the backup files. Administrator access rights are required. Make sure you have the Windows activation key.
slmgr.vbs -dlv slmgr.vbs -dli slmgr.vbs -ato
The loop device on Unix lets access a file as a block device. Disks are block devices. So, it is possible to use a file as a disk. The first step, create a file that will be used as a disk.
dd if=/dev/zero bs=1M count=100 of=/tmp/mydiskfile
Format your file as a file system. If /dev/loop0 is already used, use /dev/loop1.
losetup /dev/loop0 /tmp/mydiskfile mkfs.ext4 /dev/loop0 losetup -d /dev/loop0
losetup -d /dev/loop0 deletes the loop device
mount -o loop /tmp/mydiskfile /mnt
The file /tmp/mydiskfile can now be used as a disk with /mnt as the mount point!
You can set the brightness of the display by issuing this command within a shell
echo 3 > /sys/class/backlight/acpi_video0/brightness
where 3 is the brightness level. Its value is from 0 up to the value in the file /sys/class/backlight/acpi_video0/max_brightness.
Simply create a file named /etc/X11/Xsession.d/80overlayscrollbars and put into it the following line:
or simply execute the following command
echo "export LIBOVERLAY_SCROLLBAR=0" > /etc/X11/Xsession.d/80overlayscrollbars
You need to do the above as root. This fix also resolve the Eclipse scroll bars issues.