Pagina 1 di 2

windows scomparso

Inviato: lunedì 30 marzo 2009, 22:15
da mirinix
un saluto cordiale a tutti, nonostante abbia letto e riletto tutto quanto e stato scritto sull' installazione , credo di aver fatto un grande macello, alla partenza il boot mi fa vedere diverse opzioni per ubuntu, ma non mi permette di andare su win. ho fatto fdisk che allego, credo anche di aver installato su due dischi diversi ubuntu visto la generosa collaborazione che date a tutti vi ringrazio anticipatamente

Re: windows scomparso

Inviato: lunedì 30 marzo 2009, 22:34
da pieddu
Allega anche

Codice: Seleziona tutto

cat /boot/grub/menu.lst
e vediamo....

Re: windows scomparso

Inviato: lunedì 30 marzo 2009, 22:39
da piero_tasso
aggiungo che piuttosto che allegare questi report in file otd ti conviene postarli qui nel forum usando il pulsantino Immagine così è molto più facile leggerli :)

Re: windows scomparso

Inviato: lunedì 30 marzo 2009, 23:07
da mirinix
scusate,non so se sono riuscito ad inviare quanto richiesto, per questa volta provo a rimandarlo in formato odt, poi se qualcuno mi spiega un modo per postarli in maniera più facile lo ringrazio anticipatamente

Re: windows scomparso

Inviato: lunedì 30 marzo 2009, 23:19
da pieddu
Ora aggiungi queste righe con questo comado:

Codice: Seleziona tutto

sudo gedit /boot/grub/menu.lst
Si aprirà un editor di testo simile a wordpad.

Mettile alla fine e riavvia, al riavvio dovresti trovare windows tra le opzioni.

Codice: Seleziona tutto

title		Windows
root		(hd2,0)
makeactive
chainloader	+1
Esattamente come le vedi....

[Grub] Re: windows scomparso

Inviato: martedì 31 marzo 2009, 1:09
da mirinix
scusate ma ho dovuto fare un sacco di prove, ma ancora non riesco a vedere windows, non so se ho corretto bene il file come mi ha indicato pieddu, ma a chiarimento allego la schermata
# 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=3c89a6ca-79c9-496f-b4de-670e674f5277 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=3c89a6ca-79c9-496f-b4de-670e674f5277

## 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.10, kernel 2.6.27-11-generic
uuid 3c89a6ca-79c9-496f-b4de-670e674f5277
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=3c89a6ca-79c9-496f-b4de-670e674f5277 ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet

title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid 3c89a6ca-79c9-496f-b4de-670e674f5277
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=3c89a6ca-79c9-496f-b4de-670e674f5277 ro  single
initrd /boot/initrd.img-2.6.27-11-generic

title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 3c89a6ca-79c9-496f-b4de-670e674f5277
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=3c89a6ca-79c9-496f-b4de-670e674f5277 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 3c89a6ca-79c9-496f-b4de-670e674f5277
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=3c89a6ca-79c9-496f-b4de-670e674f5277 ro  single
initrd /boot/initrd.img-2.6.27-7-generic

title Ubuntu 8.10, memtest86+
uuid 3c89a6ca-79c9-496f-b4de-670e674f5277
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 an existing
# linux installation on /dev/sdc5.
title Ubuntu 8.10, kernel 2.6.27-7-generic (on /dev/sdc5)
root (hd2,4)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=46c96cdc-277e-4362-a836-8fbf11ebf9c9 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc5.
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode) (on /dev/sdc5)
root (hd2,4)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=46c96cdc-277e-4362-a836-8fbf11ebf9c9 ro single
initrd /boot/initrd.img-2.6.27-7-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdc5.
title Ubuntu 8.10, memtest86+ (on /dev/sdc5)
root (hd2,4)
kernel /boot/memtest86+.bin 
savedefault
boot


title Windows
root (hd2,0)
makeactive
chainloader +1
boot

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 1:13
da piero_tasso
modifica il tuo ultimo messaggio inserendo (prima e dopo il codice) le scritte

Codice: Seleziona tutto

 e [/code ] (non inserire lo spazio prima delle ]), in questo modo rendi il codice molto più leggibile  ;)

(intendo qui nel forum, nel messaggio precedente cliccando sul tasto "modifica")

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 1:30
da piero_tasso
non sono molto esperto, ma dovrebbe metterti anche windows tra le opzioni all'avvio: il menu.lst di grub adesso è a posto (magari un po' incasinato: oltre a Ubuntu hai altre installazioni di Linux sul secondo hard disk?)

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 1:30
da badìl
Allego il fdisk per comodità di tutti

