LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 12-29-2005, 02:17 PM   #1
LegendBreath
Member
 
Registered: Apr 2005
Location: New Brunswick, Canada
Distribution: Fedora Core 3
Posts: 39

Rep: Reputation: 15
Trying to slim it down... "kernel panic"


Hi,
I tried to slim down Fedora Core 4 by modifying some files.
And it gives me the following error:
Code:
mkrootdev: label /1 not found
mount: erro 2 mounting ext3
ERROR opening /dev/console!!!!: 2
error dup2'ing fd of 0 to 0
error dup2'ing fd of 0 to 1
error dup2'ing fd of 0 to 2
switchroot: mount failed: 22
Kernel panic - not syncing: Attempted to kill init!
And its stop here. Can someone help me?
 
Old 12-29-2005, 03:06 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Boot with the Installion media in rescue mode an undo your changes or restore from backup.

You just might want to install the working kernel again.

Last edited by Lenard; 12-29-2005 at 03:08 PM.
 
Old 12-29-2005, 03:09 PM   #3
LegendBreath
Member
 
Registered: Apr 2005
Location: New Brunswick, Canada
Distribution: Fedora Core 3
Posts: 39

Original Poster
Rep: Reputation: 15
As I know me... I'll probably just format in 5 mins... :P
 
Old 12-30-2005, 12:26 PM   #4
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
I'm not sure what you thought you would accomplish. It is not recommended to manually modify files unless you are sure you know what you are doing.

Looks like you've messed up with grub.conf.
If you can get boot in like the previous post mentioned, looks like that's the first place to fix.
 
  


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
Explained: "kernel panic - not syncing - attempted to kill init" sundialsvcs Linux - Software 36 04-24-2010 08:58 AM
Kernel Panic - Missing "initrd.img-2.6.8-2-686" in /boot MKSrivastava Debian 2 12-02-2005 03:09 PM
Kernel Panic:VFS: Cannot open root device "hda3" or 00:10 shivendnrab Linux - General 1 07-01-2004 03:08 AM
I deleted partitions on one hdd and now get "kernel panic..." on other. Any ideas? rose_bud4201 Slackware 18 06-12-2004 11:17 AM
error:"kernel panic: VFS: Unable to mount root fs":-( shyguy Linux - Newbie 1 07-23-2001 04:03 PM


All times are GMT -5. The time now is 05:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration