kernel panic - not syncing: Attempted to kill init!
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: openSUSE, Manjaro, Fedora, Debian (and in theory Arch)
Posts: 16
Rep:
Agrouf,
I haven't tried booting in quiet mode yet -- I SuSE's GRUB to boot Elive and Fedora. What do I add to menu.lst to tell it to boot Fedora in quiet mode?
--- Physical volume ---
PV Name /dev/mapper/via_cghfdbhccbp4
VG Name VolGroup00
PV Size 36.27 GB / not usable 22.47 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 1160
Free PE 1
Allocated PE 1159
PV UUID 82QhnT-97OD-0WTL-Bf77-Jlu1-jg6z-TuoE66
I haven't tried booting in quiet mode yet -- I SuSE's GRUB to boot Elive and Fedora. What do I add to menu.lst to tell it to boot Fedora in quiet mode?
You have to add quiet at the end of the kernel line.
example :
--- Physical volume ---
PV Name /dev/mapper/via_cghfdbhccbp4
VG Name VolGroup00
PV Size 36.27 GB / not usable 22.47 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 1160
Free PE 1
Allocated PE 1159
PV UUID 82QhnT-97OD-0WTL-Bf77-Jlu1-jg6z-TuoE66
Is this software or hardware raid?
Does /proc/mdstats exist?
What is the output of dmraid -s?
What is the output of
Distribution: openSUSE, Manjaro, Fedora, Debian (and in theory Arch)
Posts: 16
Rep:
Agrouf,
I booted in quiet mode, and I copied down the entire boot output:
Code:
root (hd1,4)
Filesystemtype is ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 root=/dev/hdb5 quiet
[Linux-bxImage, setup=0x1e00, size=0x1c9dd4]
initrd /boot/initrd-2.6.21-1.3195.fc7.img
[Linux-initrd @ 0x1fd3100, 0x2be794 bytes]
Uncompressing Linux... Ok, booting kernel.
Red Hat nash version 6.0.9 starting
usb 2-2: device descriptor read/all, error -71
mount: could not find filesystem 'dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
I highlighted the 5 in the initrd filename as a reminder -- that's the new one I created.
It's hardware raid. These are my BIOS settings.
Serial ATA RAID BIOS Setting Utility V2.01
Serial_Ch0 Master: Array 0 - Raid 1
Serial_Ch1 Master: Array 0 - Raid 1
VIA PT800 North Controller, Rev C2
VIA PT8237 South Controller, Rev A2
Does /proc/mdstats exists?
Code:
No but proc/mdstat exists, I suppose you ment this.
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
unused devices: <none>
What is the output of dmraid -s
Code:
*** Active Set
name : via_cghfdbhccb
size : 240121720
stride : 8
type : mirror
status : ok
subsets: 0
devs : 2
spares : 0
What is the ouput of echo dm list | nash
Code:
(running in test mode).
Red Hat nash version 6.0.9 starting
rmparts sdb
rmparts sda
create via_cghfdbhccb
create via_cghfdbhccbp4
create VolGroup00-LogVol01
part VolGroup00-LogVol01
create VolGroup00-LogVol00
part VolGroup00-LogVol00
create via_cghfdbhccbp3
part via_cghfdbhccbp3
create via_cghfdbhccbp5
create via_cghfdbhccbp2
create via_cghfdbhccbp1
Distribution: openSUSE, Manjaro, Fedora, Debian (and in theory Arch)
Posts: 16
Rep:
Success!!
I changed /dev/hdb5 to /dev/sdb5, and Fedora booted up just fine [I'm writing this from Fedora] -- Thanks Agrouf for pointing that out!! I think I had tried that earlier, before I created the new initrd file, so I forgot all about that one...
I'm glad I stuck with it a bit longer. I knew Mandriva worked, but I really wanted to give Fedora a try. I liked what I saw with the live CD.
Congrats fire-tick, I'm glad for you. Have a happy fedora experience.
Sanoj21,
I suspect /dev/mapper/via_cghfdbhccbp4 is not generated and therefore vgscan doesn't find your pv.
I suggest adding the line "find /dev/mapper" after dm create and just before the vgscan in init
You can also try regenerating devs with mkblkdevs before vgscan.
Extract your initrd with the usual gunzip|cpio to /tmp/initrd, edit init and then you can regenerate initrd with
Had similar problem. Try checking and/or editing the /etc/ftab file. Also the grub configuration file. What might have happened is that the attempt to run Zen from the CD has altered the partion info. Did it install a swap partion or file?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.