Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing gentoo alongside windows 10
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
crazynoob
n00b
n00b


Joined: 15 Dec 2016
Posts: 2

PostPosted: Thu Dec 15, 2016 2:44 pm    Post subject: installing gentoo alongside windows 10 Reply with quote

first of all i'm a new user in linux ,tried ubunto and i want something more customized as gentoo . however i got a little confused because when i want to use it alongside windows i got this
https://wiki.gentoo.org/wiki/UEFI_Dual_boot_with_Windows_7/8
which tells me to use gdisk instead of parted and use resquecd that i also cant figure the need for that, but i'd love to understand it.
in contrast the handbook doesnt mention it at all, i want to use parted because i understand it better , so i want to know whether i can to do that without causing damage to windows partitions,and in case it impossible,if you may , i want some information about gdisk that makes it more explicit .
fyi i use uefi . tnx for the help!
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Thu Dec 15, 2016 2:51 pm    Post subject: Reply with quote

You can use Gparted to partition your disk as you want.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Thu Dec 15, 2016 4:41 pm    Post subject: Reply with quote

sysresccd can boot in uefi mode; gentoo minimal install cd can not. If intending to boot gentoo in uefi mode it is best to boot the install media in uefi mode. If uefi variables are to be accessed in the chroot, the install system must have been in uefi mode. You could do the install from a minimal cd up to the point of needing efibootmgr or grub2 and then exit and boot a uefi capable livecd in uefi mode and enter the chroot to use efibootmgr and or grub-install (seems an odd choice) . Beside that, sysresccd provides better networking support and an optional xfce desktop with browser and tools and is gentoo based so directly usable.
At the time the wiki article was written gdisk was reliable for GPT, parted was not reliable for GPT, gparted did not do GPT, fdisk did not do GPT. gdisk still has a slight edge as a specialized tool.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3094
Location: Illinois, USA

PostPosted: Thu Dec 15, 2016 5:26 pm    Post subject: Reply with quote

Consider using refind to dual boot. See https://packages.gentoo.org/packages/sys-boot/refind and http://askubuntu.com/questions/760875/any-downside-to-using-refind-instead-of-grub and http://www.rodsbooks.com/refind/installing.html

Also see my thread here:https://forums.gentoo.org/viewtopic-t-1055958-highlight-.html
YMMV

The rodbooks link has a discussion of installing refind from Windows. Once you've got that , following my thread to add linux should be trivial.
Back to top
View user's profile Send private message
crazynoob
n00b
n00b


Joined: 15 Dec 2016
Posts: 2

PostPosted: Fri Dec 16, 2016 11:47 am    Post subject: Reply with quote

thank you! so if i get this right i can use refind as a boot loader and need to use the rescuecd because the uefi wont recognize the minimal cd . one last questiion if i boot from rescuecd how can i use the minimal cd?
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Dec 16, 2016 2:14 pm    Post subject: Reply with quote

crazynoob wrote:
thank you! so if i get this right i can use refind as a boot loader and need to use the rescuecd because the uefi wont recognize the minimal cd.

crazynoob ... you can boot the later but it won't be in efi mode, you need that to set up efivars (that is, to inform uefi that it should use rEFInd as the bootloader/bootmanager).

crazynoob wrote:
one last questiion if i boot from rescuecd how can i use the minimal cd?

sysrescuecd will function as the install CD, and you can follow the handbook as though you were booting the minimal. You don't need any specific bootdisk to install gentoo, as long as it provides whatever you need to boot (ie, hardware support, efi, etc) and can access the network, then you could use ubuntu, sysresccd, or similar boot disks.

best ... khay
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Dec 16, 2016 3:16 pm    Post subject: Reply with quote

BTW, a significant technicality, rEFInd is not a bootloader. rEFInd is a boot manager. rEFInd searches out a makes and graphical menu of boot loaders. efibootmgr is another boot manager for uefi systems. efi stub kernel uses the kernel as a boot loader. A boot loader loads just enough binary code in memory to load the operating system and then runs the code to install the OS. Imprecise syntax identifies grub, grub2, lilo, elilo, windows boot manager and a number of other combined boot manager/boot loader software/firmware products as boot loaders.
The combination of rEFInd and efi stub kernel is IMHO the lowest maintenance boot manager and boot loader combination. Other than building new kernels and deleting old ones there is nothing to do, no running elilo or grub-mkconfig to update the boot manager, no running elilo or grub-mkinstall to update a boot loader.
I have used https://wiki.gentoo.org/wiki/UEFI_Dual_boot_with_Windows_7/8 ,as written, many times without problems as long as I avoided genkernel and initramfs. I have gotten genkernel and initramfs to work once or twice, but their behavior seems subject to disruption and change.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7094
Location: Saint Amant, Acadiana

PostPosted: Fri Dec 16, 2016 3:28 pm    Post subject: Reply with quote

Are you saying rEFInd requires EFI stub kernel? I didn't know that.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Fri Dec 16, 2016 3:57 pm    Post subject: Reply with quote

@ Jaglover:
not specifically efi stub kernel, it needs a bootloader which may be a boot manager/boot loader combination like grub or elilo or ....
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3094
Location: Illinois, USA

PostPosted: Fri Dec 16, 2016 4:58 pm    Post subject: Reply with quote

Jaglover wrote:
Are you saying rEFInd requires EFI stub kernel? I didn't know that.

Refind will boot kernels directly if they are built with the correct configuration options as listed in the wiki. You don't have to change the kernel name. It will even detect "gentoo" in the kernel name, i.e. vmlinuz-4.8.15-gentoo and display the Gentoo icon instead of the penguin icon.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7094
Location: Saint Amant, Acadiana

PostPosted: Fri Dec 16, 2016 5:31 pm    Post subject: Reply with quote

Actually I've been using rEFInd for some time now, my kernels are EFI stub kernels, in case I need to boot directly. I didn't realize rEFInd won't boot a non-stub kernel.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3094
Location: Illinois, USA

PostPosted: Fri Dec 16, 2016 9:52 pm    Post subject: Reply with quote

The kernel does not need to be named bootx64.efi, however, but it may require CONFIG_EFI_STUB=y
I'm not sure because all my kernels have that config. They boot equally well EUEFI or, with grub, BIOS. Some people use refind to launch grub, but I don't bother. I don't need an extra layer with mind-numbing syntax.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum