[Grub] Errore 13 dopo installazione kernel 2.6.28-12

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Scrivi risposta
BURG
Prode Principiante
Messaggi: 114
Iscrizione: sabato 14 marzo 2009, 11:10

[Grub] Errore 13 dopo installazione kernel 2.6.28-12

Messaggio da BURG »

ciao a tutti, ho ubuntu 9.04 e un problema:
fino ad adesso andava tutto bene con il kernel 2.6.28-11, poi il gestore aggiornamenti mi ha installato anche il 2.8.28-12. se usi il *-11 tutto bene, mentre se provo a selezionare il *-12 mi da:
Boot from (hd0,4) ext4 33456b67-876c-430f-a52b-4ec4d3416ab3
error 13: invalid or unsupported executable format
press any key to continue..._
se puo servire ecco il fstab:
# /etc/fstab: static file system information.
#
#            
proc            /proc          proc    defaults        0      0
# /dev/sda5
UUID=33456b67-876c-430f-a52b-4ec4d3416ab3 /              ext3    relatime,errors=remount-ro 0      1
# /dev/sda6
UUID=ce746923-ffa9-4087-a12a-bc279b676187 none            swap    sw              0      0
/dev/scd0      /media/cdrom0  udf,iso9660 user,noauto,exec,utf8 0      0
e il menu.lst di 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 use 'savedefault' or your
# array will desync and will not let you boot your system.
default 2

## 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 green/black black/green

## 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 Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# 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=33456b67-876c-430f-a52b-4ec4d3416ab3 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=33456b67-876c-430f-a52b-4ec4d3416ab3

## 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

## 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

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## 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

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 9.04, kernel 2.6.28-12-generic
uuid 33456b67-876c-430f-a52b-4ec4d3416ab3
kernel /boot/vmlinuz-2.6.28-12-generic root=UUID=33456b67-876c-430f-a52b-4ec4d3416ab3 ro quiet splash
initrd /boot/initrd.img-2.6.28-12-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-12-generic (recovery mode)
uuid 33456b67-876c-430f-a52b-4ec4d3416ab3
kernel /boot/vmlinuz-2.6.28-12-generic root=UUID=33456b67-876c-430f-a52b-4ec4d3416ab3 ro  single
initrd /boot/initrd.img-2.6.28-12-generic

title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 33456b67-876c-430f-a52b-4ec4d3416ab3
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=33456b67-876c-430f-a52b-4ec4d3416ab3 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 33456b67-876c-430f-a52b-4ec4d3416ab3
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=33456b67-876c-430f-a52b-4ec4d3416ab3 ro  single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid 33456b67-876c-430f-a52b-4ec4d3416ab3
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 a non-linux OS
# on /dev/sda1
title Windows XP Media Center Edition
root (hd0,0)
savedefault
makeactive
chainloader +1
come posso risolvere questo problema?
grazie in anticipo  ;)
Avatar utente
perfab
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4880
Iscrizione: venerdì 5 ottobre 2007, 23:02
Desktop: Ubuntu
Distribuzione: Ubuntu 22.04.3 LTS
Sesso: Maschile
Località: Roma

Re: [Grub] Errore 13 dopo installazione kernel 2.6.28-12

Messaggio da perfab »

Ciao, qui AmministrazioneSistema/Grub/Errori dice:
Error 13

Error 13 : Invalid or unsupported executable format

Questo errore si verifica quando l'immagine del kernel che viene caricata non è riconosciuta come Multiboot o uno dei formati supportati (Linux zImage or bzImage, FreeBSD o NetBSD).
Soluzioni:   1.      Nel caso si abbia Ubuntu installato sul disco primario master e Windows sul disco primario slave, modificare il file menu.lst nel seguente modo:

      title              Windows XP
      root               (hd1,0)
      savedefault
      makeactive
      map                (hd0) (hd1)
      map                (hd1) (hd0)
      chainloader        +1

   2.      Altrimenti ripristinare GRUB.
altrimenti ripristinare Grub  AmministrazioneSistema/Grub/Ripristino
Vale la pena di lottare solo per le cose senza le quali non vale la pena di vivere.
Ernesto Che Guevara de la Serna;
BURG
Prode Principiante
Messaggi: 114
Iscrizione: sabato 14 marzo 2009, 11:10

Re: [Grub] Errore 13 dopo installazione kernel 2.6.28-12

Messaggio da BURG »

comunque ho notato che quando dice "boot from eccetera eccetera" c'è scritto ext4 mentre sul fstab ext3, che faccio scrivo ext4 pure li?  ;D
Avatar utente
perfab
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4880
Iscrizione: venerdì 5 ottobre 2007, 23:02
Desktop: Ubuntu
Distribuzione: Ubuntu 22.04.3 LTS
Sesso: Maschile
Località: Roma

Re: [Grub] Errore 13 dopo installazione kernel 2.6.28-12

Messaggio da perfab »

