You are not logged in.

#1 2013-01-20 01:25:51

OpenEye
Member
Registered: 2012-01-14
Posts: 20

[SOLVED] Kernel Panic - systemd - sysvinit - initscripts

Hi, I'm a proud Arch Linux user for many years. But now I have made a mistake while upgrading to systemd.

First I installed systemd, then removed initscripts and sysvinit manually, after installed systemd-sysvcompat.

My excuse by not following the installation guide directly as suggested at systemd wiki
https://wiki.archlinux.org/index.php/Sy … stallation

Now I'm stuck with a Kernel Panic!

Can anybody help me please how to fix this? Thanks anyway.

Last edited by OpenEye (2013-01-21 02:11:14)

Offline

#2 2013-01-20 13:44:12

defmacro
Member
Registered: 2013-01-20
Posts: 2

Re: [SOLVED] Kernel Panic - systemd - sysvinit - initscripts

First, you need a install media, such like Arch install media.
then, do some type like:
# mount /dev/sdxY /mnt      #mount your root partition, x Y is your partition lebal
# mount /dev/sdxZ /mnt/boot      #If you use a separate /boot partition in your system
# arch-chroot /mnt      #Then you can fix your mistake by pacman
# cd /var/cache/pacman/pkg && pacman -U initscripts      #If you have packages cache

Offline

#3 2013-01-20 23:21:44

OpenEye
Member
Registered: 2012-01-14
Posts: 20

Re: [SOLVED] Kernel Panic - systemd - sysvinit - initscripts

Thanks for the reply.

However I have already tried that. Doesn't work, I'm still stuck with a Kernel Panic. Are there any more clues or solutions?

Offline

#4 2013-01-20 23:25:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] Kernel Panic - systemd - sysvinit - initscripts

What boot loader are you using, what is in your bootloader config?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2013-01-20 23:45:04

OpenEye
Member
Registered: 2012-01-14
Posts: 20

Re: [SOLVED] Kernel Panic - systemd - sysvinit - initscripts

Trilby wrote:

What boot loader are you using, what is in your bootloader config?

Hi, I'm using Grub legacy, is there any unusual?

# (0) Arch Linux
title  Arch Linux
root   (hd0,6)
kernel /vmlinuz26 root=/dev/disk/by-uuid/* 
ro initrd /kernel26.img

Last edited by OpenEye (2013-01-21 02:12:27)

Offline

#6 2013-01-21 01:19:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] Kernel Panic - systemd - sysvinit - initscripts

Well, not what I was thinking might be wrong - but there are two oddities:

1) the initrd line should be it's own line as it is you are passing "initrd /kernel26.img" to the kernel rather than to grub.  It's quite likely that this could be the problem.
2) Still on 2.6?  If you want an LTS kernel, you should be on 3.0 (I think 3.0 ... definitely something newer than 2.6 though).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2013-01-21 02:20:42

OpenEye
Member
Registered: 2012-01-14
Posts: 20

Re: [SOLVED] Kernel Panic - systemd - sysvinit - initscripts

Trilby wrote:

Well, not what I was thinking might be wrong - but there are two oddities:

1) the initrd line should be it's own line as it is you are passing "initrd /kernel26.img" to the kernel rather than to grub.  It's quite likely that this could be the problem.
2) Still on 2.6?  If you want an LTS kernel, you should be on 3.0 (I think 3.0 ... definitely something newer than 2.6 though).

Thank you very much for your time! This solved the issue. I messed up the menu.lst after the kernel panic.

According to

cat /proc/version = Linux version 3.6.11-1-ARCH

Do you know why it boot /kernel26.img ? How can I fix this? Thanks again.

Offline

Board footer

Powered by FluxBB