Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]How do I load new kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sg3616
n00b
n00b


Joined: 11 Jan 2016
Posts: 21
Location: North Carolina, US

PostPosted: Mon Jan 11, 2016 5:43 pm    Post subject: [SOLVED]How do I load new kernel? Reply with quote

Hi, I got gentoo installed and forgot a driver and the network is not working. I compiled a new kernel but am lost after I run
Code:
make install

I'm not sure what to do to get the new kernel to boot.


Last edited by sg3616 on Tue Jan 12, 2016 10:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
apiaio
Apprentice
Apprentice


Joined: 04 Dec 2008
Posts: 211

PostPosted: Mon Jan 11, 2016 7:16 pm    Post subject: Reply with quote

Hi sg3616 and welcome in Gentoo.

You can check which kernel is running using
Code:
uname -r

Kernel sources are in
Code:
/usr/src
directory

Quote:
I'm not sure what to do to get the new kernel to boot
Do you use GRUB or LILO ?

Please read https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader and https://forums.gentoo.org/viewtopic-t-24626.html
Back to top
View user's profile Send private message
sg3616
n00b
n00b


Joined: 11 Jan 2016
Posts: 21
Location: North Carolina, US

PostPosted: Mon Jan 11, 2016 8:18 pm    Post subject: Reply with quote

I'm using grub. Reading the second link now.
Back to top
View user's profile Send private message
sg3616
n00b
n00b


Joined: 11 Jan 2016
Posts: 21
Location: North Carolina, US

PostPosted: Tue Jan 12, 2016 12:17 am    Post subject: Reply with quote

I reinstalled and compiled the driver in. The network is working now, but I still don't know how to load a new kernel on a UEFI system. Any more suggestions?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7137
Location: Austria

PostPosted: Tue Jan 12, 2016 12:18 am    Post subject: Reply with quote

How did you install it in the first place?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
sg3616
n00b
n00b


Joined: 11 Jan 2016
Posts: 21
Location: North Carolina, US

PostPosted: Tue Jan 12, 2016 12:32 am    Post subject: Reply with quote

I used the live dvd.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7137
Location: Austria

PostPosted: Tue Jan 12, 2016 12:33 am    Post subject: Reply with quote

I'm not aware of any Gentoo installer - I'm sure you followed some instructions to setup the kernel for EFI boot?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
sg3616
n00b
n00b


Joined: 11 Jan 2016
Posts: 21
Location: North Carolina, US

PostPosted: Tue Jan 12, 2016 1:05 am    Post subject: Reply with quote

I followed the amd64 handbook.
Back to top
View user's profile Send private message
apiaio
Apprentice
Apprentice


Joined: 04 Dec 2008
Posts: 211

PostPosted: Tue Jan 12, 2016 5:20 pm    Post subject: Reply with quote

sg3616 wrote:
I reinstalled and compiled the driver in. The network is working now, but I still don't know how to load a new kernel on a UEFI system. Any more suggestions?
If your network is working now it means, that new kernel was successfuly loaded with new driver. Loading kernel is bussines of your bootloader.
I have on my PC UEFI too and changed kernel several times. After running
Code:
grub-mkconfig -o /boot/grub/grub.cfg
GRUB will find new kernel image and you can boot with new kernel. I think that it is clear or I do not uderstand you question
Quote:
...how to load a new kernel on a UEFI system
Back to top
View user's profile Send private message
sg3616
n00b
n00b


Joined: 11 Jan 2016
Posts: 21
Location: North Carolina, US

PostPosted: Tue Jan 12, 2016 10:09 pm    Post subject: Reply with quote

It was so easy and I was trying to make it hard. I was forgetting to reconfigure grub. Thank you guys for all the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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