[Réinstallation] Upgrade M3==>M4 sur pc32

ahlner Membre non connecté
-
- Voir le profil du membre ahlner
- Inscrit le : 30/08/2013
- Groupes :
J'ai déjà publié dans Retour d'expérience, mais je n'ai pas réussi à retrouver lemessage.
La mise à niveau a été effectuée par le DVD-32.
Au redémarrage dans le menu de grub2, seules les options relatives à mga3 démarrent.
Deux tentatives de réparrations :
update-grub2
Mise à jour par le DVD
Symptome : le chargement s'arrête très tôt pour tous les mga4. Je ne me souviens plus des messages.
Pour l'instant, j'utilise un autre disque dur (j'en utilise trois, sans toucher au MBR de /dev/sda, par clefs USB).
Je me demande maintenant si ce n'est pas dû à un initrd qui ne pointe pas sur la bonne version du noyau; mais je n'ai pas encore modifié des liens avec grub2, mais eulement avec grub-legacy.
Ce serait doublement intéressant de réparer sans réinstaller-formater :
--apprendre quelquechose d'intéressant (oublier la méthode Windows).
--gagner du temps.
Je rebrancherai le disque contenant Mageia 4 et openSUSE 12.3
Merci.
Edit
Sur le DD contenant Mageia
[root@localhost ahlner]# ls -l /boot/vm*
lrwxrwxrwx 1 root root 30 mars 18 01:22 /boot/vmlinuz -> vmlinuz-3.10.28-desktop-1.mga3
-rw-r--r-- 1 root root 3500288 févr. 1 17:25 /boot/vmlinuz-3.10.28-desktop-1.mga3
-rw-r--r-- 1 root root 3581504 janv. 24 15:07 /boot/vmlinuz-3.12.8-desktop-2.mga4
-rw-r--r-- 1 root root 3303424 mai 14 2013 /boot/vmlinuz-3.8.13-desktop-1.mga3
lrwxrwxrwx 1 root root 29 mai 1 22:22 /boot/vmlinuz-desktop -> vmlinuz-3.12.8-desktop-2.mga4
[root@localhost ahlner]# ls -l /boot/init*
-rw------- 1 root root 8585903 mai 1 22:47 /boot/initrd-3.10.28-desktop-1.mga3.img
-rw------- 1 root root 8839551 mars 18 01:22 /boot/initrd-3.10.28-desktop-1.mga3.img.old
-rw------- 1 root root 8555599 mai 1 22:48 /boot/initrd-3.8.13-desktop-1.mga3.img
-rw------- 1 root root 14386914 mars 18 01:23 /boot/initrd-3.8.13-desktop-1.mga3.img.old
lrwxrwxrwx 1 root root 32 mai 1 22:22 /boot/initrd-desktop.img -> initrd-3.12.8-desktop-2.mga4.img
lrwxrwxrwx 1 root root 33 mars 18 01:22 /boot/initrd.img -> initrd-3.10.28-desktop-1.mga3.img
Édité par ahlner Le 13/05/2014 à 23h11
"La théorie, c'est quand on sait tout et que rien ne fonctionne. La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi. Ici, nous avons réuni théorie et pratique : Rien ne fonctionne... et personne ne sait pourquoi !"
Albert Einstein
Albert Einstein

Visiteur
Visiteur
ahlner :
Salut,
J'ai déjà publié dans Retour d'expérience, mais je n'ai pas réussi à retrouver lemessage.
La mise à niveau a été effectuée par le DVD-32.
Au redémarrage dans le menu de grub2, seules les options relatives à mga3 démarrent.
Deux tentatives de réparrations :
update-grub2
Mise à jour par le DVD
Symptome : le chargement s'arrête très tôt pour tous les mga4. Je ne me souviens plus des messages.
Pour l'instant, j'utilise un autre disque dur (j'en utilise trois, sans toucher au MBR de /dev/sda, par clefs USB).
Je me demande maintenant si ce n'est pas dû à un initrd qui ne pointe pas sur la bonne version du noyau; mais je n'ai pas encore modifié des liens avec grub2, mais eulement avec grub-legacy.
Ce serait doublement intéressant de réparer sans réinstaller-formater :
--apprendre quelquechose d'intéressant (oublier la méthode Windows).
--gagner du temps.
Je rebrancherai le disque contenant Mageia 4 et openSUSE 12.3
Merci.
Edit
Sur le DD contenant Mageia
[root@localhost ahlner]# ls -l /boot/vm*
lrwxrwxrwx 1 root root 30 mars 18 01:22 /boot/vmlinuz -> vmlinuz-3.10.28-desktop-1.mga3
-rw-r--r-- 1 root root 3500288 févr. 1 17:25 /boot/vmlinuz-3.10.28-desktop-1.mga3
-rw-r--r-- 1 root root 3581504 janv. 24 15:07 /boot/vmlinuz-3.12.8-desktop-2.mga4
-rw-r--r-- 1 root root 3303424 mai 14 2013 /boot/vmlinuz-3.8.13-desktop-1.mga3
lrwxrwxrwx 1 root root 29 mai 1 22:22 /boot/vmlinuz-desktop -> vmlinuz-3.12.8-desktop-2.mga4
[root@localhost ahlner]# ls -l /boot/init*
-rw------- 1 root root 8585903 mai 1 22:47 /boot/initrd-3.10.28-desktop-1.mga3.img
-rw------- 1 root root 8839551 mars 18 01:22 /boot/initrd-3.10.28-desktop-1.mga3.img.old
-rw------- 1 root root 8555599 mai 1 22:48 /boot/initrd-3.8.13-desktop-1.mga3.img
-rw------- 1 root root 14386914 mars 18 01:23 /boot/initrd-3.8.13-desktop-1.mga3.img.old
lrwxrwxrwx 1 root root 32 mai 1 22:22 /boot/initrd-desktop.img -> initrd-3.12.8-desktop-2.mga4.img
lrwxrwxrwx 1 root root 33 mars 18 01:22 /boot/initrd.img -> initrd-3.10.28-desktop-1.mga3.img
J'ai déjà publié dans Retour d'expérience, mais je n'ai pas réussi à retrouver lemessage.
La mise à niveau a été effectuée par le DVD-32.
Au redémarrage dans le menu de grub2, seules les options relatives à mga3 démarrent.
Deux tentatives de réparrations :
update-grub2
Mise à jour par le DVD
Symptome : le chargement s'arrête très tôt pour tous les mga4. Je ne me souviens plus des messages.
Pour l'instant, j'utilise un autre disque dur (j'en utilise trois, sans toucher au MBR de /dev/sda, par clefs USB).
Je me demande maintenant si ce n'est pas dû à un initrd qui ne pointe pas sur la bonne version du noyau; mais je n'ai pas encore modifié des liens avec grub2, mais eulement avec grub-legacy.
Ce serait doublement intéressant de réparer sans réinstaller-formater :
--apprendre quelquechose d'intéressant (oublier la méthode Windows).
--gagner du temps.
Je rebrancherai le disque contenant Mageia 4 et openSUSE 12.3
Merci.
Edit
Sur le DD contenant Mageia
[root@localhost ahlner]# ls -l /boot/vm*
lrwxrwxrwx 1 root root 30 mars 18 01:22 /boot/vmlinuz -> vmlinuz-3.10.28-desktop-1.mga3
-rw-r--r-- 1 root root 3500288 févr. 1 17:25 /boot/vmlinuz-3.10.28-desktop-1.mga3
-rw-r--r-- 1 root root 3581504 janv. 24 15:07 /boot/vmlinuz-3.12.8-desktop-2.mga4
-rw-r--r-- 1 root root 3303424 mai 14 2013 /boot/vmlinuz-3.8.13-desktop-1.mga3
lrwxrwxrwx 1 root root 29 mai 1 22:22 /boot/vmlinuz-desktop -> vmlinuz-3.12.8-desktop-2.mga4
[root@localhost ahlner]# ls -l /boot/init*
-rw------- 1 root root 8585903 mai 1 22:47 /boot/initrd-3.10.28-desktop-1.mga3.img
-rw------- 1 root root 8839551 mars 18 01:22 /boot/initrd-3.10.28-desktop-1.mga3.img.old
-rw------- 1 root root 8555599 mai 1 22:48 /boot/initrd-3.8.13-desktop-1.mga3.img
-rw------- 1 root root 14386914 mars 18 01:23 /boot/initrd-3.8.13-desktop-1.mga3.img.old
lrwxrwxrwx 1 root root 32 mai 1 22:22 /boot/initrd-desktop.img -> initrd-3.12.8-desktop-2.mga4.img
lrwxrwxrwx 1 root root 33 mars 18 01:22 /boot/initrd.img -> initrd-3.10.28-desktop-1.mga3.img
par défaut tu devrais avoir :
/boot/vmlinuz --> /boot/vmlinuz-3.12.8-desktop-2.mga4
/boot/vmlinuz-desktop --> /boot/vmlinuz-3.12.8-desktop-2.mga4
/boot/initrd.img --> /boot/initrd-3.12.8-desktop-2.mga4.img
/boot/config --> /boot/config-3.12.8-desktop-2.mga4
/boot/System.map --> /boot/System.map-3.12.8-desktop-2.mga4
que tu obtiens avec les commandes :
Code BASH :
ln -sf /boot/vmlinuz-3.12.8-desktop-2.mga4 /boot/vmlinuz ln -sf /boot/vmlinuz-3.12.8-desktop-2.mga4 /boot/vmlinuz-desktop ln -sf /boot/initrd-3.12.8-desktop-2.mga4.img /boot/initrd.img ln -sf /boot/config-3.12.8-desktop-2.mga4 /boot/config ln -sf /boot/System.map-3.12.8-desktop-2.mga4 /boot/System.map
l'option -s pour symbolique -f force (écrase si déjà existant)
Édité par Visiteur Le 11/05/2014 à 08h34

ahlner Membre non connecté
-
- Voir le profil du membre ahlner
- Inscrit le : 30/08/2013
- Groupes :
J'ai lancé les commandes proposées.
Même après un :
Code :
update-grub2
le chargement s'arrête à :
[....] [.....] ? rest_init+0x70/0x70
pour mga4
Code :
[ahlner@localhost ~]$ ls -l /boot/initrd*
-rw------- 1 root root 8585903 mai 1 22:47 /boot/initrd-3.10.28-desktop-1.mga3.img
-rw------- 1 root root 8839551 mars 18 01:22 /boot/initrd-3.10.28-desktop-1.mga3.img.old
-rw------- 1 root root 8555599 mai 1 22:48 /boot/initrd-3.8.13-desktop-1.mga3.img
-rw------- 1 root root 14386914 mars 18 01:23 /boot/initrd-3.8.13-desktop-1.mga3.img.old
lrwxrwxrwx 1 root root 32 mai 1 22:22 /boot/initrd-desktop.img -> initrd-3.12.8-desktop-2.mga4.img
lrwxrwxrwx 1 root root 38 mai 11 22:59 /boot/initrd.img -> /boot/initrd-3.12.8-desktop-2.mga4.img
Code :
[ahlner@localhost ~]$ ls -l /boot/vm*
lrwxrwxrwx 1 root root 35 mai 11 22:58 /boot/vmlinuz -> /boot/vmlinuz-3.12.8-desktop-2.mga4
-rw-r--r-- 1 root root 3500288 févr. 1 17:25 /boot/vmlinuz-3.10.28-desktop-1.mga3
-rw-r--r-- 1 root root 3581504 janv. 24 15:07 /boot/vmlinuz-3.12.8-desktop-2.mga4
-rw-r--r-- 1 root root 3303424 mai 14 2013 /boot/vmlinuz-3.8.13-desktop-1.mga3
lrwxrwxrwx 1 root root 35 mai 11 22:59 /boot/vmlinuz-desktop -> /boot/vmlinuz-3.12.8-desktop-2.mga4
Code :
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Mageia' --class mageia --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ed4432e5-68a1-4f60-9dad-e67adaae70b2' {
set gfxpayload=text
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 ed4432e5-68a1-4f60-9dad-e67adaae70b2
else
search --no-floppy --fs-uuid --set=root ed4432e5-68a1-4f60-9dad-e67adaae70b2
fi
linux /boot/vmlinuz-desktop root=/dev/sdb6 ro nokmsboot splash quiet resume=UUID=70255255-23f6-43ce-8935-fe4ddf20e681
}
submenu 'Options avancées pour Mageia' $menuentry_id_option 'gnulinux-advanced-ed4432e5-68a1-4f60-9dad-e67adaae70b2' {
menuentry 'Mageia, avec Linux desktop' --class mageia --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-desktop-advanced-ed4432e5-68a1-4f60-9dad-e67adaae70b2' {
set gfxpayload=text
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 ed4432e5-68a1-4f60-9dad-e67adaae70b2
else
search --no-floppy --fs-uuid --set=root ed4432e5-68a1-4f60-9dad-e67adaae70b2
fi
linux /boot/vmlinuz-desktop root=/dev/sdb6 ro nokmsboot splash quiet resume=UUID=70255255-23f6-43ce-8935-fe4ddf20e681
}
menuentry 'Mageia, avec Linux 3.12.8-desktop-2.mga4' --class mageia --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.12.8-desktop-2.mga4-advanced-ed4432e5-68a1-4f60-9dad-e67adaae70b2' {
set gfxpayload=text
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos6 --hint-efi=hd1,msdos6 --hint-baremetal=ahci1,msdos6 ed4432e5-68a1-4f60-9dad-e67adaae70b2
else
search --no-floppy --fs-uuid --set=root ed4432e5-68a1-4f60-9dad-e67adaae70b2
fi
linux /boot/vmlinuz-3.12.8-desktop-2.mga4 root=/dev/sdb6 ro nokmsboot splash quiet resume=UUID=70255255-23f6-43ce-8935-fe4ddf20e681
}
J'ai omis les sections mga3.
Que puis-je vérifier?
Édité par ahlner Le 11/05/2014 à 23h55
"La théorie, c'est quand on sait tout et que rien ne fonctionne. La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi. Ici, nous avons réuni théorie et pratique : Rien ne fonctionne... et personne ne sait pourquoi !"
Albert Einstein
Albert Einstein

ahlner Membre non connecté
-
- Voir le profil du membre ahlner
- Inscrit le : 30/08/2013
- Groupes :
Cela ne résout pas le problème pour M4. Vu la complexité de sysinit/systemd, je vais réinstaller.
A bientôt,
"La théorie, c'est quand on sait tout et que rien ne fonctionne. La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi. Ici, nous avons réuni théorie et pratique : Rien ne fonctionne... et personne ne sait pourquoi !"
Albert Einstein
Albert Einstein

Visiteur
Visiteur
Édité par Visiteur Le 16/05/2014 à 12h07

ahlner Membre non connecté
-
- Voir le profil du membre ahlner
- Inscrit le : 30/08/2013
- Groupes :
MadTuX :
viens de voir que tu avais grub2, et perso quand j'ai testé mga4 , j'ai test avec grub2 et j'ai eu des soucis, bon je ne sais ce qu'il en est aujourd'hui mais il semblerait que le passage de grub1 a grub2 posait soucis
Pour M3, c'était déjà grub2. Et M4 par upgrade démarrait avec les noyaux mga3. De plus, j'avais lancé "update-grub2". Le menu était donc remis à jour après l'insatallation.
Après la réinstallation toujours avec grub2, tout marchait bien. Peut-être du fait de l'absence de traces de M3 dans le processus d'initialisation.
"La théorie, c'est quand on sait tout et que rien ne fonctionne. La pratique, c'est quand tout fonctionne et que personne ne sait pourquoi. Ici, nous avons réuni théorie et pratique : Rien ne fonctionne... et personne ne sait pourquoi !"
Albert Einstein
Albert Einstein
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie