LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-24-2010, 01:08 PM   #1
deranjer
LQ Newbie
 
Registered: Jan 2010
Posts: 5

Rep: Reputation: 0
Please help, Linux boot problem, kernel panic, "cant open '/scripts/functions'


I recently updated my kernel to 2.6.26-2-686 on debian sid (yes now I realized the dangers of sid lol, but I wanted some cutting edge packages that were not available unless I went to sid, haven't had a problem until now though) and now whenever I attempt to boot (in normal or "recovery" mode) I get the following error:
Code:
/init: .: line 54: can't open '/scripts/functions' Kernel panic not synching Attempted to kill init!
I clonezilla'd the entire drive, and moved the hard disk to my main computer (same boot problem) and then got a debian cd, and went into recovery mode.
I tried to do
Code:
sudo apt-get update
and
Code:
sudo apt-get upgrade
to no effect. I was hoping there was maybe and upgrade or something that could fix it.

I then tried the following things that I found on google:

Code:
update-initramfs -u -t #Did not appear to help
apt-get remove initramfs-tools #lots of errors, shown below
apt-get install initramfs-tools #lots of errors, shown below
When doing that I got the following errors:
Code:
Setting locale failed
Language=CA
LC_ALL = (unset)
LANG="C.UTF-8"
perl:warning:Falling back to standard locale ("C")
cant set locale
locale:cannot set LC_CTYLE No such file or directory
locale:cannot set LC_MESSAGES No such file or directory
locale:cannot set LC_ALL No such file or directory
Then, when rebooting to the drive grub immediately went into recovery mode, and when I tried to boot the hard disk it said
Code:
no loaded kernel
I have a lot of custom programs and settings on this machine. In a last ditch effort, I attempted to reinstall (with just defining the / and swap partitions, not formatting the drive) and it displayed a chroot error. (the machine I have the hard disk in now is x64, and my old machine and the debian OS is 32bit, could that be the problem.. if so I can move it to another machine and try that again.)

If I do have to wipe the entire drive and start over, if I wanted to recreate the machine, what files/folders do I need to copy over to make it work the way it did? I'm afraid I'm mostly a linux noob, dont know where everything is stored. I was planning on copying "/etc" "/var" and "home" directories, but I don't know if that would restore Apache2 correctly, or Mediawiki, or Subsonic, etc, etc.

Any help on this would be greatly appreciated!
 
Old 04-29-2010, 09:45 AM   #2
jimtran
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Have you got an answer for your problem? I have the similar error but i don't know how can i repair .. pls HELP
 
  


Reply

Tags
kernel



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
Kernel panic cannot open root device "0" ??? M$ISBS Slackware 12 12-24-2008 06:40 PM
custom boot cd fails to boot with "Kernel panic - not syncing : vfs" ramachandra_ankireddy Linux From Scratch 1 11-23-2008 05:10 PM
"Kernel panic: VFS: Unable to mount root fs" - Kernel fails to boot linux Freedom Seeker Linux - General 11 11-12-2006 07:48 PM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:04 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