View Full Version : [UBUNTU] Aiuto Urgente - Grub si disattiva ad ogni avvio
Ciao a tutti, sono nuovo di questo forum e di ubuntu e avrei bisogno di voi per un problema che non riesco a risolvere e senza il quale non posso utilizzare il mio portatile (di cui ho bisogno urgente per lavoro).
Ho un portatile con windows xp con un solo hard disk con un unica partizione, sul quale ho installato Ubuntu 8.04 utilizzando il partizionamento guidato che ti permette di prendere una parte della partizione dedicata a windows e darla a ubuntu.
Installato tutto senza problemi, riavviato e mi dava normalmente il grub dove potevo scegliere il sistema operativo. Fin qui tutto bene.
Poi però ho provato ad accedere a Windows, si è avviato normalmente, l'ho chiuso, ho riavviato il portatile e praticamente vedo la scritta Grub 1.5 e poi il computer mi si riavvia e cos' avanti all' infinito senza che riesca a darmi la schermata per scegliere il SO.
Inoltre la cosa strana è che se faccio partire ubuntu dal cd live, apro il file menu.lst del grub, cambio qualcosa ad esempio il timeout, salvo e riavvio il portatile, mi ricompare normalmente il grub con la selezione del SO, ma poi una volta entrato su windows e riavviato siamo punto e a capo.
Mi potete dare una mano su cosa fare. Semmai su come modificare il file menu.lst del grub.
Grazie mille
2 opzioni:
ripristini il mbr con la console di ripristino di windows, in modo che puoi fare il boot di windows senza problemi
http://www.visivagroup.it/showthread.php?t=18762
provi a re-installare grub, perché a quanto para é andato storto qualche cosa (non mi sembra un problema di menu.list).
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
2 opzioni:
ripristini il mbr con la console di ripristino di windows, in modo che puoi fare il boot di windows senza problemi
http://www.visivagroup.it/showthread.php?t=18762
provi a re-installare grub, perché a quanto para é andato storto qualche cosa (non mi sembra un problema di menu.list).
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
Ho già provato a ripristinare il grub sia dal live cd di ubuntu sia con il super Grub Disk e ogni volta funziona finche scelgo come sistema operativo Ubuntu, ma se scelgo Windows mi funziona la prima volta e quando riavvio mi si riblocca tutto e sono da capo
Gollum63
12-06-2008, 18:14
ciao digita dal terminale
sudo fdisk -l
poi
sudo cat /boot/grub/menu.lst e posti qui gli output
ciao digita dal terminale
sudo fdisk -l
poi
sudo cat /boot/grub/menu.lst e posti qui gli output
allora il primo comando mi restituisce:
Disco /dev/sda: 60.0 GB, 60011642880 byte
255 heads, 63 sectors/track, 7296 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4ac44582
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 1 5397 43351371 7 HPFS/NTFS
/dev/sda2 5398 7296 15253717+ 5 Esteso
/dev/sda5 5398 7210 14562891 83 Linux
/dev/sda6 7211 7296 690763+ 82 Linux swap / Solaris
il secondo invece:
# 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 20
## 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=8ddf9d36-93cc-4ff0-8866-8a286c81ec0b ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,4)
## 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, kernel 2.6.24-18-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-18-generic root=UUID=8ddf9d36-93cc-4ff0-8866-8a286c81ec0b ro quiet splash
initrd /boot/initrd.img-2.6.24-18-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-18-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-18-generic root=UUID=8ddf9d36-93cc-4ff0-8866-8a286c81ec0b ro single
initrd /boot/initrd.img-2.6.24-18-generic
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=8ddf9d36-93cc-4ff0-8866-8a286c81ec0b ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=8ddf9d36-93cc-4ff0-8866-8a286c81ec0b ro single
initrd /boot/initrd.img-2.6.24-16-generic
title Ubuntu 8.04, memtest86+
root (hd0,4)
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 Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
boot
Resto in attesa di vostre notizie
Gollum63
12-06-2008, 21:05
Allora prova a togliere la voce boot dalla configurazione d'avvio di win
sudo gedit /boot/grub/menu.lst
vai in fondo alla pagina e cancella la voce in modo da avere questo risultato
# 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
salvi chiudi e riavvi
se non dovesse funzionare non fai altro che aggiungere di nuovo la voce cancellata
Allora prova a togliere la voce boot dalla configurazione d'avvio di win
sudo gedit /boot/grub/menu.lst
vai in fondo alla pagina e cancella la voce in modo da avere questo risultato
# 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
salvi chiudi e riavvi
se non dovesse funzionare non fai altro che aggiungere di nuovo la voce cancellata
la voce boot l'ho aggiunta io ma poi l'ho tolta perchè non cambiava niente.
Praticamente se faccio partire il boot da cd con inserito nel lettore il disco di Super Grub Disk e poi faccio partire Ubuntu o Windows da li non mi da mai problemi mentre se lo faccio col boot da hard disk si. E' come se quando avvio windows mi cancellasse qualcosa che non mi fa partire il grub all'avvio successivo. Vi posto anche un immagine del gparted del mio hard disk fatta da windows almeno guardate se c'è niente che non va.
http://img259.imageshack.us/img259/4215/schermatadevsdagparted1da0.png (http://imageshack.us)
Non so se si tratta esattamente dello stesso problema, ma mi sembra molto simile alla situazione che avevo su un fisso sul quale avevo installato ubuntu in dual boot con xp. Alla fine era un problema di tabella delle partizioni. Ho usato un tool in versione trial che si chiama "partition table doctor" e si installa sotto windows. Dopo avergli fatto analizzare la tabella delle partioni e aver fatto un "fix mbr" tutto é andato a posto (ovviamente dovrai reinstallare grub).
Hai guardato se nel boot.ini di XP c'è qualcosa di strano ? ed anche con msconfig ?
Hai guardato se nel boot.ini di XP c'è qualcosa di strano ? ed anche con msconfig ?
Allora ti posta sia sia il boot.ini sia msconfig...se puoi intendevi altro dimmelo che ti posto anche altre cose
http://img364.imageshack.us/img364/3549/bootinida3.jpg
http://img212.imageshack.us/img212/9818/msconfigsl0.jpg
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.