Come inserisco windows in Grub?
- maurizio.skywalker
- Scoppiettante Seguace

- Messaggi: 513
- Iscrizione: domenica 5 febbraio 2006, 12:26
- Località: Morlupo (ROMA!)
Come inserisco windows in Grub?
ho dovuto per forza di cose reinstallare windows (programmi universitari)..come previsto grub è scomparso!sono riuscito a ripristinarlo seguendo la guida,ma adesso non mi vede windows!ovvero non mi da la possibilità di sceglierlo all'avvio..come devo fare?
la partizione di windows è /dev/hda2..
ciao e grazie!
la partizione di windows è /dev/hda2..
ciao e grazie!
che la Forza sia con voi..
- Totux
- Entusiasta Emergente

- Messaggi: 1478
- Iscrizione: sabato 28 aprile 2007, 14:41
- Distribuzione: Ubuntu 12.04
- Località: Milano
- Contatti:
Re: Come inserisco windows in Grub?
prova ad aggiungere al file /boot/grub/menu.lst queste righe:
ciao
Codice: Seleziona tutto
title Microsoft Windows XP Professional
root (hd0,2)
savedefault
makeactive
chainloader +1Totò
- maurizio.skywalker
- Scoppiettante Seguace

- Messaggi: 513
- Iscrizione: domenica 5 febbraio 2006, 12:26
- Località: Morlupo (ROMA!)
Re: Come inserisco windows in Grub?
no non funziona..grub mi compare ma parte direttamente ubuntu!non mi da propio la possibilità di scegliere!!! :'(
che la Forza sia con voi..
- maurizio.skywalker
- Scoppiettante Seguace

- Messaggi: 513
- Iscrizione: domenica 5 febbraio 2006, 12:26
- Località: Morlupo (ROMA!)
Re: Come inserisco windows in Grub?
questo è il risultato di sudo fdisk -l
Codice: Seleziona tutto
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Dispositivo Boot Start End Blocks Id System
/dev/hda1 1 6317 50741271 83 Linux
/dev/hda2 * 6318 9542 25904812+ 7 HPFS/NTFS
/dev/hda3 9543 9729 1502077+ 5 Esteso
/dev/hda5 9543 9729 1502046 82 Linux swap / Solaris
che la Forza sia con voi..
Re: Come inserisco windows in Grub?
forse hai attivato l'hiddenmenu...commentalo davanti con un cancelletto (#) se ce l'hai attivato...
- maurizio.skywalker
- Scoppiettante Seguace

- Messaggi: 513
- Iscrizione: domenica 5 febbraio 2006, 12:26
- Località: Morlupo (ROMA!)
Re: Come inserisco windows in Grub?
@zereul85
cioè??che significa?che dovrei fare?
cioè??che significa?che dovrei fare?
che la Forza sia con voi..
Re: Come inserisco windows in Grub?
stavo proprio per dirlo anche io!! (rotfl) (rotfl)Totux ha scritto: posta il menu.lst...
- Totux
- Entusiasta Emergente

- Messaggi: 1478
- Iscrizione: sabato 28 aprile 2007, 14:41
- Distribuzione: Ubuntu 12.04
- Località: Milano
- Contatti:
Re: Come inserisco windows in Grub?
(rotfl) (rotfl) (rotfl)zeruel85 ha scritto:stavo proprio per dirlo anche io!! (rotfl) (rotfl)Totux ha scritto: posta il menu.lst...
Totò
- filo1234
- Rampante Reduce

- Messaggi: 6172
- Iscrizione: lunedì 26 febbraio 2007, 21:10
- Località: Cagliari
Re: Come inserisco windows in Grub?
da quello che vedo dal tuo fdisk dovresti aggiungere queste righe alla fine del file menu.lst
Codice: Seleziona tutto
title Microsoft Windows XP Professional
root (hd0,1)
savedefault
makeactive
chainloader +1- maurizio.skywalker
- Scoppiettante Seguace

- Messaggi: 513
- Iscrizione: domenica 5 febbraio 2006, 12:26
- Località: Morlupo (ROMA!)
Re: Come inserisco windows in Grub?
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 change this entry to 'saved' 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 3
## 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=a8fe457d-838a-48aa-9121-83666152bdaa ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
title Ubuntu, kernel 2.6.20-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=a8fe457d-838a-48aa-9121-83666152bdaa ro quiet splash noapic nolapic
initrd /boot/initrd.img-2.6.20-16-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=a8fe457d-838a-48aa-9121-83666152bdaa ro single
initrd /boot/initrd.img-2.6.20-16-generic
title Ubuntu, kernel 2.6.20-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=a8fe457d-838a-48aa-9121-83666152bdaa ro quiet splash
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault
title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=a8fe457d-838a-48aa-9121-83666152bdaa ro single
initrd /boot/initrd.img-2.6.20-15-generic
title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
title Microsoft Windows XP Professional
root (hd0,2)
savedefault
makeactive
chainloader +1eccolo qui... (b2b)
che la Forza sia con voi..
Re: Come inserisco windows in Grub?
se guardi bene c'è una parola che si chiama HIDDENMENU...mettici un # davanti, oppure cancellala...salvi e sei apposto... (b2b)
- maurizio.skywalker
- Scoppiettante Seguace

- Messaggi: 513
- Iscrizione: domenica 5 febbraio 2006, 12:26
- Località: Morlupo (ROMA!)
- Guiodic
- Accecante Asceta

- Messaggi: 28474
- Iscrizione: martedì 24 aprile 2007, 15:28
- Località: Roma
- Contatti:
Re: Come inserisco windows in Grub?
Se la partizione è sda2 devi mettere hd0,1maurizio.skywalker ha scritto: no non funziona..grub mi compare ma parte direttamente ubuntu!non mi da propio la possibilità di scegliere!!! :'(
Grub conta da 0 non da 1.
Re: Come inserisco windows in Grub?
no sior, ti sbagli alla grande...appena due righe sotto quella che dici tu!! (rotfl) (rotfl) (rotfl) (rotfl) (rotfl)
EDIT: guiodic ha ragione...(hd0,1)!!!
EDIT: guiodic ha ragione...(hd0,1)!!!
- filo1234
- Rampante Reduce

- Messaggi: 6172
- Iscrizione: lunedì 26 febbraio 2007, 21:10
- Località: Cagliari
Re: Come inserisco windows in Grub?
questa parte è sbagliata devi correggere (hd0,2)
in (hd0,1)
Codice: Seleziona tutto
title Microsoft Windows XP Professional
root (hd0,2)
savedefault
makeactive
chainloader +1Codice: Seleziona tutto
title Microsoft Windows XP Professional
root (hd0,1)
savedefault
makeactive
chainloader +1- Totux
- Entusiasta Emergente

- Messaggi: 1478
- Iscrizione: sabato 28 aprile 2007, 14:41
- Distribuzione: Ubuntu 12.04
- Località: Milano
- Contatti:
Re: Come inserisco windows in Grub?
non il primo hiddenmenu, il secondo non è commentato
ciao (b2b)
maurizio.skywalker ha scritto:Codice: Seleziona tutto
## hiddenmenu # Hides the menu by default (press ESC to see the menu) hiddenmenu
stavolta mi hai fregato tu (rotfl) (rotfl)zeruel85 ha scritto: se guardi bene c'è una parola che si chiama HIDDENMENU...mettici un # davanti, oppure cancellala...salvi e sei apposto... (b2b)
ciao (b2b)
Totò
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 12 ospiti