[Risolto] [Boot] Problemi all'avvio
[Risolto] [Boot] Problemi all'avvio
Premetto che è la prima volta che installo Ubuntu (9.04 i386).
Ho installato il nuovo sistema su un Hard Disk da 320GB partizionato (dove nella prima partizione, da 160GB, c'è installato Windows XP).
L'installazione è andata tutto bene, però all'accensione del pc non compariva la schermata dove poter scegliere quale Sistema Operativo far avviare (ma partiva in automatico Windows XP).
Ho fatto il ripristino del GRUB, come c'è spiegato nella sezione "DOCUMENTAZIONE", http://wiki.ubuntu-it.org/Amministrazio ... ght=(grub).
Dopo ciò la schermata per scegliere quale Sistema Operativo far partire compare e se si sceglie Ubuntu va tutto bene invece se si scegli Windows XP mi da questo errore: "NTLDR mancante...... premere CTRL+ALT+CANC per riavviare".
Se qualcuno mi potrebbe aiutare mi farebbe un favore immenso!!! Grazie!!!
Ho installato il nuovo sistema su un Hard Disk da 320GB partizionato (dove nella prima partizione, da 160GB, c'è installato Windows XP).
L'installazione è andata tutto bene, però all'accensione del pc non compariva la schermata dove poter scegliere quale Sistema Operativo far avviare (ma partiva in automatico Windows XP).
Ho fatto il ripristino del GRUB, come c'è spiegato nella sezione "DOCUMENTAZIONE", http://wiki.ubuntu-it.org/Amministrazio ... ght=(grub).
Dopo ciò la schermata per scegliere quale Sistema Operativo far partire compare e se si sceglie Ubuntu va tutto bene invece se si scegli Windows XP mi da questo errore: "NTLDR mancante...... premere CTRL+ALT+CANC per riavviare".
Se qualcuno mi potrebbe aiutare mi farebbe un favore immenso!!! Grazie!!!
Ultima modifica di FabioPink il mercoledì 3 giugno 2009, 2:52, modificato 1 volta in totale.
- gian64
- Imperturbabile Insigne

- Messaggi: 3024
- Iscrizione: mercoledì 7 novembre 2007, 15:33
- Desktop: Openbox-Gnome
- Distribuzione: SalentOS 2.0-Ubuntu 19.10
- Sesso: Maschile
- Località: Torino
- Contatti:
Re: [Boot] Problemi all'avvio
Posta il risultato del comando
PS
Benvenuto sul forum (b2b)
Codice: Seleziona tutto
cat /boot/grub/menu.lstBenvenuto sul forum (b2b)
Ultima modifica di gian64 il mercoledì 3 giugno 2009, 1:25, modificato 1 volta in totale.
Ma quanto è variegato il mondo Linux…
Re: [Boot] Problemi all'avvio
# 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=942907c7-0c94-4eff-a06a-b4735e4d31e5 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=942907c7-0c94-4eff-a06a-b4735e4d31e5
## 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 942907c7-0c94-4eff-a06a-b4735e4d31e5
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=942907c7-0c94-4eff-a06a-b4735e4d31e5 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 942907c7-0c94-4eff-a06a-b4735e4d31e5
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=942907c7-0c94-4eff-a06a-b4735e4d31e5 ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
uuid 942907c7-0c94-4eff-a06a-b4735e4d31e5
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/sdb1
title Microsoft Windows XP Professional
rootnoverify (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
# 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=942907c7-0c94-4eff-a06a-b4735e4d31e5 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=942907c7-0c94-4eff-a06a-b4735e4d31e5
## 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 942907c7-0c94-4eff-a06a-b4735e4d31e5
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=942907c7-0c94-4eff-a06a-b4735e4d31e5 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 942907c7-0c94-4eff-a06a-b4735e4d31e5
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=942907c7-0c94-4eff-a06a-b4735e4d31e5 ro single
initrd /boot/initrd.img-2.6.28-11-generic
title Ubuntu 9.04, memtest86+
uuid 942907c7-0c94-4eff-a06a-b4735e4d31e5
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/sdb1
title Microsoft Windows XP Professional
rootnoverify (hd1,0)
savedefault
makeactive
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
- Guiodic
- Accecante Asceta

- Messaggi: 28474
- Iscrizione: martedì 24 aprile 2007, 15:28
- Località: Roma
- Contatti:
Re: [Boot] Problemi all'avvio
Pre favore, usa i tag codice per racchiudere il codice (li ottieni cliccando sul tatino con # vicino le faccine.
Da terminale dai:
copia cosa esce.
Da terminale dai:
Codice: Seleziona tutto
sudo fdisk -lRe: [Boot] Problemi all'avvio
Codice: Seleziona tutto
Disco /dev/sda: 160.0 GB, 160041885696 byte
255 testine, 63 settori/tracce, 19457 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0x30ae08a9
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 1 19456 156280288+ 7 HPFS/NTFS
Disco /dev/sdb: 320.0 GB, 320072933376 byte
255 testine, 63 settori/tracce, 38913 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0x469f469e
Dispositivo Boot Start End Blocks Id System
/dev/sdb1 * 1 19456 156280288+ 7 HPFS/NTFS
/dev/sdb2 19457 25841 51287512+ 7 HPFS/NTFS
/dev/sdb3 25842 38913 105000840 5 Esteso
/dev/sdb5 25842 38376 100687356 83 Linux
/dev/sdb6 38377 38913 4313421 82 Linux swap / Solaris
Disco /dev/sdc: 500.1 GB, 500107862016 byte
255 testine, 63 settori/tracce, 60801 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0xe659f9f2
Dispositivo Boot Start End Blocks Id System
/dev/sdc1 * 1 60801 488384001 7 HPFS/NTFS
- Guiodic
- Accecante Asceta

- Messaggi: 28474
- Iscrizione: martedì 24 aprile 2007, 15:28
- Località: Roma
- Contatti:
Re: [Boot] Problemi all'avvio
hai windows in tre dischi... qual'è quello giusto?
Re: [Boot] Problemi all'avvio
quello giusto è quello da 320GB. Degli altri 2 uno è completamente vuoto e l'altro lo uso come archivio.
- Guiodic
- Accecante Asceta

- Messaggi: 28474
- Iscrizione: martedì 24 aprile 2007, 15:28
- Località: Roma
- Contatti:
Re: [Boot] Problemi all'avvio
be' il menu.lst sembra corretto.
non saprei dirti.
non saprei dirti.
Re: [Boot] Problemi all'avvio
Grazie lo stesso! Sei stato molto gentile!!!
- gian64
- Imperturbabile Insigne

- Messaggi: 3024
- Iscrizione: mercoledì 7 novembre 2007, 15:33
- Desktop: Openbox-Gnome
- Distribuzione: SalentOS 2.0-Ubuntu 19.10
- Sesso: Maschile
- Località: Torino
- Contatti:
Re: [Boot] Problemi all'avvio
Prova a togliere dalla voce relativa a windows del /menu.lst questa parte
è solo un tentativo naturalmente, però avendo tu entrambi i sistemi su un unico HD non ti serve a niente.
Codice: Seleziona tutto
map (hd0) (hd1)
map (hd1) (hd0)
Ultima modifica di gian64 il mercoledì 3 giugno 2009, 2:09, modificato 1 volta in totale.
Ma quanto è variegato il mondo Linux…
- et4beta
- Rampante Reduce

- Messaggi: 7931
- Iscrizione: mercoledì 9 gennaio 2008, 10:15
- Desktop: Gnome
- Distribuzione: 18.04-22.04-23.04 (NO UEFI)
- Località: Ancona
Re: [Boot] Problemi all'avvio
Controlla anche che nella cartella radice di Windows (C:), siano presenti i files:
ntldr
NTDETECT.COM
boot.ini
Se mancassero, o ne mancasse uno, li puoi recuperare dal CD di installazione di Windows.
ntldr
NTDETECT.COM
boot.ini
Se mancassero, o ne mancasse uno, li puoi recuperare dal CD di installazione di Windows.
Linux User #485103 - Ubuntu User #38220 - Desktop: MoBo MSI Z790 Tomahawk - Intel i9-13900F - RAM G.Skill Trident Z5 DDR5 F5-6000 32 Gb - GPU Asus RTX 4070 Ti - Monitor Samsung G5 32" - SSD Samsung 990 Pro M.2 PCIe NVMe 2 Tb e altri / - Noteb. Asus TUF Gaming FX705GE - i7 8750H - RAM 16 Gb
Re: [Boot] Problemi all'avvio
Scusa l'ignoranza gian64, ma non sono tanto pratico, come faccio a cancellare?
- et4beta
- Rampante Reduce

- Messaggi: 7931
- Iscrizione: mercoledì 9 gennaio 2008, 10:15
- Desktop: Gnome
- Distribuzione: 18.04-22.04-23.04 (NO UEFI)
- Località: Ancona
Re: [Boot] Problemi all'avvio
Da terminale:FabioPink ha scritto: Scusa l'ignoranza gian64, ma non sono tanto pratico, come faccio a cancellare?
sudo gedit /boot/grub/menu.lst
Linux User #485103 - Ubuntu User #38220 - Desktop: MoBo MSI Z790 Tomahawk - Intel i9-13900F - RAM G.Skill Trident Z5 DDR5 F5-6000 32 Gb - GPU Asus RTX 4070 Ti - Monitor Samsung G5 32" - SSD Samsung 990 Pro M.2 PCIe NVMe 2 Tb e altri / - Noteb. Asus TUF Gaming FX705GE - i7 8750H - RAM 16 Gb
Re: [Boot] Problemi all'avvio
ntldr
NTDETECT.COM
boot.ini
Questi file ci sono tutti.
La cosa strana è che se metto il cd di Ubuntu nella schermata iniziale, quella dove c'è:
Prova Ubuntu senza modificare il computer
Installa Ubuntu
Controlla difetti sul cd
.......
Se clicco sull'ultima voce (Boot dal primo disco rigido)
Compare la schermata per scegliere il sistema operativo e da lì riesco ad accedere a Windows
NTDETECT.COM
boot.ini
Questi file ci sono tutti.
La cosa strana è che se metto il cd di Ubuntu nella schermata iniziale, quella dove c'è:
Prova Ubuntu senza modificare il computer
Installa Ubuntu
Controlla difetti sul cd
.......
Se clicco sull'ultima voce (Boot dal primo disco rigido)
Compare la schermata per scegliere il sistema operativo e da lì riesco ad accedere a Windows
- Guiodic
- Accecante Asceta

- Messaggi: 28474
- Iscrizione: martedì 24 aprile 2007, 15:28
- Località: Roma
- Contatti:
Re: [Boot] Problemi all'avvio
allora prova come ha detto gian64.
Re: [Boot] Problemi all'avvio
Problema risolto!!!!
Ho fatto come ha detto Gian64 e ora è tutto OK!!!
Cmq grazie a tutti!!!!
Siete stati gentilissimi!!!!
Ho fatto come ha detto Gian64 e ora è tutto OK!!!
Cmq grazie a tutti!!!!
Siete stati gentilissimi!!!!
- et4beta
- Rampante Reduce

- Messaggi: 7931
- Iscrizione: mercoledì 9 gennaio 2008, 10:15
- Desktop: Gnome
- Distribuzione: 18.04-22.04-23.04 (NO UEFI)
- Località: Ancona
Re: [Boot] Problemi all'avvio
Quello che dici mi fa pensare che tu abbia Windows sul primo HD e non sul secondo, come dici.
Ad ogni modo per tagliare la testa al toro, con lo stesso comando di cui sopra (sudo gedit /boot/grub/menu.lst) vai a modificare la riga "rootnoverify (hd1,0)" di avvio di Windows, mettendo (hd0,0) al posto di (hd1,0).
Se non dovesse andare rimetti tutto come prima.
Ad ogni modo per tagliare la testa al toro, con lo stesso comando di cui sopra (sudo gedit /boot/grub/menu.lst) vai a modificare la riga "rootnoverify (hd1,0)" di avvio di Windows, mettendo (hd0,0) al posto di (hd1,0).
Se non dovesse andare rimetti tutto come prima.
Linux User #485103 - Ubuntu User #38220 - Desktop: MoBo MSI Z790 Tomahawk - Intel i9-13900F - RAM G.Skill Trident Z5 DDR5 F5-6000 32 Gb - GPU Asus RTX 4070 Ti - Monitor Samsung G5 32" - SSD Samsung 990 Pro M.2 PCIe NVMe 2 Tb e altri / - Noteb. Asus TUF Gaming FX705GE - i7 8750H - RAM 16 Gb
- et4beta
- Rampante Reduce

- Messaggi: 7931
- Iscrizione: mercoledì 9 gennaio 2008, 10:15
- Desktop: Gnome
- Distribuzione: 18.04-22.04-23.04 (NO UEFI)
- Località: Ancona
Re: [Boot] Problemi all'avvio
Ok, ciao.
Metti risolto sul titolo del primo post.
Metti risolto sul titolo del primo post.
Ultima modifica di et4beta il mercoledì 3 giugno 2009, 2:41, modificato 1 volta in totale.
Linux User #485103 - Ubuntu User #38220 - Desktop: MoBo MSI Z790 Tomahawk - Intel i9-13900F - RAM G.Skill Trident Z5 DDR5 F5-6000 32 Gb - GPU Asus RTX 4070 Ti - Monitor Samsung G5 32" - SSD Samsung 990 Pro M.2 PCIe NVMe 2 Tb e altri / - Noteb. Asus TUF Gaming FX705GE - i7 8750H - RAM 16 Gb
- gian64
- Imperturbabile Insigne

- Messaggi: 3024
- Iscrizione: mercoledì 7 novembre 2007, 15:33
- Desktop: Openbox-Gnome
- Distribuzione: SalentOS 2.0-Ubuntu 19.10
- Sesso: Maschile
- Località: Torino
- Contatti:
Re: [Boot] Problemi all'avvio
Adesso metti [risolto] davanti al titolo del primo post.
Io non gli farei fare esperimenti, se funziona lasciamolo così, comunque non credo che abbia windows su /dev/sda
et4beta ha scritto: Quello che dici mi fa pensare che tu abbia Windows sul primo HD e non sul secondo, come dici.
Ad ogni modo per tagliare la testa al toro, con lo stesso comando di cui sopra (sudo gedit /boot/grub/menu.lst) vai a modificare la riga "rootnoverify (hd1,0)" di avvio di Windows, mettendo (hd0,0) al posto di (hd1,0).
Se non dovesse andare rimetti tutto come prima.
Io non gli farei fare esperimenti, se funziona lasciamolo così, comunque non credo che abbia windows su /dev/sda
Ma quanto è variegato il mondo Linux…
Re: [Boot] Problemi all'avvio
Ok, grazie ancora. Cmq sono sicuro che Windows è nel secondo HD (quello da 320GB).gian64 ha scritto: Adesso metti [risolto] davanti al titolo del primo post.
et4beta ha scritto: Quello che dici mi fa pensare che tu abbia Windows sul primo HD e non sul secondo, come dici.
Ad ogni modo per tagliare la testa al toro, con lo stesso comando di cui sopra (sudo gedit /boot/grub/menu.lst) vai a modificare la riga "rootnoverify (hd1,0)" di avvio di Windows, mettendo (hd0,0) al posto di (hd1,0).
Se non dovesse andare rimetti tutto come prima.
Io non gli farei fare esperimenti, se funziona lasciamolo così, comunque non credo che abbia windows su /dev/sda
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 14 ospiti