[boot] error 11

Riconoscimento, installazione e configurazione delle periferiche.
phil16
Prode Principiante
Messaggi: 122
Iscrizione: mercoledì 27 maggio 2009, 10:57

[boot] error 11

Messaggio da phil16 »

Un saluto a tutti,
Premetto che sono un novizio e mi sono appena affacciato ad Ubuntu. All'avvio,selezionando ubuntu (9.04) mi compare:

boot from (hd0,4) ext 3
error 11: unrecognized device string

(ho un dual-boot con ubuntu e xp,precedentemente installato). L'errore credo sia dovuto al fatto che ieri volendo modificare il file /boot/grub/menu.lst con l'intenzione di modificare l'ordine di avvio ed il tempo lasciato alla scelta del OS, ho combinato qualche pastrocchio.
Ho letto il post sul medesimo problema ma non ne sono più uscito.
Se può essere d'aiuto, procedendo da Live cd:


grub> find /boot/grub/stage1
(hd0,4)

grub> root (hd0,4)

grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  17 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,4)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done

Aggiungo inoltre che i seguenti file risultano vuoti:

sudo gedit /boot/grub/menu.lst
sudo gedit /media/disk/grub/menu.lst
sudo gedit /media/disk/boot/grub/menu.lst

Ho provato a fare il ripristino come da: http://wiki.ubuntu-it.org/Amministrazio ... stino  ma nulla.
Qualcuno sa aiutarmi? Mi farebbe un favore enorme
Ultima modifica di phil16 il mercoledì 27 maggio 2009, 11:53, modificato 1 volta in totale.
Avatar utente
c.realkiller
Rampante Reduce
Rampante Reduce
Messaggi: 5166
Iscrizione: mercoledì 7 gennaio 2009, 0:24
Località: Fossano
Contatti:

Re: [boot] error 11

Messaggio da c.realkiller »

provato con super grub disk
strade...? dove andiamo noi non ci servono... strade!
Skype: dino.tartaro
facebook: http://www.facebook.com/dino.tartaro
Avatar utente
steff
Moderatore Globale
Moderatore Globale
Messaggi: 40369
Iscrizione: domenica 18 febbraio 2007, 19:48
Desktop: LXQt+labwc
Distribuzione: Arch; Debian; Ubuntu Server
Sesso: Maschile
Località: Toscana
Contatti:

Re: [boot] error 11

Messaggio da steff »

Posta il

Codice: Seleziona tutto

cat /boot/grub/menu.lst
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
phil16
Prode Principiante
Messaggi: 122
Iscrizione: mercoledì 27 maggio 2009, 10:57

Re: [boot] error 11

Messaggio da phil16 »

Ecco qua ( forse ho postato nella directory errata):

grub> cat /boot/grub/menu.lst

Error 12: Invalid device requested

che faccio?
Avatar utente
c.realkiller
Rampante Reduce
Rampante Reduce
Messaggi: 5166
Iscrizione: mercoledì 7 gennaio 2009, 0:24
Località: Fossano
Contatti:

Re: [boot] error 11

Messaggio da c.realkiller »

phil16 ha scritto: Ecco qua ( forse ho postato nella directory errata):

grub> cat /boot/grub/menu.lst

Error 12: Invalid device requested

che faccio?
/AmministrazioneSistema/Grub/Errori forse ti è d'aiuto conoscere gli errori
strade...? dove andiamo noi non ci servono... strade!
Skype: dino.tartaro
facebook: http://www.facebook.com/dino.tartaro
Avatar utente
trekfan1
Moderatore Globale
Moderatore Globale
Messaggi: 23550
Iscrizione: domenica 21 maggio 2006, 10:51
Desktop: Gnome
Distribuzione: Ubuntu 23.10 e 24.04 (dev)
Sesso: Maschile
Località: Formigine (MO) | Accecante Asceta

Re: [boot] error 11

Messaggio da trekfan1 »

NON devi postare il menu.lst del LIVE CD ma del disco rigido!

