Fedora Linux Support Community & Resources Center
  #1  
Old 8th January 2006, 09:53 PM
teraman Offline
Registered User
 
Join Date: Jul 2005
Posts: 7
boot error, kernel panic fedora core 4

Hi to all, first
I have an error at bootup, the error looks something like this: it displays "kernel panic", then "no kernel policy found", and then "halting startup". All this started to happend as I restarted after removing the selinux packages named setools & sepolicy, and latter installed the blackbox package, all this using yumex (I have not missed the redhat's repos with my other repos). Now I can't access my desktop, I want to try to recover my files, as I din't backup, is there someway to access my linux partitions? I have tried using a ubuntu live cd to try to access my partitions using"gksudo disks-admin" (system>admin.>disk), but I can only access swap partition, and two vfat partitions I have for windows xp.

thanks in advance everyone... and sorry for my english
Reply With Quote
  #2  
Old 8th January 2006, 10:07 PM
ryuheixys Offline
Retired Community Manager
 
Join Date: Jun 2005
Location: Everywhere you point
Posts: 186
did you try the rescue option on fedora disk1? you can usually mount the partition some place and edit some stuff.
I'm not sure how this happened exactly but I think you removed the files without disabling the SELinux options in the "system-config-security" utility. (then again, i'm not sure since I've never encountered this problem)
anyway, good luck
__________________
-------------
Patience is the key to Linux......
Reply With Quote
  #3  
Old 9th January 2006, 12:32 AM
teraman Offline
Registered User
 
Join Date: Jul 2005
Posts: 7
thank you for your replay, yes I tried the rescue mode disc, but dint know what to do there. If theres a way to disable the selinux options from the rescue cd, then the system will boot ok again? Also now I am trying to mount the partition where /root and /home directories are, using an old knoppix live cd.
Reply With Quote
  #4  
Old 9th January 2006, 04:53 AM
ryuheixys Offline
Retired Community Manager
 
Join Date: Jun 2005
Location: Everywhere you point
Posts: 186
I didn't exactly say that turning off SElinux will revive your computer since I have never had that problem.
However, I think its work giving it a try.
try editing the boot line on grub
add selinux=0 at the end of this line on the kernel that you're trying to boot.
ex:
title Fedora Core (2.6.12-1.1398_FC4.desktop_1)
root (hd0,0)
kernel /vmlinuz-2.6.12-1.1398_FC4.desktop_1 ro root=/dev/hda2 quiet selinux=0

if that doesn't work:
1. first mount the whole system someplace (using the knoppix Live CD)
2. edit the file /etc/selinux/config
3. make it look like this:

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

now reboot the system and see if it boots.
__________________
-------------
Patience is the key to Linux......
Reply With Quote
  #5  
Old 9th January 2006, 05:01 AM
ryuheixys Offline
Retired Community Manager
 
Join Date: Jun 2005
Location: Everywhere you point
Posts: 186
Also, grub tells you how to use itself at the boot up screen so just read whats on the bottom.
good luck!
(if you can't figure it out try googling for "how to use grub", that should come up with something)
__________________
-------------
Patience is the key to Linux......
Reply With Quote
  #6  
Old 9th January 2006, 09:38 PM
teraman Offline
Registered User
 
Join Date: Jul 2005
Posts: 7
Quote:
Originally Posted by ryuheixys
I didn't exactly say that turning off SElinux will revive your computer since I have never had that problem.
However, I think its work giving it a try.
try editing the boot line on grub
add selinux=0 at the end of this line on the kernel that you're trying to boot.
ex:
title Fedora Core (2.6.12-1.1398_FC4.desktop_1)
root (hd0,0)
kernel /vmlinuz-2.6.12-1.1398_FC4.desktop_1 ro root=/dev/hda2 quiet selinux=0

if that doesn't work:
1. first mount the whole system someplace (using the knoppix Live CD)
2. edit the file /etc/selinux/config
3. make it look like this:

# This file controls the state,,,

now reboot the system and see if it boots.
Thanks you for your help, the system is booting-up normaly again . Adding "selinux=0" to the grub line "kernel /vmlinuz-2.6.12-1.1398_FC4.desktop_1 ro root=/dev/hda2 quiet" have worked and now I have no error at bootup. Thank you ryuheixys for all your help. I think that for now on I will always get this selinux feature turned off before destinating it for daly use since It seems that I dont need this feature for now. Many thanks again.
Reply With Quote
Reply

Tags
boot, core, error, fedora, kernel, panic

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
First boot x64_86 error - kernel panic Jongi Installation, Upgrades and Live Media 9 14th February 2008 11:07 PM
Kernel Panic Error Message on boot for FC5 gotrojan EOL (End Of Life) Versions 8 3rd February 2007 02:42 AM
Fedora Core 6, Kernel Panic error after updates crash kamby Using Fedora 0 5th December 2006 01:20 AM
FC3 boot giving kernel panic error raki EOL (End Of Life) Versions 2 20th January 2006 10:10 AM
First Boot! mount error 2 !!! Kernel panic txcrittr Installation, Upgrades and Live Media 2 18th January 2006 09:17 PM


Current GMT-time: 14:53 (Friday, 25-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat