Pagina 1 di 1

[Grub] problema grub nell'avvio di xp

Inviato: domenica 2 novembre 2008, 19:04
da già52
ciao, ho provato ad aggiornare ubuntu 8.04 con 8.10 ma visto che si è piantato su uno schermo bianco, ho deciso di reinstallare l'8.04. In avvio se scelgo ubunto tutto bene, se vado su xp mi appare la seguente scritta:
Grub loading, please wait.............e poi
[ 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>

ho provato a navigare sulle discussioni ma non ho trovato indizi utili (almeno credo)Ho quindi bisogno d'aiuto urgente perchè xp è usato da mia moglie ed è li che ha tutti i suoi doc.
Qualcuno può aiutarmi???

Re: [Grub] problema grub nell'avvio di xp

Inviato: domenica 2 novembre 2008, 20:04
da lucky63
Salve.
Ho avuto un problema simile e ho risolto con un floppy disk di boot win98.
In pratica imposta il  bios in modo che dia priorità di avvio dal floppy disk.
Riavvia computer con il floppy inserito.
Il computer parte dal floppy disk.
Al prompt a:\ digita quanto segue:
FDISK /MBR
Poco dopo viene riproposto il prompt a:\
Spegni il computer e riavvialo togliendo il dischetto.
Windows dovrebbe ripartire come prima.
A me è andato tutto Ok.
Nessun dato perso.
Configurazione windows tale e quale a quella che avevo lasciato.
Saluti e auguri.

Re: [Grub] problema grub nell'avvio di xp

Inviato: domenica 2 novembre 2008, 20:59
da già52
grazie per il suggerimento ma non dispongo del floppy di win98 e non so come procurarmelo

Re: [Grub] problema grub nell'avvio di xp

Inviato: domenica 2 novembre 2008, 21:02
da patel
sudo cat /boot/grub/menu.lst
sudo fdisk -l
posta i risultati
ce l'hai il cd di installazione di XP ?

Re: [Grub] problema grub nell'avvio di xp

Inviato: domenica 2 novembre 2008, 21:16
da già52
purtroppo no per questo computer, l'ho acquistato come offerta  in un supermercato!!

Re: [Grub] problema grub nell'avvio di xp

Inviato: domenica 2 novembre 2008, 21:29
da già52
pi@pi-desktop:~$ sudo cat /boot/grub/menu.lst
[sudo] password for pi:
# 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 6

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

Re: [Grub] problema grub nell'avvio di xp

Inviato: domenica 2 novembre 2008, 21:30
da già52
pi@pi-desktop:~$ sudo fdisk -l

Disco /dev/sda: 400.0 GB, 400088457216 byte
255 heads, 63 sectors/track, 48641 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x036c036c

Dispositivo Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1      47494  381495523+  c  W95 FAT32 (LBA)
/dev/sda2          47495      48641    9213277+  c  W95 FAT32 (LBA)

Disco /dev/sdb: 250.0 GB, 250059350016 byte
255 heads, 63 sectors/track, 30401 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x62660d16

Dispositivo Boot      Start        End      Blocks  Id  System
/dev/sdb1              1      30026  241183813+  83  Linux
/dev/sdb2          30027      30401    3012187+  5  Esteso
/dev/sdb5          30027      30401    3012156  82  Linux swap / Solaris
pi@pi-desktop:~$

Re: [Grub] problema grub nell'avvio di xp

Inviato: domenica 2 novembre 2008, 21:52
da già52
mi sono accorto che per quanto riguarda  sudo cat /boot/grub/menu.lst questa è la lista completa:

pi@pi-desktop:~$ sudo cat /boot/grub/menu.lst
[sudo] password for pi:
# 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 6

## 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=a0638074-13de-46a2-b733-b931f0fbb9fb ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,0)

## 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-21-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=a0638074-13de-46a2-b733-b931f0fbb9fb ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=a0638074-13de-46a2-b733-b931f0fbb9fb ro single
initrd /boot/initrd.img-2.6.24-21-generic

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=a0638074-13de-46a2-b733-b931f0fbb9fb ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=a0638074-13de-46a2-b733-b931f0fbb9fb ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, memtest86+
root (hd1,0)
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


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows NT/2000/XP
root (hd0,1)
savedefault
makeactive
chainloader +1

Re: [Grub] problema grub nell'avvio di xp

Inviato: lunedì 3 novembre 2008, 7:24
da patel
Uno dei due XP funziona ? non ho visto errori sul menu.lst, non so aiutarti.

Re: [Grub] problema grub nell'avvio di xp

Inviato: lunedì 3 novembre 2008, 8:45
da gianmpu
Dal messaggio che ricevi sembra che il problema sia un grub corrotto più che qualcosa relativo a windows. Fai partire ubuntu. Apri un terminale e dai
sudo grub
root (hd1,0)
setup (hd0)
quit
Poi riavvia e prova a vedere se carica anche windows.

Re: [Grub] problema grub nell'avvio di xp

Inviato: lunedì 3 novembre 2008, 9:24
da Fdb
Stesso problema...

anzi a me è partito l'mbr, anche perchè all'installazione ubuntu mi aveva fatto mettere lilo dato che grub non ne voleva sapere di partire.

Ora mi ritorovo la partizione di win non vista dal live di ubuntu e niente boot, spero oggi di riuscire a installarlo dato che ieri con il mio unico cd a disposizione si fermava al 63% dopo dava un errore o disco corrotto o hard disk danneggiato

Re: [Grub] problema grub nell'avvio di xp

Inviato: lunedì 3 novembre 2008, 18:12
da già52
[glow=red,2,300]ho seguito le indicazioni di GIANMPU ed ho ottenuto:[/glow]

ubuntu@ubuntu:~$ sudo grub
Probing devices to guess BIOS drives. This may take a long time.

      [ 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 (hd1,0)
root (hd1,0)
grub> setup (hd0)
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)"...  16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 d (hd0) (hd0)1+16 p (hd1,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub>
[glow=red,2,300]qualcuno mi può dire se ci sono problemi??[/glow] Grazie

Re: [Grub] problema grub nell'avvio di xp

Inviato: lunedì 3 novembre 2008, 18:17
da patel
solo tu puoi dirlo, il comando è terminato con successo, ma se ha risolto il problema lo sai tu.

Re: [Grub] problema grub nell'avvio di xp

Inviato: lunedì 3 novembre 2008, 18:31
da già52
ciao PATEL,
ho eseguito e riavviato 2 volte (una da live) ma la risposta è sempre lastessa:

[ 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>
sai indicarmi quache altra possibile soluzione?

Re: [Grub] problema grub nell'avvio di xp

Inviato: lunedì 3 novembre 2008, 18:48
da Fdb
Sta ibex ha piallato tanti di quei mbr, io sono tornato ad hardy...

Re: [Grub] problema grub nell'avvio di xp

Inviato: lunedì 3 novembre 2008, 18:53
da già52
per PATEL,
la soluzione adottata da ILPAROLA posso provare ad applicarla? e se SI, come?

Re: [Grub] problema grub nell'avvio di xp

Inviato: lunedì 3 novembre 2008, 19:02
da patel
non puoi perché il disco di boot è proprio quello dove ci sono i due win. Nessuno dei due funziona ?

Re: [Grub] problema grub nell'avvio di xp

Inviato: lunedì 3 novembre 2008, 19:20
da landolini
Su google c'e' della roba con  " Minimal BASH-like line editing is supported "
Non so se sia utile...(anche su ubuntu in inglese..)  ???

Re: [Grub] problema grub nell'avvio di xp

Inviato: lunedì 3 novembre 2008, 19:31
da già52
glow=red,2,300]per Patel:[/glow]
dei due xxp che si vedono nella lista uno è il SO dove ci sono i dati ecc. (media center) l'altro è un Recovering, mi è parso di capire che serve a reinstallare il sistema originario (l'ho avviato e mi diceva che avrebbe proceduto facendomi perdere tutti i dati....l'ho chiuso)