Pagina 1 di 1

Ubuntu 10.10 non si avvia più

Inviato: giovedì 10 novembre 2011, 15:37
da regster
Salve a tutti, Il Ubuntu era acceso ma tutto ad un tratto si era bloccato ed io ho dovuto resettare dal tasto del pc.

A quel punto non ripartiva più ovvero potevo scegliere di andare in recovery.

Quindi sono andato in recovery e una volta presi i privileggi Root seguendo dei consigli su questo forum devo aver impicciato di più le cose ORA NON PARTE NEANCHE IL GRUB!!

Ecco quello che ho fatto:

Codice: Seleziona tutto

sudo fdisk -l
per individuare la partizione di linux sdaX con X=numero, per esempio: /dev/sda3
A questo punto io avevo 3 partizioni visualizzate e la "6 selezionata da me" era quella con l'asterisco chiamata linux.

Quindi ho dato il comando:

Codice: Seleziona tutto

Codice:
sudo fsck -yv /dev/sda6 

Al riavvio non parte più il grub ....forse sda6 era lo swap?

AIUTO!

Re: Ubuntu 10.10 non si avvia più

Inviato: giovedì 10 novembre 2011, 16:50
da obonto
Prova da live, ovvero inserendo il cd di installazione, oppure aggiornalo direttamente (sempre da cd) scegliendo di installare ubuntu e selezionando aggiornamento. Ciao

Re: Ubuntu 10.10 non si avvia più

Inviato: giovedì 10 novembre 2011, 17:12
da Diabolik62
prova a postare da live una schermata di gparted

Re: Ubuntu 10.10 non si avvia più

Inviato: venerdì 11 novembre 2011, 7:16
da regster
allora, partito da live e questa è la schermata di gparted:

Immagine

il grub se parto con il cd live inserito mi parte ma se scelgo di partire in recovery o normalmente mi trovo questi errori:

Codice: Seleziona tutto

init: playmount main process (301) terminated with status 127
init: ureadead main process (303) terminated with status 127
mountall: error while loading shared libraries: libudev.so.0: cannot open share object file : no such file or directory
init: mountall main process (304)

Vi posto anche il mio "fstab" contenuto nel filesystem da 110gb percorso etc/fstab.

Codice: Seleziona tutto

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
/dev/sda6       /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda1 during installation
UUID=2c21f8de-3057-460d-84a0-3e0209ea8b20 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
UUID=f0f39067-b4b9-4479-b01e-e309448a1b72 /mnt/HDD ext4 defaults    0    0
Cosa mi consigliate? Non vorrei reinstallare tutto!

Ho tutti i miei file di archivio in sda5 perciò vorrei salvare il contenuto.

Secondo me ho cambiato/corrotto il file system.

Re: Ubuntu 10.10 non si avvia più

Inviato: venerdì 11 novembre 2011, 8:04
da steff
Il fsck ha riparato qualcosa? L'hai dato bene sulla partizione giusta. Prova questo, sempre con la sda6:
http://wiki.ubuntu-it.org/Amministrazio ... Ripristino

Posta qui tutto che fai nel terminale.

Re: Ubuntu 10.10 non si avvia più

Inviato: venerdì 11 novembre 2011, 10:38
da regster
Si, fsck penso che abbia riparato qualcosa, e l'ho dato sulla partizione sda6, prima di partire un messaggio di attenzione diceva che non era montato il filesystem, io l'ho fatto partire comunque.

ho provato ma al passo n°5 mi da errore...forse  invece di così:

Codice: Seleziona tutto

grub-install /dev/sda

devo digitare in questa maniera?

Codice: Seleziona tutto

grub-install /dev/sda6
ecco quello che ho fatto nel terminale:

Codice: Seleziona tutto

ubuntu@ubuntu:~$ sudo su
root@ubuntu:/home/ubuntu# sudo fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008ed7b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         131     1046528   82  Linux swap / Solaris
Partition 1 does not end on cylinder boundary.
/dev/sda2             131       38914   311522305    5  Extended
/dev/sda5           13504       38914   204100608   83  Linux
/dev/sda6   *         131       13504   107420672   83  Linux

