nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Linux kernel deleted from /boot - how do I resinstall the kernel

This is a discussion on Linux kernel deleted from /boot - how do I resinstall the kernel within the Getting started tutorials forums, part of the Linux Getting Started category; If you have deleted the kernal from /boot by mistake, how will you reinstall the new kernel in linux rescue ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 08-03-2007, 03:40 AM
Junior Member
User
 
Join Date: Jul 2007
Location: Hyderabad
My distro: Redhat RHEL, Solaris
Posts: 29
Rep Power: 0
vaibhav.kanchan is on a distinguished road
Default Linux kernel deleted from /boot - how do I resinstall the kernel

If you have deleted the kernal from /boot by mistake, how will you reinstall the new kernel in linux rescue mode?


You have entered a command and you get the error message bash: comamnd not found. who is responsible for this error message:

a) kernel b) shell c) command itself.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-10-2007, 07:33 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 910
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Boot from the installation cd # 1
Type linux rescue at boot: prompt
Mount partition in r/w mode
Chroot partition (chroot /)
Install kernel from cdrom
Unmount cdrom and partition
Reboot the system
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 03-25-2008, 12:31 AM
Member
User
 
Join Date: Mar 2008
My distro: Debian, Slackware, LFS
Posts: 83
Rep Power: 1
Tux-Idiot is on a distinguished road
Question

/boot is always in ro mode. unless its a kernel upgrade or kernel tweak process. how you deleted a file from read only mode?
alternate method:
if system is still alive?
mount -o remount,rw /boot
apt-get reinstall kernel-`uname -r`
mount -o remount,ro /boot
the alternate method is told by nixcraft. kudos to him/her!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
problem with linux-2.6.12 kernel at boot time khadar Getting started tutorials 0 09-12-2007 03:38 PM
Display Linux kernel information sweta Getting started tutorials 0 07-27-2007 07:00 AM
Yum install kernel debuginfo packages kernel-debuginfo repo rockdalinux Getting started tutorials 0 06-15-2007 09:59 PM
What are the advances of Kernel 2.6 over Kernel 2.4 ricc Linux software 3 03-14-2006 12:42 PM
Is Linux kernel is monolithic or modular kernel? chiku Linux software 2 06-02-2005 03:40 PM


All times are GMT +5.5. The time now is 04:30 PM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36