Procedi in questo modo: Avvia da LIVE CD e poi da Resources seleziona l'HD in cui è installato ubuntu (in questo modo viene "montato" in /media/disk) poi apri un terminale e scrivi: cat /media/disk/boot/grub/menu.lst e incolla il risultato qua tra i tag [ code ] [ /code ] (senza gli spazi)
Avatar utente
steff
Moderatore Globale
Moderatore Globale
Messaggi: 40369
Iscrizione: domenica 18 febbraio 2007, 19:48
Desktop: LXQt+labwc
Distribuzione: Arch; Debian; Ubuntu Server
Sesso: Maschile
Località: Toscana
Contatti:

Re: [boot] error 11

Messaggio da steff »

steff ha scritto: Posta il

Codice: Seleziona tutto

cat /boot/grub/menu.lst
scusa, ovviamente il comando giusto è quello di trekfan.

Codice: Seleziona tutto

 quit
per uscire ad grub, anche se lo ripristini il menu rimane sempre quello sciupato credo
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
phil16
Prode Principiante
Messaggi: 122
Iscrizione: mercoledì 27 maggio 2009, 10:57

Re: [boot] error 11

Messaggio da phil16 »

Ecco qua cosa mi esce (spero di copiartelo nel modo corretto):


[ubuntu@ubuntu:~$ cat /media/disk/boot/grub/menu.lst
# 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 1

## 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 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=8e5c1117-a826-4d1e-b642-e57ff63c423d ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=8e5c1117-a826-4d1e-b642-e57ff63c423d

## 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-11-generic
uuid 8e5c1117-a826-4d1e-b642-e57ff63c423d
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=8e5c1117-a826-4d1e-b642-e57ff63c423d 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 8e5c1117-a826-4d1e-b642-e57ff63c423d
#kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=8e5c1117-a826-4d1e-b642-e57ff63c423d ro  single
#initrd /boot/initrd.img-2.6.28-11-generic

#title Ubuntu 9.04, memtest86+
#uuid 8e5c1117-a826-4d1e-b642-e57ff63c423d
#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 Vista (loader)
rootnoverify (hd0,0)
savedefault
makeactive
chainloader +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
#title Windows Vista (loader)
#rootnoverify (hd0,1)
#savedefault
#makeactive
#chainloader +1]

(ho messo le parentesi quadre a inizio e fine codice, almeno cosi mi sembrava dovessi fare da come mi hai detto, se sbaglio qualcosa dimmi pure)
Ora che devo fare?
Ultima modifica di phil16 il mercoledì 27 maggio 2009, 14:01, modificato 1 volta in totale.
Avatar utente
c.realkiller
Rampante Reduce
Rampante Reduce
Messaggi: 5166
Iscrizione: mercoledì 7 gennaio 2009, 0:24
Località: Fossano
Contatti:

Re: [boot] error 11

Messaggio da c.realkiller »

hai capito male, selezzioni tutto il testo e poi clicchi il # che si trova sopra le faccine
strade...? dove andiamo noi non ci servono... strade!
Skype: dino.tartaro
facebook: http://www.facebook.com/dino.tartaro
phil16
Prode Principiante
Messaggi: 122
Iscrizione: mercoledì 27 maggio 2009, 10:57

Re: [boot] error 11

Messaggio da phil16 »

Codice: Seleziona tutto

ubuntu@ubuntu:~$ cat /media/disk/boot/grub/menu.lst
# 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		1

## 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		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=8e5c1117-a826-4d1e-b642-e57ff63c423d ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=8e5c1117-a826-4d1e-b642-e57ff63c423d

## 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-11-generic
uuid		8e5c1117-a826-4d1e-b642-e57ff63c423d
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=8e5c1117-a826-4d1e-b642-e57ff63c423d 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		8e5c1117-a826-4d1e-b642-e57ff63c423d
#kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=8e5c1117-a826-4d1e-b642-e57ff63c423d ro  single
#initrd		/boot/initrd.img-2.6.28-11-generic

#title		Ubuntu 9.04, memtest86+
#uuid		8e5c1117-a826-4d1e-b642-e57ff63c423d
#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 Vista (loader)
rootnoverify	(hd0,0)
savedefault
makeactive
chainloader	+1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
#title		Windows Vista (loader)
#rootnoverify	(hd0,1)
#savedefault
#makeactive
#chainloader	+1
fatto, grazie per il suggerimento, ora che devo fare per ripristinare il modello originale?
Ultima modifica di phil16 il mercoledì 27 maggio 2009, 14:06, modificato 1 volta in totale.
phil16
Prode Principiante
Messaggi: 122
Iscrizione: mercoledì 27 maggio 2009, 10:57

Re: [boot] error 11

Messaggio da phil16 »

originariamente avevo default 0 e timeout 30 , io ho cambiato mettendo default 1 (Vista) e timeout 10 inoltre avevo commentato qualche riga di codice ma nn ricordo più bene quale. Riuscite a vedere il mio errore?
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: [boot] error 11

Messaggio da patel »

#title      Other operating systems:
root

devi commentare anche root quindi deve essere

#title      Other operating systems:
#root
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
phil16
Prode Principiante
Messaggi: 122
Iscrizione: mercoledì 27 maggio 2009, 10:57

Re: [boot] error 11

Messaggio da phil16 »

Grazie mille, problema risolto. Siete stati gentilissimi!!
Avatar utente
steff
Moderatore Globale
Moderatore Globale
Messaggi: 40369
Iscrizione: domenica 18 febbraio 2007, 19:48
Desktop: LXQt+labwc
Distribuzione: Arch; Debian; Ubuntu Server
Sesso: Maschile
Località: Toscana
Contatti:

Re: [boot] error 11

Messaggio da steff »

Tu hai forse risolto, ma disattivare (commentandolo) il recovery mode di ubuntu è come buttare via la salvagente  ::)
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: [boot] error 11

