Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[instal de stage4]kernel panic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Thu Jan 06, 2005 3:59 am    Post subject: [instal de stage4]kernel panic Reply with quote

salut!
voila j'ecris d'un livecd.
en voulant repartitionner mon dd et apres avoir avoir changer de file systeme passant de ext3 a reiserfs, j'ai qq problem pour demarrer sur ma gentoo.
sachant que j'ai modifie mon fstab, lilo.conf je n'arrive toujours a demarrer sur la gentoo.
en chroot, "lilo -v" me donne cette erreur que je ne comprends pas tres bien:
"reading boot sector from /de/hda
warnings:'/proc/partitions' does not match '/dev' directory structure
name change:'/dev/hda3' -> '/dev/ide/host0/bus0/target0/lun0/part3'
The kernel was compiled without DEVFS, but the '/dev' directory structure implements the DEVFS filesystem.part_nowrite check :: no such file or directory"

bon sachant qu'avant tout ce partitionnment, tout baignait...
si qqn voit la petite souris ....

merci d'avance
Back to top
View user's profile Send private message
bassman_fr
Apprentice
Apprentice


Joined: 30 Mar 2004
Posts: 201
Location: France Lyon

PostPosted: Thu Jan 06, 2005 7:49 am    Post subject: Reply with quote

peux-tu poster ton /etc/fstab ? et ton /etc/lilo.conf ?
ca nous aidera a t'aider ! :P
_________________
"La musique ne s'achète pas, elle se partage"
Leonard Bernstein
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Thu Jan 06, 2005 8:25 am    Post subject: Re: [instal de stage4]kernel panic Reply with quote

yesi wrote:
salut!
voila j'ecris d'un livecd.
en voulant repartitionner mon dd et apres avoir avoir changer de file systeme passant de ext3 a reiserfs, j'ai qq problem pour demarrer sur ma gentoo.
sachant que j'ai modifie mon fstab, lilo.conf je n'arrive toujours a demarrer sur la gentoo.
en chroot, "lilo -v" me donne cette erreur que je ne comprends pas tres bien:
"reading boot sector from /de/hda
warnings:'/proc/partitions' does not match '/dev' directory structure
name change:'/dev/hda3' -> '/dev/ide/host0/bus0/target0/lun0/part3'
The kernel was compiled without DEVFS, but the '/dev' directory structure implements the DEVFS filesystem.part_nowrite check :: no such file or directory"

bon sachant qu'avant tout ce partitionnment, tout baignait...
si qqn voit la petite souris ....

merci d'avance

je sens le gars qui a modifié sa table de partitions et qui a pas rebooté avant d'écrire sur le disque.
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Thu Jan 06, 2005 9:42 am    Post subject: Reply with quote

question con, t'as sauvegarde comment (avec quelle commande) ton systeme d'avant ?
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
yesi
Guru
Guru


Joined: 25 Oct 2004
Posts: 331

PostPosted: Fri Jan 07, 2005 1:36 am    Post subject: Reply with quote

salut,

petite précision : le problem avec lilo reste entier mais grub m'a sauvé en mofifiant le mtab (cp /proc/mounts /etc/mtab...): donc pour la peine j'ai changé de bootloader :)

- l'erreur lors du boot:
Quote:

mount-devfs-fs(): unable to mount devfs, err :-2
freeing unused kernel memory: 108k freed
warning: unable to open an initial console
kernel panic-not syncing:no init found
try passing init= option to kernel


-/etc/fstab
Quote:

/dev/hda1 /boot ext2 noauto,noatime 1 1
/dev/hda2 swap swap default 0 0
/dev/hda3 / reiserfs noatime 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0


-/etc/lilo.conf
Quote:

image = /boot/kernel-2.6.9-gentoo-r13
root = /dev/hda3
#root = /dev/ide/host0/bus0/target0/lun0/part3
label = gentoo
read-only # read-only for checking
append="init=/linuxrc ramdisk=4096 real_root=/dev/hda3 video=vesafb:ywrap,mtrr,1024x768-16@85 splash=verbose,theme:banja" #ramdisk=8192------->4096
# initrd=/boot/fbsplash-emergence-1024x768
initrd=/boot/fbsplash-banja-1024x768


la partie intéressante

-la sauvegarde a été executée avec le howto de stage4
tar -cjpf.... en excluant les répertoires /proc /tmp /sys /mnt
et décomprée avec "tar xvjpf"

-et sireyessire :
je n'ai peut-être pas en effet rebooté avant d'écrire parce que j'ai été pressé de partir ce jour là...:) mais je ne me rappelle plus très bien...
ah le vin...

mais là, le boot avec grub ne renvoie pas d'erreur à part le bootsplash qui doit être règlé...(config)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum