Pagina 1 di 1

[2 disk in raid- Boot] errore all'avvio del grub

Inviato: mercoledì 26 ottobre 2011, 15:52
da barbarasidux
Salve,
sul mio pc ho installato sia win xp che linux.
Ieri mentre ero su linux mi si è crashato il sistema e l'unico modo è stato spegnere il pc dal tasto di spegnimento.
All'avvio, il grub mi permette di selezionare fra winxp e linux.Se seleziono winxp tutto ok, se seleziono linux ho questo errore:

Begin: Running /scripts/local-bottom ... done
Begin: Running /scripts/init-bottom ... done
mounting /dev on /root/dev failed: no such file or directory

mount: mounting /sys on /root/sys failed: no such file or directory

mount:mounting /proc on /root/proc failed: no such file or directory

Target filesystem doesn't have requested  /sbin/init

No init found Try passing init=bootarg

BusyBox v1.17.1 (Debian 1:1.17.1-8) built in shell (ash)
Enter 'help' for a list of built-in commands

/bin/sh: can't access tty; job control turned off
(initramfs)


Ho guardato su questo forum, in particolare

http://forum.ubuntu-it.org/viewtopic.php?t=463598

e ho fatto partire il pc in modalità live.
Ho aperto una shell da terminale e ho digitato
sudo fdisk -l
ma ho ricevuto il seguente output:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x70e3d797

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63      208844      104391   de  Dell Utility
/dev/sda2   *      208845   188233604    94012380    7  HPFS/NTFS/exFAT
/dev/sda3       188233605   312560639    62163517+   5  Extended
/dev/sda5       188233668   188458514      112423+  83  Linux
/dev/sda6       188458578   305909729    58725576   83  Linux
/dev/sda7       305909793   312560639     3325423+  82  Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x70e3d797

  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63      208844      104391   de  Dell Utility
/dev/sdb2   *      208845   188233604    94012380    7  HPFS/NTFS/exFAT
/dev/sdb3       188233605   312560639    62163517+   5  Extended
/dev/sdb5       188233668   188458514      112423+  83  Linux
/dev/sdb6       188458578   305909729    58725576   83  Linux
/dev/sdb7       305909793   312560639     3325423+  82  Linux swap / Solaris

Disk /dev/mapper/isw_ijabbhegc_ARRAY: 160.0 GB, 160039047168 bytes
255 heads, 63 sectors/track, 19456 cylinders, total 312576264 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x70e3d797

                         Device Boot      Start         End      Blocks   Id  System
/dev/mapper/isw_ijabbhegc_ARRAY1              63      208844      104391   de  Dell Utility
/dev/mapper/isw_ijabbhegc_ARRAY2   *      208845   188233604    94012380    7  HPFS/NTFS/exFAT
/dev/mapper/isw_ijabbhegc_ARRAY3       188233605   312560639    62163517+   5  Extended
/dev/mapper/isw_ijabbhegc_ARRAY5       188233668   188458514      112423+  83  Linux
/dev/mapper/isw_ijabbhegc_ARRAY6       188458578   305909729    58725576   83  Linux
/dev/mapper/isw_ijabbhegc_ARRAY7       305909793   312560639     3325423+  82  Linux swap / Solaris

Disk /dev/mapper/isw_ijabbhegc_ARRAY1: 106 MB, 106896384 bytes
255 heads, 63 sectors/track, 12 cylinders, total 208782 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8a42b4c3

This doesn't look like a partition table
Probably you selected the wrong device.

                           Device Boot      Start         End      Blocks   Id  System
/dev/mapper/isw_ijabbhegc_ARRAY1p1        30195395  1796312749   883058677+  cd  Unknown
/dev/mapper/isw_ijabbhegc_ARRAY1p2   ?   544165376  2228272491   842053558   72  Unknown
/dev/mapper/isw_ijabbhegc_ARRAY1p3   ?  1109413705  1109433745       10020+  45  Unknown

Disk /dev/mapper/isw_ijabbhegc_ARRAY2: 96.3 GB, 96268677120 bytes
255 heads, 63 sectors/track, 11704 cylinders, total 188024760 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x69205244

This doesn't look like a partition table
Probably you selected the wrong device.

                           Device Boot      Start         End      Blocks   Id  System