Messaggio da patel »

basta editare la riga del kernel ed aggiungere single
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
Avatar utente
steff
Moderatore Globale
Moderatore Globale
Messaggi: 40369
Iscrizione: domenica 18 febbraio 2007, 19:48
Desktop: LXQt+labwc
Distribuzione: Arch; Debian; Ubuntu Server
Sesso: Maschile
Località: Toscana
Contatti:

Re: [boot] error 11

Messaggio da steff »

Lo so, ma lui no credo  ;)
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
Avatar utente
trekfan1
Moderatore Globale
Moderatore Globale
Messaggi: 23550
Iscrizione: domenica 21 maggio 2006, 10:51
Desktop: Gnome
Distribuzione: Ubuntu 23.10 e 24.04 (dev)
Sesso: Maschile
Località: Formigine (MO) | Accecante Asceta

Re: [boot] error 11

Messaggio da trekfan1 »

Se hai risolto clicca su Modifica nel primo post e aggiungi [Risolto] al titolo, grazie
phil16
Prode Principiante
Messaggi: 122
Iscrizione: mercoledì 27 maggio 2009, 10:57

Re: [boot] error 11

Messaggio da phil16 »

Adesso allora provvedo, mi dite bene quale riga devo modificare ( e come) ? 
A quali invece devo togliere il commento?

grazie
Avatar utente
steff
Moderatore Globale
Moderatore Globale
Messaggi: 40369
Iscrizione: domenica 18 febbraio 2007, 19:48
Desktop: LXQt+labwc
Distribuzione: Arch; Debian; Ubuntu Server
Sesso: Maschile
Località: Toscana
Contatti:

Re: [boot] error 11

Messaggio da steff »

il
default 3
attiva in automatico la quarta riga che sarebbe poi windows
title....
in fondo al file. Non toglierei il memtest (per testare la ram) e sopratutto la recovery mode, togli i cancelletti a questi:
#title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
#uuid 8e5c1117-a826-4d1e-b642-e57ff63c423d
#kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=8e5c1117-a826-4d1e-b642-e57ff63c423d ro  single
#initrd /boot/initrd.img-2.6.28-11-generic

#title Ubuntu 9.04, memtest86+
#uuid 8e5c1117-a826-4d1e-b642-e57ff63c423d
#kernel /boot/memtest86+.bin
#quiet
Hai anche un
root
in giro da solo...
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
phil16
Prode Principiante
Messaggi: 122
Iscrizione: mercoledì 27 maggio 2009, 10:57

Re: [boot] error 11

Messaggio da phil16 »

A quel "  root " ho già anteposto il # e nn mi da più problemi.
Se tolgo i commenti a quello che mi hai detto poi mi ritrovo tutte le opzione di scelta in fase di boot e ciò era quello che volevo evitare. La soluzione proposta da Patel di editare usando il comando " single " in cosa consiste? Dalle sue parole sembra che cosi eviterei anche di buttar via il recovery mode
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: nick091 e 3 ospiti