• [^] # Re: Déjà...

    Posté par . En réponse au message LVM + mauvaise manip = ... Kernel Panic :-(. Évalué à 1.

    Merci pour les conseils. Malheureusement, c'est toujours quand on a tout cassé que viennent les regrets !

    les commandes lvscan/pvscan plantent avec une segmentation fault ! Probablement parce que la couche LVM n'est pas définie...

    Voici les messages au boot (recopier à la main :-( ):

    Makking device-mapper control node
    Scanning logical volumes
    Partial mode. Incomplete volume groups will be activated read only.
    reading all physical volumes.
    ERROR : /bin/vgscan exited abnormally !
    Activating logical volumes
    Partial mode. Incomplete volume groups will be activated read only.
    ERROR : /bin/vgchange exited abnormally !
    Making device nodes
    locking type 1 initialisation failed
    ERROR : /bin/mknodes exited abnormally !
    Mounting root filesystem with flags notail
    mount : error 2 mounting reiserfs flags notail
    well, retrying without the flags
    mount : error 2 mounting reiserfs
    well, retrying without any flags
    mount : error 2 mounting reiserfs
    pivotroot : pivot_root (/sys/root, /sysroot/initrd) failed : 2
    umount /initrd/sys failed : 2
    umount /initrd/proc failed : 2
    Initrd finished
    Freeing unused kernel memory : 260K freed
    kernel panic - not syncing : No init found
    Try passing init = option to kernel.

    Voilà, c'est un peu compréhensible pour moi. Maintenant place aux questions :
    1) quelles peuvent être les options interessantes à passer aux kernel ? A part init=3, je ne connais rien d'autre. Dommage qu'au moment du boot il n'y ai pas d'aide proposée

    2) est ce que avec un autre disque dur, la manip suivante pourrait être utile (pas sûr de la syntaxe) :
    - dd if=/dev/hdb1of=(l'autre disque)
    - réparation de ce qui va pas
    - dd if=(l'autre disque) of=/dev/hdb1.
    Je ne sais pas si avec un dd j'ai accés au FS....

    3) je ne comprends toujours pas comment un mauvais système peut empêcher un CD d'instal de faire son travail ?

    En tout cas je comprends mieux pourquoi les disques physiques ne peuvent se monter, s'ils ne contiennent aucun FS ...

    J'avais pourtant lu le LVM HOWTO + une doc SUSE dédiée au LVM, mais il manque un LVM-RESCUE HOWTO ...

    Enfin, si je dois tout effzcer, j'en profiterai pour tester une autre distrib (Ubuntu sûrement)

    En tout cas, merci pour l'aide.