Просьба оставить комментарий

Если вам понравился или не понравился топик. Я что то забыл или не дописал, то вы можете оставить свой комментарий и я постараюсь исправить это в ближайшее время.

пятница, 22 января 2016 г.

Dualboot Windows Linux

If you want Debian Jessie on the same disk as Windows 8.1, here are the steps I had to go through:
1) Turn off Windows Fast Boot
2) You need to shrink the main Windows 8.1 partition. This can be tricky, as Windows expects a certain partition scheme to be used. Let me show you a diagram:
[(Windows RE Tools)(EFI System Partition)(Microsoft Reserved Partition)(Windows 8.1)(Anything else)]
You can use your favorite tool to edit these partitions. I prefer Gparted, but any good disk partitioning tool can handle this. Backup your Windows install first. Then, resize the Windows 8.1 partition so that you have enough space for another OS. I prefer to give Debian about 100 GB of space.
3) Download your Debian Jessie iso and put it on some media (CD/DVD/USB/(insert your preferred media here)).
4) Shut off Secure Boot and Fast Boot in the UEFI. DO NOT TURN ON LEGACY BOOTING (if your motherboard supports UEFI only booting without Secure Boot and Fast Boot on.)
5) Insert your install media and install Debian Jessie in the 100 GB of space you left. Make sure that for your EFI boot partition, you make the installer use the EFI System Partition already created by Windows 8.1. The partition should be something like sdx2, but this could be different. DO NOT REFORMAT THIS PARTITION!! You are only going to tell the installer to use it as the EFI partition. It will put the grubx64.efi bootloader for Debian Jessie in this location.
6) With that done, continue the install as normal and set up your partitions as you see fit. Once the install is finished, you should be able to boot into Jessie easily.
If you are trying to fix an existing install of Debian Jessie, you will need to do:
sudo apt-get install grub-efi-amd64
sudo modprobe efivars
sudo grub-install /dev/sdx (x being the drive Debian is installed on)
sudo update-grub
From there, the UEFI should use Grub-EFI as the bootloader. I have not found a way to get the Windows 8 bootloader to see and allow Debian to boot. YYMV.