- download gparted live cd from http://gparted.org/download.php and burd cd
- start pc with generated live cd
- attach usb hd
- mount usb hd with
sudo mount -t ntfs /dev/sdb1 /media
- detect latest sector to clone using
sudo parted /dev/sda unit s print
- launch clone process using
sudo dd if=/dev/sda of=/media/disk_clone.img count=<end sector of latest partition to clone>
Mese: Marzo 2017
Wine 32 and 64 on CentOS 7
erase old wine installations
# yum erase wine wine-*
install dependencies
# yum install samba-winbind-clients -y
# yum groupinstall 'Development Tools' -y
# yum install libjpeg-turbo-devel libtiff-devel freetype-devel -y
# yum install glibc-devel.{i686,x86_64} libgcc.{i686,x86_64} libX11-devel.{i686,x86_64} freetype-devel.{i686,x86_64} gnutls-devel.{i686,x86_64} libxml2-devel.{i686,x86_64} libjpeg-turbo-devel.{i686,x86_64} libpng-devel.{i686,x86_64} libXrender-devel.{i686,x86_64} -y
download and extract wine folder from online wine source repository
http://dl.winehq.org/wine/source
(es: for wine 1.8.7 is https://dl.winehq.org/wine/source/1.8/wine-1.8.7.tar.bz2 )
create wine build folders
# cd wine-1.8.7
# mkdir -p wine32 wine64
build 64 bit first and after 32
# cd wine64
# ../configure --enable-win64
# make -j 4
# cd ../wine32
# ../configure --with-wine64=../wine64
# make -j 4
install first 32 bit and after 64
# make install
# cd ../wine64
# make install
link: https://www.systutorials.com/239913/install-32-bit-wine-1-8-centos-7/