[reboot post install] kernel panic! (résolu)
-
- newbie
- Messages : 5
- Inscription : lun. 17 sept. 2012, 11:40
[reboot post install] kernel panic! (résolu)
Bonjour, après avoir installer archlinux en suivant les instruction du guide et configuer arch comme je le souhaité avec l'instalation du bureau graphique tout va pour le mieux c'est la distrib qui me correspond. A ce stade tout fonctionne.
J'ai ensuite decider de faire une installation plus personaliser et la au reboot il y a un kernel panic.
D'abord j'ai modifier le partitionement:
Sda1 qui acceuil /boot
Sda2 pour /
Sda3 pour le swap
Sda5 pour /usr
Sda6 pour /var
Sda7 pour /tmp
Sda8 pour /home
Ensuite j'ai modifier le formatage , j'ai tout mis en ext4 y compris sda1 pour le boot; mkswap pour sda3 pas changer.
Ensuite pour monter les partition j'ai monter sda2 sur /mnt creer les fichier boot usr var tmp et home j'ai monter les partition correspondant.
Pacstrap base et base-devel sur mnt comme d'habitude puis j'ai voulu grup au lieu de syslinux donc pacstrap /mnt/ grub-bios
Je fait le genfstab puis arch-chroot sur mnt je nomme l'ordi etc/hosts et hostname je regle localetime sur paris comme indiquer je change la langue en francais iso et utf8, je lance locale-gen puis j'export la langue je regle la keymap je lance mkinitcpio comme indiquer.
Je fait grub-install /dev/sda puis je fait grub-mkconfig -o /boot/grub/grub.cfg je change mon passwd et je reboot et c'est la que je me retrouve avec un kerne panic :
/dev/sda2: clean, 788/98784 files, 36041/393592 blocks
switch_root: failed to execute /sbin/init: No such file or directory
[ 3.765221] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[ 3.765221]
[ 3.765916] Pid: 1, comm: switch_root Not tainted 3.5.3-1-ARCH #1
[ 3.766383] Call Trace:
[ 3.766587] [<c13be77e>] Panic+0x81/0x17b
[ 3.766923] [<c103c6c2>] do_exit+0x792/0x800
[ 3.767263] [<c103c9c4>] do_group_exit+0x34/0xa0
[ 3.767627] [<c103ca48>] sys_exit_group+0x18/0x20
[ 3.767998] [<c13cc21f>] sysenter_do_call+0x12/0x28
J'ai ensuite decider de faire une installation plus personaliser et la au reboot il y a un kernel panic.
D'abord j'ai modifier le partitionement:
Sda1 qui acceuil /boot
Sda2 pour /
Sda3 pour le swap
Sda5 pour /usr
Sda6 pour /var
Sda7 pour /tmp
Sda8 pour /home
Ensuite j'ai modifier le formatage , j'ai tout mis en ext4 y compris sda1 pour le boot; mkswap pour sda3 pas changer.
Ensuite pour monter les partition j'ai monter sda2 sur /mnt creer les fichier boot usr var tmp et home j'ai monter les partition correspondant.
Pacstrap base et base-devel sur mnt comme d'habitude puis j'ai voulu grup au lieu de syslinux donc pacstrap /mnt/ grub-bios
Je fait le genfstab puis arch-chroot sur mnt je nomme l'ordi etc/hosts et hostname je regle localetime sur paris comme indiquer je change la langue en francais iso et utf8, je lance locale-gen puis j'export la langue je regle la keymap je lance mkinitcpio comme indiquer.
Je fait grub-install /dev/sda puis je fait grub-mkconfig -o /boot/grub/grub.cfg je change mon passwd et je reboot et c'est la que je me retrouve avec un kerne panic :
/dev/sda2: clean, 788/98784 files, 36041/393592 blocks
switch_root: failed to execute /sbin/init: No such file or directory
[ 3.765221] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[ 3.765221]
[ 3.765916] Pid: 1, comm: switch_root Not tainted 3.5.3-1-ARCH #1
[ 3.766383] Call Trace:
[ 3.766587] [<c13be77e>] Panic+0x81/0x17b
[ 3.766923] [<c103c6c2>] do_exit+0x792/0x800
[ 3.767263] [<c103c9c4>] do_group_exit+0x34/0xa0
[ 3.767627] [<c103ca48>] sys_exit_group+0x18/0x20
[ 3.767998] [<c13cc21f>] sysenter_do_call+0x12/0x28
Dernière modification par kevlarcade le lun. 17 sept. 2012, 21:48, modifié 1 fois.
- benjarobin
- Maître du Kyudo
- Messages : 17612
- Inscription : sam. 30 mai 2009, 15:48
- Localisation : Lyon
Re: [reboot post install] kernel panic!
Je te conseil d'utiliser des UUID, sinon peux tu donner ton fstab ainsi que
Code : Tout sélectionner
grep "^HOOKS=" etc/mkinitcpio.conf
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
-
- newbie
- Messages : 5
- Inscription : lun. 17 sept. 2012, 11:40
Re: [reboot post install] kernel panic!
J'ai acces a rien du tout j'ai pas de dualbootle kernel panic freez le pc
- benjarobin
- Maître du Kyudo
- Messages : 17612
- Inscription : sam. 30 mai 2009, 15:48
- Localisation : Lyon
Re: [reboot post install] kernel panic!
liveCD ? De toute façon tu n'as pas le choix, même pour réinstaller 

Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
-
- newbie
- Messages : 5
- Inscription : lun. 17 sept. 2012, 11:40
Re: [reboot post install] kernel panic!
mon fstap:
et le mkinitcpio.conf
Code : Tout sélectionner
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
# UUID=7a6fe60f-3fd1-453d-b706-40a3cc9d47fd
/dev/sda2 / ext4 rw,relatime,data=ordered 0 1
# UUID=9d1cabd8-0b84-45f9-97bc-c253fd727732
/dev/sda1 /boot ext4 rw,relatime,data=ordered 0 2
# UUID=07588396-cf70-4ef9-ba78-96733a7b46f4
/dev/sda5 /usr ext4 rw,relatime,data=ordered 0 2
# UUID=5ec5733a-a240-43a8-8812-bae8e37a688f
/dev/sda6 /var ext4 rw,relatime,data=ordered 0 2
# UUID=ede82b5e-3c36-453d-903f-9b6145c4eba4
/dev/sda7 /tmp ext4 rw,relatime,data=ordered 0 2
# UUID=49b4c399-28fe-4600-8d2e-0c0a7cd01c1b
/dev/sda8 /home ext4 rw,relatime,data=ordered 0 2
Code : Tout sélectionner
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES="piix ide_disk reiserfs"
MODULES=""
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=""
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
# Some users may wish to include modprobe.conf for custom module options
# like so:
# FILES="/etc/modprobe.d/modprobe.conf"
FILES=""
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS="base"
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS="base udev autodetect pata scsi sata filesystems"
#
## This is identical to the above, except the old ide subsystem is
## used for IDE devices instead of the new pata subsystem.
# HOOKS="base udev autodetect ide scsi sata filesystems"
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS="base udev pata scsi sata usb filesystems"
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS="base udev pata mdadm encrypt filesystems"
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev usb lvm2 filesystems"
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev autodetect pata scsi sata filesystems usbinput fsck"
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=""
- benjarobin
- Maître du Kyudo
- Messages : 17612
- Inscription : sam. 30 mai 2009, 15:48
- Localisation : Lyon
Re: [reboot post install] kernel panic!
Tu donne toi même la solution à ton problème 
Une petite aide (Voir Wiki pour plus de détail) :

Une petite aide (Voir Wiki pour plus de détail) :
Il faut ensuite bien penser à régénérer l'initframeNOTE: If you have /usr on a separate partition, you MUST include the usr, fsck and shutdown hooks.
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
-
- newbie
- Messages : 5
- Inscription : lun. 17 sept. 2012, 11:40
Re: [reboot post install] kernel panic!
Et comment faire? a part les commandes de base je sais pas grand chose sur linux mais Arch est un bon prof
- benjarobin
- Maître du Kyudo
- Messages : 17612
- Inscription : sam. 30 mai 2009, 15:48
- Localisation : Lyon
Re: [reboot post install] kernel panic!
Tout d'abord tu chroot ton système, voir Wiki !!
Puis tu modifie HOOKS pour Et enfin tu lances depuis le chroot.
Puis tu modifie HOOKS pour
Code : Tout sélectionner
HOOKS="base udev autodetect pata scsi sata filesystems usbinput fsck shutdown usr"
Code : Tout sélectionner
mkinitcpio -p linux
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
-
- newbie
- Messages : 5
- Inscription : lun. 17 sept. 2012, 11:40
Re: [reboot post install] kernel panic!
Merci beaucoup sa marche niquel je marque résolu