[Grub] Installazione ubuntu , ma sparito windows 7

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Scrivi risposta
Auricchio
Prode Principiante
Messaggi: 6
Iscrizione: sabato 24 aprile 2010, 10:19

[Grub] Installazione ubuntu , ma sparito windows 7

Messaggio da Auricchio »

ciao a tutti
fino oggi avevo sempre usato windows
ma stamattina dopo un'illuminazione divina ho deciso di cominciare ad installare ubuntu
Tutto a posto a parte che ubuntu parte prepotentemente e windows 7 sembra volatilizzato :o
Smanettando per i forum non sono riuscito a risolvere ma ho visto che postando intanto questo
magari qualcuno mi puo' aiutare.Grazie >:(



posto un bel "sudo fdisk -l"
sperando che qualcuno mi possa aiutare, grazie mille

abala@abala-bar:~$ sudo fdisk -l
[sudo] password for abala:

Disco /dev/sda: 120.0 GB, 120034123776 byte
255 testine, 63 settori/tracce, 14593 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0xd8504970

Dispositivo Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1        7941    63786051    7  HPFS/NTFS
/dev/sda2            7942      13196    42204028+  7  HPFS/NTFS
/dev/sda3          13196      14594    11228160  83  Linux
abala@abala-bar:~$
Avatar utente
Petr
Rampante Reduce
Rampante Reduce
Messaggi: 6203
Iscrizione: lunedì 17 agosto 2009, 1:26
Desktop: Unity
Distribuzione: Ubuntu 14.04 LTS x86_64

Re: [Grub] Installazione ubuntu , ma sparito windows 7

Messaggio da Petr »

Ciao a te!
Apri un terminale da applicazioni-accessori terminale. Digita

Codice: Seleziona tutto

sudo update-grub
Come hai installato e quale versione?
Installazione manuale o automatica? Non hai una partizione di swap. Di solito viene creata se si fà una installazione automatica.
Avatar utente
Bygepp
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 354
Iscrizione: giovedì 21 gennaio 2010, 15:12

Re: [Grub] Installazione ubuntu , ma sparito windows 7

Messaggio da Bygepp »

Dai da terminale:

Codice: Seleziona tutto

sudo update-grub
EDIT: Scusa Petr, mi hai battuto sul tempo
Ultima modifica di Bygepp il domenica 25 aprile 2010, 11:00, modificato 1 volta in totale.
Auricchio
Prode Principiante
Messaggi: 6
Iscrizione: sabato 24 aprile 2010, 10:19

Re: [Grub] Installazione ubuntu , ma sparito windows 7

Messaggio da Auricchio »

ho fatto l'installazione manuale perchè con tutto windows 7 sotto mi diceva che non c'era alcun sistema operativo e mi andava ad utilizzare la partizione di windows

eseguo il comando e poi mi da delle opzioni
devo installare la versione del manutentore del pacchetto?
la versione è la 9.10
grazie!
Avatar utente
Petr
Rampante Reduce
Rampante Reduce
Messaggi: 6203
Iscrizione: lunedì 17 agosto 2009, 1:26
Desktop: Unity
Distribuzione: Ubuntu 14.04 LTS x86_64

Re: [Grub] Installazione ubuntu , ma sparito windows 7

Messaggio da Petr »

Se postassi il risultato capiremmo meglio.
Collegati con la live e posta.


ciao @ Bygepp Sono Petr non patel
         Nessun problema.
Ultima modifica di Petr il sabato 24 aprile 2010, 17:26, modificato 1 volta in totale.
Auricchio
Prode Principiante
Messaggi: 6
Iscrizione: sabato 24 aprile 2010, 10:19

Re: [Grub] Installazione ubuntu , ma sparito windows 7

Messaggio da Auricchio »

Petr ha scritto: Se postassi il risultato capiremmo meglio.
Collegati con la live e posta.


ciao @ Bygepp Sono Petr non patel
         Nessun problema.
ops
scusate

Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.31-20-generic
Found kernel: /boot/vmlinuz-2.6.31-14-generic
Found GRUB 2: /boot/grub/core.img
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done




sto naturalmente scrivendo da ubuntu 9.10 installato non da cd live :-*
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: [Grub] Installazione ubuntu , ma sparito windows 7

Messaggio da patel »

posta

Codice: Seleziona tutto

cat /boot/grub/menu.lst
cat /boot/grub/grub.cfg
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
Auricchio
Prode Principiante
Messaggi: 6
Iscrizione: sabato 24 aprile 2010, 10:19

Re: [Grub] Installazione ubuntu , ma sparito windows 7

Messaggio da Auricchio »

patel ha scritto: posta

Codice: Seleziona tutto

