While I've never tried this, I heard that Windows doesn't play nice with existing GRUB installations. Your best bet would be to do a clean Windows install, size the partitions as you see fit (read: don't let Windows gobble up all disk space, obviouslyXywa wrote:My question is, how is a best way (in 2018) to install / use both Windows 10 / Gentooo (dual boot)? I will have probably one big partition with Windows 10 after buying, or maybe is possible to ask before the buy to have a system with few partitions. Or maybe (based on your experience), do you think I should manually format the whole disc (as I used to do in 2008) t, made all partitions under Gentoo starter disc first. Then install both systems. What are your toughs in this area?
Formatting your Gentoo partitions with ext4 or anyting not named NTFS or FAT (why would you want to, anyway?Xywa wrote:t is possible to make Gentoo data on Gentoo partions safe from Windows - eg. if I have some viruses or malicious software, which could read or even encrypt partition like "Your personal files are encrypted” ransomware". I would like to have my Gentoo partition unvisable for Windows and all their spy agenda.
Bones McCracker wrote:It wouldn't be so bad, if it didn't suck.
NeddySeagoon wrote:The problem with leaving is that you can only do it once and it reduces your influence.


EFI stub lets the firmware boot Linux directly. In a dual boot environment, if the firmware does not make it easy to pick Windows vs Linux (and most make it hard), then a boot loader will be necessary to provide the chooser prompt. Once a boot loader is used for that purpose, EFI stub is no longer relevant.tuggbuss wrote:Wouldn't EFI stub be simpler on the Gentoo side? No need for a boot loader.

I have not tried with Windows 10, I have dual boot with Windows 8.1. (factory installed Windows 8.1) I rarely boot Windows - only connect to the net via wired ethernet for updates, so Windows does not have Wifi passwords. I have secure boot enabled and have my own keys installed. Deleting the Windows boot partition is a bad idea.Xywa wrote:My question is, how is a best way (in 2018) to install / use both Windows 10 / Gentooo (dual boot)? I will have probably one big partition with Windows 10 after buying, or maybe is possible to ask before the buy to have a system with few partitions. Or maybe (based on your experience), do you think I should manually format the whole disc (as I used to do in 2008) t, made all partitions under Gentoo starter disc first. Then install both systems. What are your toughs in this area?
I want use Windows just for PremierePro and maybe Gaming, and Gentoo for rest of work. It is possible to make Gentoo data on Gentoo partions safe from Windows - eg. if I have some viruses or malicious software, which could read or even encrypt partition like "Your personal files are encrypted” ransomware". I would like to have my Gentoo partition unvisable for Windows and all their spy agenda.
Unfortunately, is not possible to have a Windows on external disc, so I could plug in, run Windows, then plug off after the work - so I need to have bot on the same hard-drive in laptop.
Thank you for any answers and links.
P.S. I have no idea what is uefi (I use system with old fashion BIOS), so this also a reason I am asking.
I will do what you say. There is no other option from producer, only Windows 10. I will spilt it into second partition, install Gentoo and will try to learn about this rEFInd. Is there any good manual? Or maybe it will be faster to quick install eg. Ubuntu or Mandriva, and then add an extra partition for Gentoo and add it to the Ubuntu bootloader?The Doctor wrote:You can use rEFInd which just works. Or you can edit the bootloader on the laptop to do it for you. I like this option best. The kernels can set right next to the window kernel so no need to create /boot partitions


Code: Select all
Number Start (sector) End (sector) Size Code Name
1 2048 1023999 499.0 MiB 2700 Windows RE
2 1024000 2070527 511.0 MiB EF00 EFI System
3 2070528 2103295 16.0 MiB 0C01 Microsoft reserved
4 2103296 127932415 60.0 GiB 0700 Microsoft Windows v...
5 127932416 136321023 4.0 GiB 8300 Linux filesystem
6 136321024 199235583 30.0 GiB 8E00 Gentoo LVM
7 199235584 262150143 30.0 GiB 8E00 Calculate LVM
8 262150144 325064703 30.0 GiB 8E00 Redcore LVM
9 325064704 387979263 30.0 GiB 8E00 Arch LVM
10 387979264 450893823 30.0 GiB 8E00 Artix LVM
11 450893824 513808383 30.0 GiB 8E00 Pentoo LVM
12 513808384 534773726 10.0 GiB 8200 Linux swap


EFI BIOS doesn't load boot kernel and initram disk directly from the HDD. We need only 1 EFI Boot entry to load rEFInd boot manager. All distros boot kernel and initram disks will be configured in refind.conf for rEFInd Boot Manager to load on your select or you can even chainload GRUB boot manager with rEFInd.Yamakuzure wrote: Unfortunately I can't have that many, my EFI only allows three boot entries.rEFInd lists 6, but three are reserved.
Code: Select all
menuentry "Windows Server vNext" {
icon \EFI\refind\myicons\os_winnext.png
loader \EFI\Microsoft\Boot\bootmgfw.efi
}
menuentry "Calculate GNU/Linux LXQt" {
icon \EFI\Boot\myicons\os_calculate.png
volume <partuuid>
loader vmlinuz-4.16.14-calculate
initrd initramfs-4.16.14-calculate.img
options "rw root=/dev/calculate-vg/root rootfstype=xfs rootflags=noatime resume=UUID=<swap_uuid> rd.lvm.lv=calculate-vg/root rd.auto rd.retry=40 splash=silent,theme:calculate quiet"
submenuentry "4.14.39-calculate" {
loader vmlinuz-4.14.39-calculate
initrd initramfs-4.14.39-calculate.img
}
}
menuentry "Redcore GNU/Linux LXQt" {
icon \EFI\Boot\myicons\os_redcore.png
volume <partuuid>
loader vmlinuz-4.14.44-redcore-lts
initrd initrd-4.14.44-redcore-lts
options "root=/dev/redcore-vg/root rootfstype=xfs rootflags=noatime resume=UUID=<swap_uuid> rd.lvm.lv =redcore-vg/root rd.auto rd.retry=40 splash quiet"
submenuentry "Boot with 4.14.30 kernel" {
loader vmlinuz-4.14.30-redcore-lts
initrd initrd-4.14.30-redcore-lts
}
}
menuentry "Arch GNU/Linux" {
icon \EFI\Boot\icons\os_arch.png
volume <partuuid>
loader vmlinuz-linux-arch
initrd initramfs-linux-arch.img
options "rw root=/dev/arch-vg/root rootfstype=xfs rootflags=noatime resume=UUID=<swap_uuid> add_efi_memmap"
submenuentry "Boot using fallback initramfs" {
initrd initramfs-linux-arch-fallback.img
}
submenuentry "Boot to terminal" {
add_options "systemd.unit=multi-user.target"
}
}
menuentry "Artix Arch-openRC GNU/Linux" {
icon \EFI\Boot\myicons\os_artix.png
volume <partuuid>
loader vmlinuz-linux-artix
initrd initramfs-linux-artix.img
options "rw root=/dev/artix-vg/root init=/usr/bin/openrc-init rootfstype=xfs rootflags=noatime resume=UUID=<swap_uuid> add_efi_memmap"
submenuentry "Boot using fallback initramfs" {
initrd initramfs-linux-artix-fallback.img
}
submenuentry "Boot to terminal" {
add_options "systemd.unit=multi-user.target"
}
}

Sorry, my fault! I confused rEFInd with efibootmgr.Cuong Nguyen wrote:EFI BIOS doesn't load boot kernel and initram disk directly from the HDD. We need only 1 EFI Boot entry to load rEFInd boot manager. All distros boot kernel and initram disks will be configured in refind.conf for rEFInd Boot Manager to load on your select or you can even chainload GRUB boot manager with rEFInd.Yamakuzure wrote: Unfortunately I can't have that many, my EFI only allows three boot entries.rEFInd lists 6, but three are reserved.
This absolutely depends on your needs.1clue wrote:I would NOT dual boot.
Dual boot means you can never access all of your installed functionality at the same time.

Thanks for your very informative posting.olger901 wrote:Both Microsoft Windows and Linux should be able to using Secure Boot and work next to one and another, but be careful with Microsoft Windows Upgrades to new Microsoft Windows 10 versions, because they might "update" (wipe) your ESR partition. So make sure you backup that partition regularly.

Noone wrote:anything
Xywa wrote:Hi,
After 10 years or more ...
My question is, how is a best way (in 2018) to install / use both Windows 10 / Gentooo (dual boot)? I
Another way is having a look at https://wiki.gentoo.org/wiki/EFI_System ... ard_layout.Marlo wrote:Xywa wrote:Hi,
After 10 years or more ...
My question is, how is a best way (in 2018) to install / use both Windows 10 / Gentooo (dual boot)? I
I've been facing the same problem recently, but Sakkaki's guide is really great.
Look at the excellent one Sakaki's EFI Install Guide