[Grub] errore 18 GRUB
[Grub] Re: [Grub] errore 18 GRUB
ho scritto : setup (hda)
mi dice :Error while parsing number
mi dice :Error while parsing number
- emillo
- Entusiasta Emergente

- Messaggi: 1612
- Iscrizione: giovedì 1 novembre 2007, 15:29
- Località: Nereto(TE)
- Contatti:
Re: [Grub] errore 18 GRUB
Quindi ricapitolo:
sudo grub
root (hd2,0)
setup(hda)
quit
riavvia e togli il cd
Definitivo
sudo grub
root (hd2,0)
setup(hda)
quit
riavvia e togli il cd
Definitivo
"Imparare l'informatica con windows è come imparare a ballare con un armatura"
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
[Grub] [Grub] Re: [Grub] errore 18 GRUB
Codice: Seleziona tutto
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd2,0)
Error 21: Selected disk does not exist
grub>
Ultima modifica di mikelosat il sabato 1 novembre 2008, 0:36, modificato 1 volta in totale.
- emillo
- Entusiasta Emergente

- Messaggi: 1612
- Iscrizione: giovedì 1 novembre 2007, 15:29
- Località: Nereto(TE)
- Contatti:
Re: [Grub] errore 18 GRUB
prova con root /dev/sda3
e poi
setup /dev/sda
e poi
setup /dev/sda
"Imparare l'informatica con windows è come imparare a ballare con un armatura"
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
[Grub] Re: [Grub] errore 18 GRUB
Codice: Seleziona tutto
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root /dev/sda3
Error 11: Unrecognized device string
grub>
- emillo
- Entusiasta Emergente

- Messaggi: 1612
- Iscrizione: giovedì 1 novembre 2007, 15:29
- Località: Nereto(TE)
- Contatti:
Re: [Grub] errore 18 GRUB
Scusa sbaglio mio era
root (hd0,2)
setup (hd0)
quit
riavvia
l'ora e tarda e non vedo più i numeri....
root (hd0,2)
setup (hd0)
quit
riavvia
l'ora e tarda e non vedo più i numeri....
"Imparare l'informatica con windows è come imparare a ballare con un armatura"
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
[Grub] [Grub] Re: [Grub] errore 18 GRUB
Codice: Seleziona tutto
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root /dev/sda3
Error 11: Unrecognized device string
grub> root (hd0,2)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found
grub>
non è che avendo ricreato le partzioni si è spostata qualcosa e non trova il file xkè sta sotto un'altro nome?
- emillo
- Entusiasta Emergente

- Messaggi: 1612
- Iscrizione: giovedì 1 novembre 2007, 15:29
- Località: Nereto(TE)
- Contatti:
Re: [Grub] errore 18 GRUB
rifai con
root (hd0,2)
setup (hd0,2)
quit
root (hd0,2)
setup (hd0,2)
quit
"Imparare l'informatica con windows è come imparare a ballare con un armatura"
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
[Grub] [Grub] Re: [Grub] errore 18 GRUB
Codice: Seleziona tutto
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd0,2)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found
grub>
non è che avendo ricreato le partizioni è cambiato qlc percorso?
Codice: Seleziona tutto
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9d1a3ae1
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6375 51207156 7 HPFS/NTFS
/dev/sda2 6376 19193 102960585 f W95 Ext'd (LBA)
/dev/sda3 19194 30401 90028260 83 Linux
/dev/sda5 6376 19124 102406311 b W95 FAT32
/dev/sda6 19125 19187 506016 82 Linux swap / Solaris
/dev/sda7 19188 19193 48163+ 83 Linux
ubuntu@ubuntu:~$
questo il grub menu.lst
Codice: Seleziona tutto
# 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 0
## 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=bb7b0604-6428-4d8b-aaaa-a3be02e4163f ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,6)
## 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
## 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 8.04.1, kernel 2.6.24-19-generic
root (hd0,6)
kernel /vmlinuz-2.6.24-19-generic root=UUID=bb7b0604-6428-4d8b-aaaa-a3be02e4163f ro quiet splash
initrd /initrd.img-2.6.24-19-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,6)
kernel /vmlinuz-2.6.24-19-generic root=UUID=bb7b0604-6428-4d8b-aaaa-a3be02e4163f ro single
initrd /initrd.img-2.6.24-19-generic
title Ubuntu 8.04.1, memtest86+
root (hd0,6)
kernel /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 Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
- emillo
- Entusiasta Emergente

- Messaggi: 1612
- Iscrizione: giovedì 1 novembre 2007, 15:29
- Località: Nereto(TE)
- Contatti:
Re: [Grub] errore 18 GRUB
E' solo una delle procedure non è detto che vada se non và ne tentiamo un altra che poi ti dico....e un pò più macchinosa ma dovrebbe andare
non setup hd0 ma (hd0,2)
non setup hd0 ma (hd0,2)
"Imparare l'informatica con windows è come imparare a ballare con un armatura"
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
[Grub] Re: [Grub] errore 18 GRUB
ok emillo
senti io non so come ringraziarti, sei stato un amico anzi di più forse, se ti va ritentiamo domani magari con msn così cicapiamo meglioe più in fretta!
grazie amico
senti io non so come ringraziarti, sei stato un amico anzi di più forse, se ti va ritentiamo domani magari con msn così cicapiamo meglioe più in fretta!
grazie amico
- emillo
- Entusiasta Emergente