/dev/mapper/isw_ijabbhegc_ARRAY2p1   ?   218129509  1920119918   850995205   72  Unknown
/dev/mapper/isw_ijabbhegc_ARRAY2p2   ?   729050177  1273024900   271987362   74  Unknown
/dev/mapper/isw_ijabbhegc_ARRAY2p3   ?   168653938   168653938           0   65  Novell Netware 386
/dev/mapper/isw_ijabbhegc_ARRAY2p4      2692939776  2692991410       25817+   0  Empty

Partition table entries are not in disk order

Disk /dev/mapper/isw_ijabbhegc_ARRAY5: 115 MB, 115121664 bytes
255 heads, 63 sectors/track, 13 cylinders, total 224847 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/isw_ijabbhegc_ARRAY5 doesn't contain a valid partition table

Disk /dev/mapper/isw_ijabbhegc_ARRAY6: 60.1 GB, 60134989824 bytes
255 heads, 63 sectors/track, 7310 cylinders, total 117451152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/isw_ijabbhegc_ARRAY6 doesn't contain a valid partition table

Disk /dev/mapper/isw_ijabbhegc_ARRAY7: 3405 MB, 3405233664 bytes
255 heads, 63 sectors/track, 413 cylinders, total 6650847 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x169f0010

Disk /dev/mapper/isw_ijabbhegc_ARRAY7 doesn't contain a valid partition table
ubuntu@ubuntu:~$


Come suggerito nella discussione allegata ho
guardato le partizioni che sono Lunix (ma non Linux swap): in questo caso sda5 e sda6

Quando provo ad eseguire il comando sulle due partizioni linux
ubuntu@ubuntu:~$ sudo fsck -yv /dev/sda5

si ha il seguente output:

fsck from util-linux 2.19.1
e2fsck 1.41.14 (22-Dec-2010)
fsck.ext2: No such file or directory while trying to open /dev/sda5
Possibly non-existent device?
ubuntu@ubuntu:~$



e lo stesso se lo eseguo su sda6

Non so cosa fare,
vi prego di aiutarmi!!!
Grazie anticipatamente

Re: [Boot] errore all'avvio del grub

Inviato: mercoledì 26 ottobre 2011, 16:40
da patel
modifica il titolo del primo post aggiungendo (2 dischi in raid) in modo da attirare l'attenzione di esperti di raid

Re: [2 disk in raid- Boot] errore all'avvio del grub

Inviato: mercoledì 26 ottobre 2011, 16:46
da barbarasidux
Spero qualcuno possa aiutarmi perchè non ho proprio idea di come risolvere!!!

Re: [2 disk in raid- Boot] errore all'avvio del grub

Inviato: mercoledì 26 ottobre 2011, 17:35
da barbarasidux
Tramite live cd
sono andata tra le devices e mi vede il disco di linux montato, ma quando ci clicco mi dà questo errore:


"DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending"


Aiutoooooooooooooooo!!!!

[RISOLTO] [2 disk in raid- Boot] errore all'avvio del grub

Inviato: giovedì 27 ottobre 2011, 14:43
da barbarasidux
Finalmente ho risolto.
Spero a qualcuno possa essere utile:

Avviate il CD di installazione di Gentoo e appena appare la schermata di grub che chiede quale kernel avviare digitate la seguente riga di comando:
gentoo doscsi dodmraid nologo

Dopo il boot verificate con
dmesg | less

Controllate se vi sono errore, se non c'è nè
Se non vedete nulla in /dev/mapper tentate a forzare il caricamento di dmraid con
dmraid -a y

Se uno dei 2 metodi rileva le 2 partizioni (boot e root) tentate fsck su entrambe.

Per ogni partizione fate
kfs repair -L /dev/mapper/partizione

poi
mount /dev/mapper/partizione /media/gentoo

controllate il contenuto in /media/gentoo

umount /media/gentoo

Ho fatto il reboot e funziona tutto!!!

Re: [2 disk in raid- Boot] errore all'avvio del grub

Inviato: giovedì 27 ottobre 2011, 18:19
da patel
Complimenti davvero, per aver trovato la soluzione,, per averla applicata e per averla postata  (b2b) (good)