Partition table entries are not in disk order
root@ubuntu:/home/ubuntu# sudo mount /dev/sda6 /mnt
root@ubuntu:/home/ubuntu# sudo mount --bind /dev /mnt/dev
root@ubuntu:/home/ubuntu# sudo mount --bind /proc /mnt/proc
root@ubuntu:/home/ubuntu# sudo mount --bind /sys /mnt/sys
root@ubuntu:/home/ubuntu# sudo chroot /mnt
root@ubuntu:/# grub-install /dev/sda
Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 10, in <module>
    import CommandNotFound
  File "/usr/lib/python2.6/dist-packages/CommandNotFound/__init__.py", line 1, in <module>
    from CommandNotFound import CommandNotFound
  File "/usr/lib/python2.6/dist-packages/CommandNotFound/CommandNotFound.py", line 5, in <module>
    from util import gettext_wrapper as _
  File "/usr/lib/python2.6/dist-packages/CommandNotFound/util.py", line 35, in <module>
    _ = gettext_wrapper = setup_locale()
  File "/usr/lib/python2.6/dist-packages/CommandNotFound/util.py", line 28, in setup_locale
    gettext.install("command-not-found", unicode=True)
  File "/usr/lib/python2.6/gettext.py", line 508, in install
    t = translation(domain, localedir, fallback=True, codeset=codeset)
  File "/usr/lib/python2.6/gettext.py", line 493, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
IOError: [Errno 21] Is a directory: '/usr/share/locale-langpack/it/LC_MESSAGES/command-not-found.mo'
root@ubuntu:/# update-grub2
Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 10, in <module>
    import CommandNotFound
  File "/usr/lib/python2.6/dist-packages/CommandNotFound/__init__.py", line 1, in <module>
    from CommandNotFound import CommandNotFound
  File "/usr/lib/python2.6/dist-packages/CommandNotFound/CommandNotFound.py", line 5, in <module>
    from util import gettext_wrapper as _
  File "/usr/lib/python2.6/dist-packages/CommandNotFound/util.py", line 35, in <module>
    _ = gettext_wrapper = setup_locale()
  File "/usr/lib/python2.6/dist-packages/CommandNotFound/util.py", line 28, in setup_locale
    gettext.install("command-not-found", unicode=True)
  File "/usr/lib/python2.6/gettext.py", line 508, in install
    t = translation(domain, localedir, fallback=True, codeset=codeset)
  File "/usr/lib/python2.6/gettext.py", line 493, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
IOError: [Errno 21] Is a directory: '/usr/share/locale-langpack/it/LC_MESSAGES/command-not-found.mo'
root@ubuntu:/# grub-install --recheck /dev/sda
Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 10, in <module>
    import CommandNotFound
  File "/usr/lib/python2.6/dist-packages/CommandNotFound/__init__.py", line 1, in <module>
    from CommandNotFound import CommandNotFound
  File "/usr/lib/python2.6/dist-packages/CommandNotFound/CommandNotFound.py", line 5, in <module>
    from util import gettext_wrapper as _
  File "/usr/lib/python2.6/dist-packages/CommandNotFound/util.py", line 35, in <module>
    _ = gettext_wrapper = setup_locale()
  File "/usr/lib/python2.6/dist-packages/CommandNotFound/util.py", line 28, in setup_locale
    gettext.install("command-not-found", unicode=True)
  File "/usr/lib/python2.6/gettext.py", line 508, in install
    t = translation(domain, localedir, fallback=True, codeset=codeset)
  File "/usr/lib/python2.6/gettext.py", line 493, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
IOError: [Errno 21] Is a directory: '/usr/share/locale-langpack/it/LC_MESSAGES/command-not-found.mo'
root@ubuntu:/# 

Re: Ubuntu 10.10 non si avvia più

Inviato: venerdì 11 novembre 2011, 14:04
da regster
Vi prego aiutatemi non vorrei reinstallare tutto!

Re: Ubuntu 10.10 non si avvia più

Inviato: venerdì 11 novembre 2011, 18:34
da steff
Sembra che sia danneggiata seriamente il sistema sil disco, non so se è riparabile. In teoria si può reinstallare un po' tutto da cd live, ma credo che si fa prima di reinstallare. Se vuoi conservare dati e impostazioni andrebbe fatto una copia di /home/utente da sda6 a sda5 o in una penna. Sda5 è partizione dati? Potresti usarla per /home.

Re: Ubuntu 10.10 non si avvia più

Inviato: sabato 12 novembre 2011, 7:59
da regster
Grazie di tutto .....è partita l'installazione di ubuntu 10.10  :(

Fortunatamente avevo tutti i miei dati importanti in sda5 che non viene toccato.

grazie ancora  (b2b)