a760
![]() |
|
|
|
|
|||||||
| Installing & Upgrading Installing and upgrading FreeBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
hej folks,
after several years using freebsd i had my first(lucky me ehh??) kernel which wasn't booting my system(kernel traps in a loop). no problem i thought, as i knew kernel.old should be created on every new kernelinstall via: Code:
cd /usr/src; make installkernel KERNCONF=mykernel Code:
cd /usr/src; make installkernel KERNCONF=mykernel DESTDIR=/mnt/bootdevice ![]() (maybe this is common knowledge or i misunderstood something, please enlighten me in this case )best regards, |
|
#2
|
||||
|
||||
|
This is why you should always install to a new directory (use KODIR=/boot/kernel.new and not DESTDIR), and use nextboot to tell the loader to use the new kernel for 1 reboot only.
If that kernel fails for any reason, just reboot, and the loader will use /boot/kernel as per normal. ![]() If the new kernel works, then just # mv /boot/kernel /boot/kernel.old; mv /boot/kernel.new /boot/kernel.
|
| The Following User Says Thank You to phoenix For This Useful Post: | ||
eyebone (April 27th, 2010) | ||
|
#3
|
|||
|
|||
|
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to get source for kernel, world to match currently running kernel? | Time2IPL | Installing & Upgrading | 4 | March 3rd, 2010 18:28 |
| 7.1 amd 64 on HP DV8000Z... Error: "/boot/kernel/kernel text=0x78eea0 | dgologanov | Installing & Upgrading | 0 | April 26th, 2009 04:18 |
| Building kernel modules without kernel source code | holycow | General | 5 | April 2nd, 2009 09:18 |
| Is the cciss kernel module available in the installation kernel & other general Q's | osx-addict | Installing & Upgrading | 2 | March 2nd, 2009 18:14 |
| [Solved] Kernel crash on 7.1-RELEASE-p3 with drm ? | olivier | FreeBSD Development | 5 | February 26th, 2009 19:53 |