/boot sarebbe meglio in ext3; ma hai partizionato tu manualmente e scelto ext4?
Vale la pena di lottare solo per le cose senza le quali non vale la pena di vivere.
Ernesto Che Guevara de la Serna;
BURG
Prode Principiante
Messaggi: 114
Iscrizione: sabato 14 marzo 2009, 11:10

Re: [Grub] Errore 13 dopo installazione kernel 2.6.28-12

Messaggio da BURG »

allora, inizialmente avevo intrepid con ext3. poi ho aggiornato a jaunty e provato ad aggiornare ad ext4 ma ho combinato un macello  ;D
Avatar utente
perfab
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4880
Iscrizione: venerdì 5 ottobre 2007, 23:02
Desktop: Ubuntu
Distribuzione: Ubuntu 22.04.3 LTS
Sesso: Maschile
Località: Roma

Re: [Grub] Errore 13 dopo installazione kernel 2.6.28-12

Messaggio da perfab »

quindi non hai fatto l'avanzamento ma l'installazione da zero.
posta il risultato di

Codice: Seleziona tutto

sudo fdisk -l
e di

Codice: Seleziona tutto

df -h
Vale la pena di lottare solo per le cose senza le quali non vale la pena di vivere.
Ernesto Che Guevara de la Serna;
BURG
Prode Principiante
Messaggi: 114
Iscrizione: sabato 14 marzo 2009, 11:10

Re: [Grub] Errore 13 dopo installazione kernel 2.6.28-12

Messaggio da BURG »

in verità ho fatto l'avanzamento da intrepid a jaunty  ;D
outpud di fdisk
Disco /dev/sda: 160.0 GB, 160041885696 byte
255 testine, 63 settori/tracce, 19457 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0x4d504d50

Dispositivo Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1      11396    91538338+  7  HPFS/NTFS
/dev/sda2          14762      19457    37720620    5  Esteso
/dev/sda3          11397      14761    27029362+  83  Linux
/dev/sda5          14762      19258    36122121  83  Linux
/dev/sda6          19259      19457    1598436  82  Linux swap / Solaris

Le voci nella tabella delle partizioni non sono nello stesso ordine del disco
output di df
File system            Dim. Usati Disp. Uso% Montato su
/dev/sda5              34G  22G  11G  68% /
tmpfs                438M    0  438M  0% /lib/init/rw
varrun                438M  212K  438M  1% /var/run
varlock              438M    0  438M  0% /var/lock
udev                  438M  164K  438M  1% /dev
tmpfs                438M  240K  438M  1% /dev/shm
lrm                  438M  2,4M  436M  1% /lib/modules/2.6.28-11-generic/volatile
;D
Avatar utente
perfab
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4880
Iscrizione: venerdì 5 ottobre 2007, 23:02
Desktop: Ubuntu
Distribuzione: Ubuntu 22.04.3 LTS
Sesso: Maschile
Località: Roma

Re: [Grub] Errore 13 dopo installazione kernel 2.6.28-12

Messaggio da perfab »

ok, prova a fare il ripristino del grub da live CD come indicato nella guida AmministrazioneSistema/Grub/Ripristino visto che, forse, è in ext4
Vale la pena di lottare solo per le cose senza le quali non vale la pena di vivere.
Ernesto Che Guevara de la Serna;
BURG
Prode Principiante
Messaggi: 114
Iscrizione: sabato 14 marzo 2009, 11:10

Re: [Grub] Errore 13 dopo installazione kernel 2.6.28-12

Messaggio da BURG »

quale metodo? e poi devo scrivere ext4 anche in fstab?
Avatar utente
perfab
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4880
Iscrizione: venerdì 5 ottobre 2007, 23:02
Desktop: Ubuntu
Distribuzione: Ubuntu 22.04.3 LTS
Sesso: Maschile
Località: Roma

Re: [Grub] Errore 13 dopo installazione kernel 2.6.28-12

Messaggio da perfab »

il primo metodo
Vale la pena di lottare solo per le cose senza le quali non vale la pena di vivere.
Ernesto Che Guevara de la Serna;
BURG
Prode Principiante
Messaggi: 114
Iscrizione: sabato 14 marzo 2009, 11:10

Re: [Grub] Errore 13 dopo installazione kernel 2.6.28-12

Messaggio da BURG »

e riguardo al fstab?
Avatar utente
perfab
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4880
Iscrizione: venerdì 5 ottobre 2007, 23:02
Desktop: Ubuntu
Distribuzione: Ubuntu 22.04.3 LTS
Sesso: Maschile
Località: Roma

Re: [Grub] Errore 13 dopo installazione kernel 2.6.28-12

Messaggio da perfab »

comincia a seguire il metodo poi vediamo come va  ;)
Vale la pena di lottare solo per le cose senza le quali non vale la pena di vivere.
Ernesto Che Guevara de la Serna;
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 3 ospiti