Codice: Seleziona tutto

loriano@loriano-desktop:~$ sudo fdisk -l 
[sudo] password for loriano: 

Disk /dev/sda: 40.0 GB, 40027029504 bytes 
255 heads, 63 sectors/track, 4866 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Disk identifier: 0x11121111 

   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1               1        4661    37439451   83  Linux 
/dev/sda2            4662        4866     1646662+   5  Extended 
/dev/sda5            4662        4866     1646631   82  Linux swap / Solaris 

Disk /dev/sdb: 120.0 GB, 120034123776 bytes 
255 heads, 63 sectors/track, 14593 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Disk identifier: 0xc5710018 

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdb1   *           1       11186    89851513+   c  W95 FAT32 (LBA) 
/dev/sdb2           11187       14593    27366727+   5  Extended 
/dev/sdb5           11187       14446    26185918+  83  Linux 
/dev/sdb6           14447       14593     1180746   82  Linux swap / Solaris 

Disk /dev/sdc: 400.0 GB, 400088457216 bytes 
255 heads, 63 sectors/track, 48641 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Disk identifier: 0xac3eac3e 

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdc1   *           1       48641   390708801    7  HPFS/NTFS 
loriano@loriano-desktop:~$ 
Hai installato Ubuntu 2 volte.

Windows si trova sul disco da 120? (suppongo il 400 sia per i dati) In quel caso devi mettere

Codice: Seleziona tutto

title		Windows
root		(hd1,0)
makeactive
chainloader	+1

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 6:23
da GiovEdi
badìl ha scritto:
Windows si trova sul disco da 120? (suppongo il 400 sia per i dati) In quel caso devi mettere

Codice: Seleziona tutto

title		Windows
root		(hd1,0)
makeactive
chainloader	+1
badil, ti sei dimenticata che quando Windows non è sul primo disco, bisogna mettere l'escamotage map:

Codice: Seleziona tutto

title		Windows
rootnoverify  (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
chainloader	+1


Re: windows scomparso

Inviato: martedì 31 marzo 2009, 12:54
da badìl
Hai ragione Giovedì.
Per curiosità... solo se è sul secondo disco o anche se fosse sul primo?

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 13:10
da pieddu
badìl ha scritto: Hai ragione Giovedì.
Per curiosità... solo se è sul secondo disco o anche se fosse sul primo?
Credo solo se non sta sul primo disco....

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 16:17
da mirinix
scusate se rispondo solo adesso, ma.... ( bisogna pur lavorare per mangiare) a parte la battuta, ricapitolando ho installato per errore due linux, uno nel disco da 40 gb dove c'è anche win, e uno in quello da 120 gb l' altro disco da 400 gb e per archviare .
Con le modifiche consigliate da Pieddu ora nel menu del boot vedo oltre alle varie opzioni di linux anche win in fondo alla lista, ma cliccandoci sopra appare il comando che cerca di far partire win ma non succede niente e per far ripartire il tutto bisogna resettare e funziona solo linux.
Questo è tutto, non ho fatto altre modifiche per non incasinare di più

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 16:38
da badìl
Devi modificare come dice Giovedì.

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 16:40
da mirinix
io vorrei tenere linux sul disco da 40 gb dove c'è anche win e togliere l' installazione su quello da 120 gb come devo fare? forse giovedi credeva che ci fosse solo un inst sul disco da 120 ?

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 16:47
da badìl
mirinix ha scritto: io vorrei tenere linux sul disco da 40 gb dove c'è anche win e togliere l' installazione su quello da 120 gb come devo fare? forse giovedi credeva che ci fosse solo un inst sul disco da 120 ?
Non cambia. Il disco di windows è sempre hd1

prova a modificare il menu.lst.

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 17:02
da mirinix
eccomi di nuovo quà, ho fatto le modifiche, ma ora mi dice:
system not installed
hit key to reboot
grub loadingstage 1.5.
grub error 17

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 17:06
da badìl
Te lo dice scegliendo windows?
i due HD (40 e 120 GB) sono interni e sempre collegati? Ora sono collegati entrambi?

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 17:12
da mirinix
ho n° 3 Hd tutti interni e collegati, quello da 40 gb con win e quello da 120 sono collegati tramite cavetto IDE, il terzo da 400 gb e collegato con cavetto SATA

Re: windows scomparso

Inviato: martedì 31 marzo 2009, 17:16
da badìl
Prova a ridare un

Codice: Seleziona tutto

sudo fdisk -l
per vedere che non sia cambiato l'ordine dei dischi.
E da ubuntu prova ad entrare nella partizione windows per controllare che sia tutto a posto.