Pagina 1 di 2
[Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 4:14
da tirimao
Salve a tutti, sono novizio di linux ed oggi ho installato la mia prima versione di ubuntu (9.10. 64 bit) da live cd.
Premetto che non ho grandi conoscenze di boot loader e nemmeno di ubuntu, non avendolo mai usato.
Partendo con Vista installato sull' hd principale, ho installato ubuntu su di un disco secondario, che ho riservato solo per questo os.
Finita l'installazione il pc si riavvia ma quando cerca di eseguire il boot, mi appare solo la scritta "DISK BOOT FAILURE INSERT SYSTEM DISK AND PRESS ENTER". Cioè non mi fa partire né ubuntu né vista. Come se non ci fosse nessuno dei due boot loader.
Eppure grub2 sembra installato e cat /etc/default/grub da questo risultato:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entrys
#GRUB_DISABLE_LINUX_RECOVERY="true"
Come faccio a far partire il sistema?? E perchè non trova neanche il boot di Vista??
Questo è invece il risultato di sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xce2b2593
Device Boot Start End Blocks Id System
/dev/sda1 * 1 60802 488384512 7 HPFS/NTFS
Disk /dev/sdb: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1e361e36
Device Boot Start End Blocks Id System
/dev/sdb1 1 9553 76734441 83 Linux
/dev/sdb2 9554 9964 3301357+ 5 Extended
/dev/sdb5 9554 9964 3301326 82 Linux swap / Solaris
Disk /dev/sdc: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb7799bb2
Device Boot Start End Blocks Id System
/dev/sdc1 1 14946 120053713+ 7 HPFS/NTFS
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 5:57
da patel
prova a cambiare da bios la sequenza di boot
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 10:48
da tirimao
non risolvo niente a modificare la sequenza di boot, anzi, se faccio partire il boot prima da hd e poi da cd, non mi fa partire neanche il cd live.
Riguardando il log delle partizioni presenti sui dischi mi sono accorto che il boot è solo sul disco principale (dove c'è Vista). potrebbe essere che grub é stato installato sopra il boot di Vista? e anche se cosí fosse, perché non parte?
EDIT:
Ho risolto ripristinando Grub. Ora parte. Però non mi fa scegliere che sistema far partire, va di default ubuntu, come faccio a fare il dual-boot? (lo so niubbaggine)
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 11:44
da Petr
Apri un terminale e digita
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 12:30
da tirimao
fatto riavviato il sistema e niente..non mi accede neanche alla modalità grafica di grub. DIce solo "grub loading" e poi parte direttamente Ubuntu.
Devo settare grub?
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 12:35
da Petr
Questa riga nel file /etc/default/grub
modificala così
salva e chiud ie poi
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 13:42
da tirimao
lo so di farti perdere tempo, ma come faccio a modificare il file? mi dice che non posso salvarlo perchè mi mancano i privilegi per farlo, come faccio ad entrare come amministratore?
Basta sudo -s dal terminale?
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 13:46
da Petr
Digita da terminale
modifica salva e chiudi.
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 13:54
da tirimao
Intanto grazie per la pazienza!
modificato il file, dato update di grub, e riavviato, finalmente parte la versione grafica di Grub, ma non trova il boot di Vista.
Quale credi sia il mio problema? Che il boot è stato sovrascritto da grub? Oppure devo aggiungere dei settaggi?
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 14:00
da Petr
Grub2 carica direttamente windows. Dai da terminale
e posta il risultato.
Dai prima
e posta il risultato anche di questo.
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 14:13
da tirimao
questo è il risultato di cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set f60f5725-0a10-4941-ac2a-eefe3e2fdabe
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-20-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set f60f5725-0a10-4941-ac2a-eefe3e2fdabe
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=f60f5725-0a10-4941-ac2a-eefe3e2fdabe ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-20-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set f60f5725-0a10-4941-ac2a-eefe3e2fdabe
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=f60f5725-0a10-4941-ac2a-eefe3e2fdabe ro single
initrd /boot/initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set f60f5725-0a10-4941-ac2a-eefe3e2fdabe
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=f60f5725-0a10-4941-ac2a-eefe3e2fdabe ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd1,1)
search --no-floppy --fs-uuid --set f60f5725-0a10-4941-ac2a-eefe3e2fdabe
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=f60f5725-0a10-4941-ac2a-eefe3e2fdabe ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
Invece sudo os-prober mi da :
ls: impossibile accedere a /media/Disco: Nessun file o directory
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 14:16
da Petr
Non c'è traccia di windows.
Fai un ultimo tentativo dando ancora da terminale
guarda cosa trova.
Tra un pò ti devo lasciare.
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 14:18
da tirimao
niente nessuna traccia di windows.. eppure le cartelle di windows ci sono tutte ed ho installato ubuntu su di un altro hard disk dedicato..cosa mi consigli di fare?
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 14:23
da Petr
Prova un pò a mettere il disco di vista con prima opzione al boot.
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 14:33
da tirimao
In realtà è già impostato così: boot primario HD. Poi nella scelta degli hd c'è prima quello dove è installato VIsta e poi quello dove è installato Ubuntu.
Perchè non riesce a rilevare il sistema operativo, mentre il disco fisso di windows con tutte le cartelle dentro come erano fino a ieri sera, si?
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 14:38
da Petr
Un tentativo : da terminale
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 14:45
da tirimao
questo il risultato:
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
os-prober è già alla versione più recente.
È stato impostato os-prober per l'installazione manuale.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
/usr/sbin/grub-mkconfig: You must run this as root
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 14:48
da patel
Io staccherei il disco da 500, reinstallerei in quello da 80, una volta visto che funziona riattaccherei quello da 500 e darei il solito
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 14:52
da Petr
Leggi
qui
C'è scritto come creare un file e renderlo eseguibile per evidenziare windows.
Te lo riporto adeguato a te: apri un terminale e digita
in questo file vuoto aggiungi questo
Codice: Seleziona tutto
#! /bin/sh -e
echo "Adding Windows" >&2
cat << EOF
menuentry "Windows XP" {
set root=(hd0,1)
chainloader +1
}
EOF
Salva e chiudi.
Adesso bisogna renderlo eseguibile
poi
Re: [Grub] Problema di boot(DISK BOOT FAILURE)
Inviato: venerdì 16 aprile 2010, 14:57
da tirimao
Questo è il risultato di sudo update-grub:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-20-generic
Found initrd image: /boot/initrd.img-2.6.31-20-generic
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found memtest86+ image: /boot/memtest86+.bin
ls: impossibile accedere a /media/Disco: Nessun file o directory
Adding Windows
done
Riavviando l'opzione per Windows c'è ma selezionandola fa tornare nuovamente alla schermata di grub per la scelta dell'so.
Può essere che nel MBR del primo disco sia stato cancellato il boot di Vista? può essere che sia questo il problema?