cat /boot/grub/menu.lst
cat /boot/grub/grub.cfg
abala@abala-bar:~$ cat /boot/grub/menu.lst
title windows 7 beta (Loader)
root (hd0,1)
savedefault
makeactive
chainloader +1
### 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=09d58b55-1251-45bd-ba34-97164dbc7aff ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=09d58b55-1251-45bd-ba34-97164dbc7aff

## 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.10, kernel 2.6.31-20-generic
uuid 09d58b55-1251-45bd-ba34-97164dbc7aff
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=09d58b55-1251-45bd-ba34-97164dbc7aff ro quiet splash
initrd /boot/initrd.img-2.6.31-20-generic

title Ubuntu 9.10, kernel 2.6.31-20-generic (recovery mode)
uuid 09d58b55-1251-45bd-ba34-97164dbc7aff
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=09d58b55-1251-45bd-ba34-97164dbc7aff ro  single
initrd /boot/initrd.img-2.6.31-20-generic

title Ubuntu 9.10, kernel 2.6.31-14-generic
uuid 09d58b55-1251-45bd-ba34-97164dbc7aff
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=09d58b55-1251-45bd-ba34-97164dbc7aff ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic

title Ubuntu 9.10, kernel 2.6.31-14-generic (recovery mode)
uuid 09d58b55-1251-45bd-ba34-97164dbc7aff
kernel /boot/vmlinuz-2.6.31-14-generic root=UUID=09d58b55-1251-45bd-ba34-97164dbc7aff ro  single
initrd /boot/initrd.img-2.6.31-14-generic

title Chainload into GRUB 2
root 09d58b55-1251-45bd-ba34-97164dbc7aff
kernel /boot/grub/core.img

title Ubuntu 9.10, memtest86+
uuid 09d58b55-1251-45bd-ba34-97164dbc7aff
kernel /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

.
Auricchio
Prode Principiante
Messaggi: 6
Iscrizione: sabato 24 aprile 2010, 10:19

Re: [Grub] Installazione ubuntu , ma sparito windows 7

Messaggio da Auricchio »

e poi....

abala@abala-bar:~$ 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=(hd0,3)
search --no-floppy --fs-uuid --set 09d58b55-1251-45bd-ba34-97164dbc7aff
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=(hd0,3)
search --no-floppy --fs-uuid --set 09d58b55-1251-45bd-ba34-97164dbc7aff
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=09d58b55-1251-45bd-ba34-97164dbc7aff 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=(hd0,3)
search --no-floppy --fs-uuid --set 09d58b55-1251-45bd-ba34-97164dbc7aff
linux /boot/vmlinuz-2.6.31-20-generic root=UUID=09d58b55-1251-45bd-ba34-97164dbc7aff 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=(hd0,3)
search --no-floppy --fs-uuid --set 09d58b55-1251-45bd-ba34-97164dbc7aff
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=09d58b55-1251-45bd-ba34-97164dbc7aff 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=(hd0,3)
search --no-floppy --fs-uuid --set 09d58b55-1251-45bd-ba34-97164dbc7aff
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=09d58b55-1251-45bd-ba34-97164dbc7aff 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 ###
if [ ${timeout} != -1 ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### 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 ###
Avatar utente
deusnova
Prode Principiante
Messaggi: 175
Iscrizione: domenica 11 ottobre 2009, 13:02

Re: [Grub] Installazione ubuntu , ma sparito windows 7

Messaggio da deusnova »

Se quando aggiorni ti chiede di installare la versione del manutentore del pacchetto, ti cancella le voci personalizzate [quindi ciao Windows] e ti mette solo i vari kernel di ubuntu.
Io faccio sempre così... mi aggiorno il sistema con la versione del manutentore, poi modifico il file delle impostazioni di GRUB, rimettendo Windows.
È una palla.. ma tanto dovrei editarlo comunque [inserendo l'avvio del nuovo kernel per ubuntu], quindi...
who I am? in the back of my awareness I will call myself God.
and I will spend the rest of forever trying to figure out who I am.
>> blinded wallpapers collection <<
Avatar utente
Bygepp
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 354
Iscrizione: giovedì 21 gennaio 2010, 15:12

Re: [Grub] Installazione ubuntu , ma sparito windows 7

Messaggio da Bygepp »

Petr ha scritto: Se postassi il risultato capiremmo meglio.
Collegati con la live e posta.


ciao @ Bygepp Sono Petr non patel
         Nessun problema.
Scusami ancora Petr, ho corretto, devo ammettere che sono distratto!!! ::)
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: [Grub] Installazione ubuntu , ma sparito windows 7

Messaggio da patel »

tu hai sia il grub1 che il grub2 e questo provoca confusione, ti conviene reinstallare la 10.04 nella stessa partizione usando l'opzione manuale,
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 4 ospiti