PDA

View Full Version : GRUB error 6


Barra
07-07-2007, 12:53
Come da titolo:

su un vecchio pc (p3 600) volevo installare endian. L'installazione arriva alla fine senza nessun problema. Al riavvio mi segnala questo errore e non vuole sapere di avviarsi.

The_ouroboros
07-07-2007, 12:59
stage 2 error 6 is from source above
6 : Mismatched or corrupt version of stage1/stage2
This error is returned if the install command points to incompatible or corrupt versions of the stage1 or stage2. It can't detect corruption in general, but this is a sanity check on the version numbers, which should be correct.

stage 1 error 6 is from source above
allegedly the same error but I like this one

Geom Error
The location of the stage2 or stage1.5 is not in the portion of the disk supported directly by the BIOS read calls. This could occur because the BIOS translated geometry has been changed by the user or the disk is moved to another machine or controller after installation, or GRUB was not installed using itself (if it was, the Stage 2 version of this error would have been seen during that process and it would not have completed the install).

Resolution I assume you just want to use images on a new drive?

so re-run grub but not with a recheck command

eg use grub-install /dev/hda

if that fails open a terminal and type su to get root password
once prompt changes to root
type grub and you enter the (bash like) grub editor
type each line and press enter

assume you want mbr install

grub> root (hd0)
grub > setup (hd0)
grub > boot

Barra
07-07-2007, 14:04
Mi ero trovato una spiegazione del genere ma evidendemente mi mancano alcuni concetti.

Se grub non mi avvia la distro il tutta la parte "grub-install", l'aprire il terminale ecc. da dove la faccio partire??????

The_ouroboros
07-07-2007, 15:40
Mi ero trovato una spiegazione del genere ma evidendemente mi mancano alcuni concetti.

Se grub non mi avvia la distro il tutta la parte "grub-install", l'aprire il terminale ecc. da dove la faccio partire??????

usa il cd della distro per aprire una shell di riparazione(su arch puoi montando in chroot la dir /)

BlSabbatH
08-07-2007, 21:43
questo tool fa da ambulanza
http://supergrub.forjamari.linex.org/

Barra
08-07-2007, 22:41
questo tool fa da ambulanza
http://supergrub.forjamari.linex.org/

Grazie 1000. Ormai avevo sistemato ma x il futuro farà comodo.