- Messaggi: 1612
- Iscrizione: giovedì 1 novembre 2007, 15:29
- Località: Nereto(TE)
- Contatti:
Re: [Grub] errore 18 GRUB
Ci siamo ci siamo
"Imparare l'informatica con windows è come imparare a ballare con un armatura"
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
[Grub] Re: [Grub] errore 18 GRUB
non funge nemmeno l'ultima emillo!
- emillo
- Entusiasta Emergente

- Messaggi: 1612
- Iscrizione: giovedì 1 novembre 2007, 15:29
- Località: Nereto(TE)
- Contatti:
Re: [Grub] errore 18 GRUB
title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,6)
kernel /vmlinuz-2.6.24-19-generic root=UUID=bb7b0604-6428-4d8b-aaaa-a3be02e4163f ro single
initrd /initrd.img-2.6.24-19-generic
sostituisci le righe di root=UUIDeccecc con root=/dev/sda3 salva e riavvia
per salvare devi editare con sudo gedit ecc ecc
root (hd0,6)
kernel /vmlinuz-2.6.24-19-generic root=UUID=bb7b0604-6428-4d8b-aaaa-a3be02e4163f ro single
initrd /initrd.img-2.6.24-19-generic
sostituisci le righe di root=UUIDeccecc con root=/dev/sda3 salva e riavvia
per salvare devi editare con sudo gedit ecc ecc
"Imparare l'informatica con windows è come imparare a ballare con un armatura"
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
[Grub] Re: [Grub] errore 18 GRUB
eh si però aspetta :
ho scritto sudo grub poi?
ho scritto sudo grub poi?
- emillo
- Entusiasta Emergente

- Messaggi: 1612
- Iscrizione: giovedì 1 novembre 2007, 15:29
- Località: Nereto(TE)
- Contatti:
Re: [Grub] errore 18 GRUB
allora devi editare il file menu.lst come ti ho detto (me lo hai postato sopra ) ci rientri e lo editi con i permessi di amministratore......
anzi fai così
cd /media
sudo mkdir Ubuntu
sudo mount /dev/sda3 /media/Ubuntu
sudo chroot /media/Ubuntu
sudo gedit /boot/gub/menu.lst
edita come ti ho detto sopra
salva
riavvia
anzi fai così
cd /media
sudo mkdir Ubuntu
sudo mount /dev/sda3 /media/Ubuntu
sudo chroot /media/Ubuntu
sudo gedit /boot/gub/menu.lst
edita come ti ho detto sopra
salva
riavvia
"Imparare l'informatica con windows è come imparare a ballare con un armatura"
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
CERCANDO LAVORO
http://cercandolavoro.blogspot.com/
[Grub] Re: [Grub] errore 18 GRUB
dannazzione!! mi si blocca proprio alla fine quando dovrebbe farmi editare il file menu.lst:
Codice: Seleziona tutto
o run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ cd media
bash: cd: media: No such file or directory
ubuntu@ubuntu:~$ cd /mdia
bash: cd: /mdia: No such file or directory
ubuntu@ubuntu:~$ cd /media
ubuntu@ubuntu:/media$ sudo mkdir Ubuntu
ubuntu@ubuntu:/media$ sudo mount /dev/sda3 /media/Ubuntu
ubuntu@ubuntu:/media$ sudo chroot /media/Ubuntu
root@ubuntu:/# sudo gedit /boot/grub/menu.lst
sudo: unable to resolve host ubuntu
cannot open display:
Run 'gedit --help' to see a full list of available command line options.
root@ubuntu:/# sudo gedit /boot/gub/menu.lst
sudo: unable to resolve host ubuntu
cannot open display:
Run 'gedit --help' to see a full list of available command line options.
root@ubuntu:/# Re: [Grub] errore 18 GRUB
Ciao, e' ancora montata la partizione di boot sulla scrivania??
Ubuntu will always be free to download, free to use and free to distribute to others .
[Grub] [Grub] Re: [Grub] errore 18 GRUB
si certo, ho editato il file menu.lst ma non me lo fa sovrascrivere nella cartella grub mi dice che non ho i permessi!
questoè il file che ho modificato :
questoè il file che ho modificato :
Codice: Seleziona tutto
# 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 0
## 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=bb7b0604-6428-4d8b-aaaa-a3be02e4163f ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)
## 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
## 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 8.04.1, kernel 2.6.24-19-generic
root (hd0,2)
kernel /vmlinuz-2.6.24-19-generic root=UUID=bb7b0604-6428-4d8b-aaaa-a3be02e4163f ro quiet splash
initrd /initrd.img-2.6.24-19-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,2)
kernel /vmlinuz-2.6.24-19-generic root=UUID=bb7b0604-6428-4d8b-aaaa-a3be02e4163f ro single
initrd /initrd.img-2.6.24-19-generic
title Ubuntu 8.04.1, memtest86+
root (hd0,2)
kernel /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 Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
Re: [Grub] errore 18 GRUB
Devi aprire il file menu.lst con
sudo gedit
sei da live cd ?
sudo gedit
sei da live cd ?
Ubuntu will always be free to download, free to use and free to distribute to others .
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 9 ospiti