LinuxQuestions.org
Help answer threads with 0 replies.
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 01-03-2008, 09:11 PM   #1
RensoreK
LQ Newbie
 
Registered: Jan 2008
Posts: 6

Rep: Reputation: 0
Kernel Panic - not syncing: Attempted to kill init!


I'm installing Mandriva 2008 (LiveCD) distro and I am somewhat new to linux but upon installing the OS, Vista kept booting, so using a Super

Grub CD I reinstalled Grub (Mandriva some reason wouldn't load it properly). Now when I boot Vista, it works, but Mandriva I get this error.

Where did I go wrong? Your help is appreciated!







Code:
Loading ext3.ko module
Mounting /proc filesystem
Mounting sysfs
Creating device files
Mounting tmpfs on /dev
Creating root device
No resume device specified
Trying userspace resume from suspend.conf file
No Resume device in suspend.conf
echo: cannot open /sys/power/suspend2/do_resume for write: 2
echo: cannot open /sys/power/tuxonice/do_resume for write: 2
Mounting root filesystem /dev/root/
mount: error 6 mounting ext3 flags defaults
Well, retrying without option flags
mount: error 6 mounting ext3
Well, retrying without any flag
mount: error 6 mounting ext3
Switching to new root
ERROR opening /dev/console!!!!: 2
unmounting old /proc
unmounting old /sys
switchroot: mount failed: 22
Kernel Panic - not syncing: Attempted to kill init!
 
Old 01-04-2008, 05:07 AM   #2
samwise17
Member
 
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87

Rep: Reputation: 15
I notice two things. One, the system appears to be trying to resume from suspend to ram or disk. Two, an ext3 filesystem is failing to mount. Maybe Grub is using the wrong partition as root after the reinstall. I suggest it's the swap partition, as this could explain the resume-from-suspend attempts. Remember, grub counts partitions from zero. This has screwed me over fustratingly before. Do you know the partition layout on your hard drive? That is, which partitions are used for root, swap, home? You should double check the layount with what grub has in /boot/grub/menu.lst. It should be something like
Code:
title Mandriva Linux
root (hd0,2)
kernel /boot/vmlinuz
initrd /boot/initrd
Now grub counts from zero, so (hda,2) is actually the third hard drive partition.

If you can't boot linux at all, a live-cd can be very helpful, so try booting from the mandriva live cd to get some diagnostic info. Or get a special-purpose live cd such as Knoppix or PuppyLinux (I really like Puppy), which are great system-rescue tools.
 
Old 01-04-2008, 05:17 AM   #3
RensoreK
LQ Newbie
 
Registered: Jan 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I've tried booting directly from the partition using Super Grub CD and I get a constant beep from the pc speaker, I've also tried booting failsafe minus the resume parameters and the kernel still panics. I have only 3 partitions a 8GB / partition, 3GB swap and a 60GB /home partition.

Last edited by RensoreK; 01-04-2008 at 05:24 AM.
 
Old 01-04-2008, 05:22 AM   #4
samwise17
Member
 
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87

Rep: Reputation: 15
I might try and give you a bit more info about what I see in the error message.
A Kernel Panic happens when the operating system cannot continue. Basically it's a system crash.
Code:
echo: cannot open /sys/power/suspend2/do_resume for write: 2
echo: cannot open /sys/power/tuxonice/do_resume for write: 2
suspend2 and tuxonice are programs that allow you to suspend/put to sleep your system. Neither of them have resume information.
Code:
 
Mounting root filesystem /dev/root
mount: error 6 mounting ext3
...
switchroot: mount failed: 22
The root filesystem (all the important system files) can't be accessed. So the system grinds to a halt.
 
Old 01-04-2008, 05:34 AM   #5
samwise17
Member
 
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87

Rep: Reputation: 15
That was quick!
Does the Mandriva CD still boot? It could be a corrupt install. In fact, not having grub working in the first place is really unusual. Reinstalling Mandriva could be the go.

If you want to poke around a bit more first, get a live cd and look at the partitions with GParted, and look at /etc/fstab, a file which lists all the disk partitions, their type, and which device they are on (devices are special files in the /dev directory. You hard drive will be /dev/hda or /dev/sda. Partitions will be /dev/hda1, /dev/hda2, etc).

Last edited by samwise17; 01-04-2008 at 05:39 AM.
 
Old 01-04-2008, 05:40 AM   #6
RensoreK
LQ Newbie
 
Registered: Jan 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Well GRUB works fine. I can boot my windows partition, and my Mandriva LiveCD boots perfectly, compfusion and everything, including network and sound
 
Old 01-04-2008, 11:10 PM   #7
samwise17
Member
 
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87

Rep: Reputation: 15
Ok. So grub is working, live cd works, and the hard drive mandriva install will not boot, even if done directly with a grub boot cd. Maybe when you reinstalled grub you overwrote something, but I don't know enough about mandriva to be sure about how they set up grub and the system boot.
Either start from scratch and reinstall, or post the content/boot/grub/menu.lst and /etc/fstab files. You should be able to mount and look at your hard drive with the mandriva livecd. Also have you tried looking on google for other mandriva uses with the same or similar problem?
 
  


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
Kernel panic - not syncing: Attempted to kill init! potsilui Linux - Kernel 28 05-09-2012 11:46 AM
kernel panic - not syncing: Attempted to kill init! k5knt Linux - General 39 07-18-2007 12:47 AM
Kernel panic - not syncing: Attempted to kill init! Kotresh Linux - Kernel 1 04-13-2007 07:21 AM
Kernel Panic - not syncing: Attempted to kill init! teluguswan Red Hat 0 12-20-2006 03:23 AM
Kernel panic -not syncing:Attempted to kill init! vengadesan Linux - Server 1 10-31-2006 07:39 AM


All times are GMT -5. The time now is 12:02 PM.

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