- Create recovery media and test it
- Shrink the W7 partition. Turn off memory file. Turn off hibernation:
Kod: Zaznacz cały
powercfg -h off
- Use clonezilla to store the W7 partition
Kod: Zaznacz cały
ntfsclone -s -o - /dev/sdax | gzip -c >image.gz
- If you have a Windows 7 installer and want to use it:
- Create linux partition number 3 and extended partition number 4. Leave space at the beginning for Windows. Probably if you reserve also the 2nd partition for Linux, W7 will install both loader and system into partition 1. But to save partitions it's better to have W7 loader at 1, and Windows in the extended.
- Install Linux
- Install W7 - it will create 2 partitions. The first one is a 100MB boot partition.
- Restore GRUB with Linux installer disk. Later it can be done through:
Kod: Zaznacz cały
/etc/default/grub, grub-mkconfig, grub-install
- Restore cloned partition:
Kod: Zaznacz cały
gzip -c image.gz | ntfsclone -O /dev/sdax -
- Log into installed W7 and use bcdedit to make cloned W7 loggable.
- Install Linux