Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UEFI Dual booting windows 8.1, kernel panic.
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
gangsterTown
n00b
n00b


Joined: 10 Feb 2019
Posts: 7

PostPosted: Sun Feb 10, 2019 4:30 am    Post subject: UEFI Dual booting windows 8.1, kernel panic. Reply with quote

Hi there, I've been attempting to UEFI dual boot my computer with windows 8.1. I should add, I've already had a successful install, but because I failed to install networking properly, I decided to reinstall Gentoo and completely failed the second time around. So I know this will work!

I followed this guide
reference: https://wiki.gentoo.org/wiki/UEFI_Dual_boot_with_Windows_7/8
and the chose the "Quick and easy" approach from it.

When it did work, I started the install in a non UEFI boot mode finished up until efibootmgr usage, and then rebooted in UEFI mode. Also, I vaguely remember accidentally making another ESP, and afterward finding out I didn't need two and that windows might even freakout if I made a second one. Even though, there might have been two ESP's while I was dual booting successfully. During the failed attempts, I only created a 4GB swap and 156GB rootfs partition in that order, I mounted the ESP from a seperate disk to /boot.

I'm completely lost as to what exactly is going wrong, but from what I've read online it seems I've got a kernel panic. (Upon boot and navigating the EFI bootloader, MSI Click-BIOS, I select my Gentoo entry and the initial printout eventually hangs). I was wondering if maybeI don't know what the hell the console is telling me, but I took a picture.

https://drive.google.com/file/d/1arAQoQ300vKKFu8EGCJTvXhny1U9BshV/view?usp=sharing
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Sun Feb 10, 2019 4:35 am    Post subject: Reply with quote

That looks bad, and not one of the normal errors one would expect to see from a first install. Can you try booting with noapic, or a kernel newer than 4.14?
Back to top
View user's profile Send private message
gangsterTown
n00b
n00b


Joined: 10 Feb 2019
Posts: 7

PostPosted: Sun Feb 10, 2019 5:02 am    Post subject: Reply with quote

Ant P. wrote:
That looks bad, and not one of the normal errors one would expect to see from a first install. Can you try booting with noapic, or a kernel newer than 4.14?


Should I just disable ACPI options in the kernel? When I search noapic I only find it as a grub argument, which I'm not using.

And how could I choose a newer kernel?
Back to top
View user's profile Send private message
gangsterTown
n00b
n00b


Joined: 10 Feb 2019
Posts: 7

PostPosted: Sun Feb 10, 2019 6:48 am    Post subject: Reply with quote

Wow!, I just went through another reinstall and it just workged!

Heres what I changed from my previous processes. I didn't configure the -march flag inside my make.conf. Originally I had that set to optimize my Skylake processor, but its working after I set it back to -march=native.

I also used paths from / in my /etc/fstab such as /dev/sda1 instead of UUID's.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Sun Feb 10, 2019 10:46 am    Post subject: Reply with quote

gangsterTown,

Welcome to Gentoo.

None of the changes you list account for your original kernel panic.

/etc/fstab can't be read until root is mounted and your original kernel didn't get that far.
make.conf is not used when the kernel is compiled.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
gangsterTown
n00b
n00b


Joined: 10 Feb 2019
Posts: 7

PostPosted: Sun Feb 10, 2019 5:53 pm    Post subject: Reply with quote

NeddySeagoon wrote:
gangsterTown,

Welcome to Gentoo.

None of the changes you list account for your original kernel panic.

/etc/fstab can't be read until root is mounted and your original kernel didn't get that far.
make.conf is not used when the kernel is compiled.


Now that you mention it, when I was configuring the EFI stub kernel, I used the address from root, similar to how I wrote my /etc/fstab. (I wrote /dev/sda2), instead of using a PARTUUID. I’ll update this thread if I remember any other changes I made during the installation.
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