Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Always keep a backup kernel when you compile a 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
crocket
Guru
Guru


Joined: 29 Apr 2017
Posts: 400

PostPosted: Wed Aug 21, 2019 9:03 am    Post subject: Always keep a backup kernel when you compile a new kernel. Reply with quote

You can keep the old kernel as a backup kernel.

I deleted the old kernel and compiled a kernel from a kernel config from void linux.
It failed to boot because the config was not compatible with gentoo linux.

I tried to boot linux from a usb flash drive, but failed for many hours.
Eventually, I installed archlinux on a usb flash drive, installed zfs-0.8.1 on it from arch user repository, mounted ZFS root file system, compiled a new kernel, and rebooted.
Figuring out how to install a linux distribution on a usb flash drive took hours. I didn't know that old UEFI implementations required EFI system partition to be at least as large as 512MB.
In total, fixing the kernel took about 9 hours.

Always keep a backup kernel in bootloader menu when you compile a new kernel. It's going to save you a lot of time.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1159
Location: switzerland

PostPosted: Wed Aug 21, 2019 9:36 am    Post subject: Reply with quote

make install create a kernel copy automatically (with .old at the end of the file name)
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Aug 21, 2019 10:35 am    Post subject: Reply with quote

crocket,

Welcome to the school of hard knocks. :)
_________________
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
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