Pages : 1
#1 Le 02/05/2007, à 07:58
- Yvance77
[Résolu] Mise a jour catastrophique Edgy>Feisty
Bonjour,
J'ai tenté la maj de edgy par le net. Tout s'est bien déroulé jusquà la fin de l'installation des paquets. Arrivé au terme de cla un gel s'est produit plus rien de faisable. J'ai tenté de redemarrer. Mais je me retrouve avec les deux noyaux, et Linux qui gèle sur le panneau de Ubuntu au demarrage du splash.
J'ai tenté le mode recovery rien.
J'ai un message suivant:
Check root = bootarg cat /proc/cmdline or missung module, devices : cat /proc/modules ls /dev
ALERT! /dev/disk/by-uuid/9a33c5aa-bf56 ...etc... does not exist
/bin/sh can't access tty; job control turned off
(initranmfs) et le curseur qui clignote sans pourvoir faire quoi que ce soit ?
Bon je vois un peu a quoi cela correspond il faudrait que j'édite mon fstab pour voir comment sont montés mes partitions si pas une erreur de nom
Mais voila impossible d'utiliser quoi que ce soit mon clavier ne répond à aucune commande j'ai tenté un ALT +F1 et des autres mais je n'arrive pas à rentrer en mode console pour choper le fstab
Avez vous une idée ?
Merci
Dernière modification par Yvance77 (Le 02/05/2007, à 13:56)
EndeavourOS Mate - C.M. Msi B550 Tomahawk - C.G. Amd Radeon RX 550 - CPU. Ryzen 5 3600 à 6 cœurs 12 proc. - C.S. Terratec Aureon - DDR4 Corsaire Vengeance 16 Go - 3 SSD Crucial BX + Corsair Me 120 Go - 2 & 1To + 1 Sata 500 Go + Synology
Hors ligne
#2 Le 02/05/2007, à 08:18
- JBF
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Bonjour,
démarre sur un live CD et fais les corrections qui conviennent.
JBF
LibreOffice : https://fr.libreoffice.org/ (téléchargement, documentation, FAQ, assistance, contribuer, ...)
Aide pour LibreOffice par la communauté francophone : Ask LibreOffice
Hors ligne
#3 Le 02/05/2007, à 08:27
- Yvance77
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
J'ai bien essayé mais comment je ne comprends pas trop stp ? Je ne vois pas faire de correctifs à partir d'un live cd sur un système.
De plus je tente d'obtenir des infos sur mon fstab etc ... à partir du live et je n'ai pas plus de succès. Si on peut me donner la marche à suivre ?
Merci
Dernière modification par Yvance77 (Le 02/05/2007, à 08:57)
EndeavourOS Mate - C.M. Msi B550 Tomahawk - C.G. Amd Radeon RX 550 - CPU. Ryzen 5 3600 à 6 cœurs 12 proc. - C.S. Terratec Aureon - DDR4 Corsaire Vengeance 16 Go - 3 SSD Crucial BX + Corsair Me 120 Go - 2 & 1To + 1 Sata 500 Go + Synology
Hors ligne
#4 Le 02/05/2007, à 09:22
- ponkyw
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
perso feisty ne reconnait pas mon clavier il semblerait que ce soit pareil pour toi ...
même avec le live cd mon clavier ne fonctionnait pas ... j'ai réinstallé edgy
Hors ligne
#5 Le 02/05/2007, à 09:34
- Yvance77
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Oui je tente de faire un CRTL Alt F1 mais rien impossible d'avoir la console, par contre si je faire esc ou "e" pour edit le mode recovery par exemple cela fonctionne.
Mais si je dois reinstaller edgy alors là c'est la cata je perds tout ? Si je peux l'eviter merci.
Pour le live cd non cela va, mais je ne sais pas comment fair pour regler mon big souci
Dernière modification par Yvance77 (Le 02/05/2007, à 14:30)
EndeavourOS Mate - C.M. Msi B550 Tomahawk - C.G. Amd Radeon RX 550 - CPU. Ryzen 5 3600 à 6 cœurs 12 proc. - C.S. Terratec Aureon - DDR4 Corsaire Vengeance 16 Go - 3 SSD Crucial BX + Corsair Me 120 Go - 2 & 1To + 1 Sata 500 Go + Synology
Hors ligne
#6 Le 02/05/2007, à 09:59
- snigit
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Je vois deux solutions.
La facile :
avec le live cd, tu montes ta partition systeme, et tu édites le "/etc/fstab"
La difficile :
pas de bol, le "/etc/fstab" est bon...
==> tu connais le "chroot" ?
http://www.tenshu.fr/recuperer-une-installation-avec-un-cd-ubuntu/
On verra la deuxieme solution après, si la premiere ne donne rien
Hors ligne
#7 Le 02/05/2007, à 10:12
- Yvance77
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Mon souci sur bien des points se rapproche de cela.
http://forum.ubuntu-fr.org/viewtopic.php?id=111899
Par contre j'avoue patauger un poil je vais tester on verra bien, si tu as des conseils merci de ton aide snigit
Pour info mon fstab original ressemble a peu près a cela :
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
#/dev/sda1
UUID=9a33c5aa-bf56-467f-9a39-c2be5e28acc2 / ext3 defaults,errors=remount-ro 0 1
#/dev/sda5
UUID=a7abbd29-ebf3-48e1-9972-4f6086bc93d7 none swap sw 0 0
#/dev/sda3
UUID=859a227e-64cc-4b4f-b544-57785687459b /home ext3 defaults 0 2
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
#/dev/hda1
UUID=3a150673-3415-4dcb-9c7a-3823713b2145 /cinema ext3 defaults 0 2
Dernière modification par Yvance77 (Le 02/05/2007, à 12:57)
EndeavourOS Mate - C.M. Msi B550 Tomahawk - C.G. Amd Radeon RX 550 - CPU. Ryzen 5 3600 à 6 cœurs 12 proc. - C.S. Terratec Aureon - DDR4 Corsaire Vengeance 16 Go - 3 SSD Crucial BX + Corsair Me 120 Go - 2 & 1To + 1 Sata 500 Go + Synology
Hors ligne
#8 Le 02/05/2007, à 10:24
- snigit
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Ce que tu peux faire, c'est commenter la ligne correspondant à ton "/" et qui contient l'uuid.
Tu remets la meme en dessous en changeant l'uuid par son chemin (à en croire ton fstab ca serait /dev/sda1)
Depuis le live cd, je pense qu'il y a moyen de vérifier les uuids (là je suis moins sûr, mais cette commande ne peut rien faire de mal).
ls -l /dev/disk/by-uuid/
Si les uuids ne correspondent pas, tu peux toujours les remplacer dans ton fstab par leur vrai chemin le temps de régler le problème.
Hors ligne
#9 Le 02/05/2007, à 10:32
- Yvance77
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Voila donc comment se présente mon fstab :
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
#/dev/sda1
UUID=9a33c5aa-bf56-467f-9a39-c2be5e28acc2 / ext3 defaults,errors=remount-ro 0 1
#/dev/sda5
UUID=a7abbd29-ebf3-48e1-9972-4f6086bc93d7 none swap sw 0 0
#/dev/sda3
UUID=859a227e-64cc-4b4f-b544-57785687459b /home ext3 defaults 0 2
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
#UUID=3a150673-3415-4dcb-9c7a-3823713b2145
/dev/hda1 /cinema ext3 defaults 0 2
Et voici pour mon grub:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=9a33c5aa-bf56-467f-9a39-c2be5e28acc2 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=fr_FR
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## ## End Default Options ##
splashimage=(hd0,0)/boot/grub/splashimages/loup.xpm.gz
title Ubuntu, kernel 2.6.20-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=9a33c5aa-bf56-467f-9a39-c2be5e28acc2 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=9a33c5aa-bf56-467f-9a39-c2be5e28acc2 ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, kernel 2.6.17-11-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-11-generic root=UUID=9a33c5aa-bf56-467f-9a39-c2be5e28acc2 ro quiet splash locale=fr_FR
initrd /boot/initrd.img-2.6.17-11-generic
quiet
savedefault
title Ubuntu, kernel 2.6.17-11-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-11-generic root=UUID=9a33c5aa-bf56-467f-9a39-c2be5e28acc2 ro single
initrd /boot/initrd.img-2.6.17-11-generic
title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
#title Other operating systems:
root
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda1.
#title linux (on /dev/hda1)
#root (hd0,0)
#kernel /boot/vmlinuz root=/dev/hda1 resume=/dev/hda5 splash=silent
#initrd /boot/initrd.img
#savedefault
#boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda1.
#title linux-nonfb (on /dev/hda1)
#root (hd0,0)
#kernel /boot/vmlinuz root=/dev/hda1 resume=/dev/hda5
#initrd /boot/initrd.img
#savedefault
#boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda1.
#title failsafe (on /dev/hda1)
#root (hd0,0)
#kernel /boot/vmlinuz root=/dev/hda1 failsafe resume=/dev/hda5
#initrd /boot/initrd.img
#savedefault
#boot
Dernière modification par Yvance77 (Le 02/05/2007, à 10:39)
EndeavourOS Mate - C.M. Msi B550 Tomahawk - C.G. Amd Radeon RX 550 - CPU. Ryzen 5 3600 à 6 cœurs 12 proc. - C.S. Terratec Aureon - DDR4 Corsaire Vengeance 16 Go - 3 SSD Crucial BX + Corsair Me 120 Go - 2 & 1To + 1 Sata 500 Go + Synology
Hors ligne
#10 Le 02/05/2007, à 10:35
- Yvance77
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Voici pour la gestion des disk :
ubuntu@ubuntu:~$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2007-05-02 08:10 3a150673-3415-4dcb-9c7a-3823713b2145 -> ../../hda1
lrwxrwxrwx 1 root root 10 2007-05-02 08:10 859a227e-64cc-4b4f-b544-57785687459b -> ../../sda3
lrwxrwxrwx 1 root root 10 2007-05-02 08:10 9a33c5aa-bf56-467f-9a39-c2be5e28acc2 -> ../../sda1
lrwxrwxrwx 1 root root 10 2007-05-02 08:10 a7abbd29-ebf3-48e1-9972-4f6086bc93d7 -> ../../sda5
ubuntu@ubuntu:~$
EndeavourOS Mate - C.M. Msi B550 Tomahawk - C.G. Amd Radeon RX 550 - CPU. Ryzen 5 3600 à 6 cœurs 12 proc. - C.S. Terratec Aureon - DDR4 Corsaire Vengeance 16 Go - 3 SSD Crucial BX + Corsair Me 120 Go - 2 & 1To + 1 Sata 500 Go + Synology
Hors ligne
#11 Le 02/05/2007, à 11:20
- snigit
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Bon, d'abord, quand tu balances un code très long, c'est mieux de le mettre entre balises "Code".
Tu as essayé de remplacer les uuids dans le fstab et le menu.lst de grub ?
Hors ligne
#12 Le 02/05/2007, à 11:25
- Woshee
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Si ton installation ne s'est pas terminée, il vaudrait mieux d'abord la forcer a se terminer.
Chroot ton système avec ça:
http://www.tenshu.fr/recuperer-une-installation-avec-un-cd-ubuntu/
Et lance un
sudo apt-get dist-upgrade
ou
sudo dpkg --configure -a
Pour terminer ton installation.
Devenez parrain Linux ou trouvez quelqu'un pour vous aider près de chez vous:
http://parrains.linux.free.fr/
Hors ligne
#13 Le 02/05/2007, à 11:26
- snigit
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Ho le mec ! comment il me vole ma deuxieme solution ?!
(bon, ok, peut etre qu'il aurait fallu le faire un premier...)
Dernière modification par snigit (Le 02/05/2007, à 11:26)
Hors ligne
#14 Le 02/05/2007, à 11:29
- Woshee
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Ben oui parce que c'est essentiel. Des paquets essentiels a la gestion des disques peuvent manquer, ou être dans des versions conflictuelles. Autant avoir un système sain avant de tremper les paluches dans le camboui.
Devenez parrain Linux ou trouvez quelqu'un pour vous aider près de chez vous:
http://parrains.linux.free.fr/
Hors ligne
#15 Le 02/05/2007, à 11:57
- Yvance77
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Merci à vous deux cela fait chaud au coeur, mais j'avoue avoir un peu de mal à comprendre, je reprends la lecture attentivement.
Mille mercis
Dernière modification par Yvance77 (Le 02/05/2007, à 12:21)
EndeavourOS Mate - C.M. Msi B550 Tomahawk - C.G. Amd Radeon RX 550 - CPU. Ryzen 5 3600 à 6 cœurs 12 proc. - C.S. Terratec Aureon - DDR4 Corsaire Vengeance 16 Go - 3 SSD Crucial BX + Corsair Me 120 Go - 2 & 1To + 1 Sata 500 Go + Synology
Hors ligne
#16 Le 02/05/2007, à 11:59
- Woshee
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
C'est pas grand chose a faire, pour résumer:
Tu montes ta partition comme tu l'as fait pour accéder a ton /etc/fstab
Tu lances la commande
sudo chroot /point/de/montage su
Et c'est tout.
Devenez parrain Linux ou trouvez quelqu'un pour vous aider près de chez vous:
http://parrains.linux.free.fr/
Hors ligne
#17 Le 02/05/2007, à 12:48
- Yvance77
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Bon j'ai fait cela
sudo mkdir /ubuntu
sudo mount /dev/sda1 /ubuntu
car j'avais un message d'erreur sur
sudo mkdir /ubuntu
sudo mount /dev/sda1 /ubuntu/boot
comme indiqué sur la doc (il me semble que c'est correct car je n'ai pas créer de dossier /ubuntu/boot corrigez moi si je me trompe)
puis mise à jour avec dpkg puis au reboot cela à fonctionner. Vous n'imaginez comme vous m'avez rendu heureux.
Du fond des tripes je vous en remercie tous.
Je fais un tour avant de mettre résolu.
Dernière modification par Yvance77 (Le 02/05/2007, à 13:06)
EndeavourOS Mate - C.M. Msi B550 Tomahawk - C.G. Amd Radeon RX 550 - CPU. Ryzen 5 3600 à 6 cœurs 12 proc. - C.S. Terratec Aureon - DDR4 Corsaire Vengeance 16 Go - 3 SSD Crucial BX + Corsair Me 120 Go - 2 & 1To + 1 Sata 500 Go + Synology
Hors ligne
#18 Le 02/05/2007, à 13:46
- Woshee
Re : [Résolu] Mise a jour catastrophique Edgy>Feisty
Oui je ne sais pas pourquoi il y a ce /boot dans le billet.
Devenez parrain Linux ou trouvez quelqu'un pour vous aider près de chez vous:
http://parrains.linux.free.fr/
Hors ligne
Pages : 1