LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 01-23-2012, 10:55 PM   #1
ranaanmol
LQ Newbie
 
Registered: Sep 2011
Posts: 19

Rep: Reputation: Disabled
cannot boot ubuntu


All of sudden my ubuntu 10.0.4 has stopped booting. As i switch on the pc it gives the following error.

Target filesystem doesn't have /sbin/init.
run-init: /etc/init:Permission denied
[1.636730] Kernel panic - not syncing: Attempted to kill init!

thnx
 
Old 01-23-2012, 11:33 PM   #2
hydraMax
Member
 
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Blog Entries: 60

Rep: Reputation: 51
I don't know why it is happening, but I can tell you what is happening: When you boot your system, your computer passes control over to your bootloader (usually GRUB). Your bootloader loads the kernel from out of your /boot directory and also a temporary filesystem called an initramfs or initrd (also located in /boot). This initramfs gets a few more system things ready, and then passes off control to the real operating system (Ubuntu) by starting a script at /sbin/init. If /sbin/init doesn't exist (or some other problem occurs in the initramfs) then the kernel will just die ("panic") because there is nothing else for it to do.

So, some possibilities of what might have gone wrong:

* The hard drive (or hard drive partition) that contains your /sbin/init crashed or its data was corrupted (recent power outage? old hard drive...?)

* The latest initramfs/initrd you got (say from a software update) is corrupted somehow or not configured correctly. When you boot, and the bootloader appears, is there a different kernel version available for you to try instead of the default one?

* At some point you accidentally deleted your /sbin/init. Unlikely, but dumber things have happened.

Last edited by hydraMax; 01-23-2012 at 11:34 PM.
 
Old 01-24-2012, 12:00 AM   #3
ranaanmol
LQ Newbie
 
Registered: Sep 2011
Posts: 19

Original Poster
Rep: Reputation: Disabled
it shows only what i had already written. Nothing else.

thnx
 
Old 01-24-2012, 11:23 PM   #4
hydraMax
Member
 
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Blog Entries: 60

Rep: Reputation: 51
Do you have an Ubuntu live CD? Boot up into that, and see if you are able to access your system drive. (Especially see if your /sbin/init file is still there).
 
Old 01-24-2012, 11:39 PM   #5
ranaanmol
LQ Newbie
 
Registered: Sep 2011
Posts: 19

Original Poster
Rep: Reputation: Disabled
i have installed ubuntu 10.0.4 but i have the cd. however i have fedora core 6

i have ubuntu 10.0.4 dump as a folder in a cd.

thnx
 
Old 01-26-2012, 01:44 AM   #6
hydraMax
Member
 
Registered: Jul 2010
Location: Skynet
Distribution: Debian + Emacs
Posts: 467
Blog Entries: 60

Rep: Reputation: 51
Quote:
Originally Posted by ranaanmol View Post
i have installed ubuntu 10.0.4 but i have the cd. however i have fedora core 6

i have ubuntu 10.0.4 dump as a folder in a cd.

thnx
I do not understand what "i have ubuntu 10.0.4 dump as a folder in a cd" means. Are you a native English speaker?

You need a CD that allows you to boot into a live Linux system; that is, without actually installing it. Once you are back in Linux, you need to try to access the hard drive and see if the files on it are okay. It is possible to do this either using the graphical file manager, or by mounting the drive from a shell.
 
  


Reply

Tags
boot, fstab, kernel panic, ubuntu


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
Ubuntu 7.10 Dual Boot with XP, ubuntu partition deleted, grub 1.5 error 22 narchy Linux - Newbie 11 02-07-2011 03:54 AM
Delete Ubuntu kernels from dual-boot vista/ubuntu laptop? Leon14344 Linux - Laptop and Netbook 1 06-22-2009 10:32 PM
Dual boot: Ubuntu 8.04 and XP. XP won't boot now - loops back to Ubuntu Slowbey Linux - Newbie 9 01-05-2009 02:44 AM
Changing default boot OS back to Ubuntu without being able to boot Ubuntu revenge02 Linux - Newbie 5 04-16-2007 08:37 PM


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