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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-03-2008, 09:11 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2008
Posts: 6
Rep:
|
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!
|
|
|
|
01-04-2008, 05:07 AM
|
#2
|
|
Member
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87
Rep:
|
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.
|
|
|
|
01-04-2008, 05:17 AM
|
#3
|
|
LQ Newbie
Registered: Jan 2008
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
|
01-04-2008, 05:22 AM
|
#4
|
|
Member
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87
Rep:
|
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.
|
|
|
|
01-04-2008, 05:34 AM
|
#5
|
|
Member
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87
Rep:
|
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.
|
|
|
|
01-04-2008, 05:40 AM
|
#6
|
|
LQ Newbie
Registered: Jan 2008
Posts: 6
Original Poster
Rep:
|
Well GRUB works fine. I can boot my windows partition, and my Mandriva LiveCD boots perfectly, compfusion and everything, including network and sound
|
|
|
|
01-04-2008, 11:10 PM
|
#7
|
|
Member
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87
Rep:
|
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?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:54 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|