LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2009, 03:58 AM   #1
hazos
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Rep: Reputation: 0
Talking CentOS Kernel dissappear after bridge delete


Hi to everyone
I prepared a system with Centos 5.1 with one LVM and two NICs for general purpose experiments in Linux (as a ). System run smoothly for several weeks and i could discover the strength of Linux day by day. Last week i decided to investigate the bridging procedure in order to bridge two networks that i had. I made yum install for all the required , i configure the bridge using brctl and everything worked fine. The problem begun when i decided to delete the bridge and roll back to the previous situation (two unbridged NICs). After bridge deletion, i made a reboot and from then the system responds "Error 15 : File not found". I understand that it cannot find the kernel and this is the strange thing. I search the disk and i couldn't find the kernel and the .img file in the /boot directory (or somewhere else). My current grub conf is

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,1)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.25-78.2.56.fc9.i686)
root (hd0,1)
kernel /vmlinuz-2.6.27.25-78.2.56.fc9.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.27.25-78.2.56.fc9.i686.img

SO, my question is: Is there any way to restore the kernel files (even the original - i have the installation CDs) in order to have the system back to operation or is there any way to perform a re-installation without losing any data?

thanks
 
Old 12-07-2009, 09:13 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
The sample of your grub.conf lists only one operating system (Fedora). CentOS is not listed. Also, your grub.conf defaults to the third item in the list of OSs, but only one OS is listed.
Quote:
#boot=/dev/sda
default=2
timeout=5
The default=2 is grub-speak for the third item in the menu list (numbering starts at 0).

Did you omit part of your grub.conf? if not, change the default to 0, then reboot to see if Fedora boots normally.

Last edited by bigrigdriver; 12-07-2009 at 09:14 PM.
 
Old 12-08-2009, 12:52 PM   #3
hazos
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by bigrigdriver View Post
The sample of your grub.conf lists only one operating system (Fedora). CentOS is not listed. Also, your grub.conf defaults to the third item in the list of OSs, but only one OS is listed.

The default=2 is grub-speak for the third item in the menu list (numbering starts at 0).

Did you omit part of your grub.conf? if not, change the default to 0, then reboot to see if Fedora boots normally.
You are absolutely right! I paste something wrong.
When i boot and grub loads i use e and i saw the following commands in grub:

root (hd0,0)
kernel /xen.gz-2.6.18-8.1.8.el5
module /vmlinuz-2.6.18-8.1.8.el5xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
module /initrd-2.6.18-8.1.8.el5xen.img
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How-To Delete File/Directory in CentOS console tyyp88 Linux - Newbie 13 12-15-2013 07:35 AM
CentOS on VMware - Bridge Connection - Ping - Unknown host m_abdelfattah Linux - Newbie 8 08-03-2008 06:50 AM
help me... centos 5.1 on xen bridge yjj3019 Linux - Enterprise 1 03-24-2008 11:59 PM
Shadows don't dissappear in KDE marco18 Linux - Software 1 07-27-2007 10:30 PM
Minimized windows dissappear thort Mandriva 7 07-18-2004 03:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration