sparito windows xp da dev/sda1

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Avatar utente
romascio
Prode Principiante
Messaggi: 41
Iscrizione: sabato 16 maggio 2009, 21:24
Desktop: unity
Distribuzione: ubuntu 16.04.2 64bit
Località: Trois-ville

sparito windows xp da dev/sda1

Messaggio da romascio »

salve a tutti.
ho cercato di installare il programma XBMC su usb da cd live ,con l'unico risultato che non si avvia più windows.
Aprendo gparted vedo che il file system risulta sconosciuto. DEvo reinstallare xp o è possibile recuperarlo?
grazie.
gato
Prode Principiante
Messaggi: 83
Iscrizione: domenica 16 luglio 2006, 19:54

Re: sparito windows xp da dev/sda1

Messaggio da gato »

Per capire di più potresti postare un immagine di gparted (perchè non sono molto prattico) o almeno un dai un

Codice: Seleziona tutto

sudo fdisk -l
su terminale (e posta) con anche magari il risultato di

Codice: Seleziona tutto

gedit /boot/grub/menu.lst
. Giusto per capire se è un problema di qualche riga nella lista di grub, o hai proprio "brasato" windows
Avatar utente
romascio
Prode Principiante
Messaggi: 41
Iscrizione: sabato 16 maggio 2009, 21:24
Desktop: unity
Distribuzione: ubuntu 16.04.2 64bit
Località: Trois-ville

Re: sparito windows xp da dev/sda1

Messaggio da romascio »

ho dimenticato di dire che sono alle prime armi, sia con ubuntu,sia con window.
comunque...
roby@uroby:~$ sudo fdisk -l
[sudo] password for roby:

Disco /dev/sda: 61.4 GB, 61492838400 byte
255 testine, 63 settori/tracce, 7476 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0x5c055c05

Dispositivo Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1        3187    25599546    7  HPFS/NTFS
/dev/sda2            3188        7475    34443360    f  W95 Esteso (LBA)
/dev/sda5            3188        7475    34443328+  7  HPFS/NTFS

Disco /dev/sdb: 80.0 GB, 80026361856 byte
255 testine, 63 settori/tracce, 9729 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0x90909090

Dispositivo Boot      Start        End      Blocks  Id  System
/dev/sdb1              1        1337    10739421  83  Linux
/dev/sdb2            1338        9729    67408740    5  Esteso
/dev/sdb5            1338        1702    2931831  82  Linux swap / Solaris
/dev/sdb6            1703        9729    64476846  83  Linux
roby@uroby:~$
Avatar utente
romascio
Prode Principiante
Messaggi: 41
Iscrizione: sabato 16 maggio 2009, 21:24
Desktop: unity
Distribuzione: ubuntu 16.04.2 64bit
Località: Trois-ville

Re: sparito windows xp da dev/sda1

Messaggio da romascio »

dimenticavo  la grub lst.# 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 20

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
color cyan/blue white/blue

#A splash image for the menu
splashimage=/boot/grub/splashimages/gunhole.xpm.gz

## 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=c7aa1201-ef88-4a4b-baa9-7860222bc416 ro all_generic_ide xforcevesa

## default grub root device
## e.g. groot=(hd0,0)
# groot=c7aa1201-ef88-4a4b-baa9-7860222bc416

## 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 c7aa1201-ef88-4a4b-baa9-7860222bc416
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=c7aa1201-ef88-4a4b-baa9-7860222bc416 ro all_generic_ide xforcevesa 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 c7aa1201-ef88-4a4b-baa9-7860222bc416
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=c7aa1201-ef88-4a4b-baa9-7860222bc416 ro all_generic_ide xforcevesa  single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, kernel 2.6.27-7-generic
uuid c7aa1201-ef88-4a4b-baa9-7860222bc416
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=c7aa1201-ef88-4a4b-baa9-7860222bc416 ro all_generic_ide xforcevesa quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Ubuntu 9.04, kernel 2.6.27-7-generic (recovery mode)
uuid c7aa1201-ef88-4a4b-baa9-7860222bc416
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=c7aa1201-ef88-4a4b-baa9-7860222bc416 ro all_generic_ide xforcevesa  single
initrd /boot/initrd.img-2.6.27-7-generic

title Ubuntu 9.04, memtest86+
uuid c7aa1201-ef88-4a4b-baa9-7860222bc416
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/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
gato
Prode Principiante
Messaggi: 83
Iscrizione: domenica 16 luglio 2006, 19:54

Re: sparito windows xp da dev/sda1

Messaggio da gato »

Scusa per la risposta in ritardo.
Da quello che vedo sembra tutto a posto. Non saprei... L'unica cosa che mi viene in mente è che magari ai rovinato il boot loader di Windows. Pero per quello servirebbe l'oppinione di qualcuno più esperto. Da quello che vedo, mi sembra che fdisk dice che il filesystem sembra a posto su Windows. Ma sarebbe gradito il parere di qualcuno più esperto
Avatar utente
Kmedioman
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 662
Iscrizione: lunedì 13 novembre 2006, 9:12

Re: sparito windows xp da dev/sda1

Messaggio da Kmedioman »

Se avvii ubuntu riesci a leggere sda1? Ci sono le cartelle di sistema di Windows (Documents and Settings, Programs, Windows....)?
Se ti rendi conto di avere danneggiato il MBR, lo puoi recuperare da qui, scegliendo se:
1. recuperare quello di windows http://wiki.ubuntu-it.org/Amministrazio ... ight=(mbr)
2. aggiornare grub http://wiki.ubuntu-it.org/Amministrazio ... perareGrub

Ciao
"Il principale compito di un generale è di evitare che il proprio esercito rimanga senza guida" - Generali a merenda - Boris Vian
Avatar utente
romascio
Prode Principiante
Messaggi: 41
Iscrizione: sabato 16 maggio 2009, 21:24
Desktop: unity
Distribuzione: ubuntu 16.04.2 64bit
Località: Trois-ville

Re: sparito windows xp da dev/sda1

Messaggio da romascio »

no non 'vedo' più sda1.
domanda: se reinstallo MBR ,non vado a sovrapporlo a grub?
Avatar utente
Kmedioman
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 662
Iscrizione: lunedì 13 novembre 2006, 9:12

Re: sparito windows xp da dev/sda1

Messaggio da Kmedioman »

Come non lo vedi più? Compare in fdisk formattato NTFS, non riesci ad accedere dal menù risorse a quella partizione?
/dev/sda1  *          1        3187    25599546    7  HPFS/NTFS
Non hai nel menù risorse una voce "Supporto da XX GB" riferita a sda1?
domanda: se reinstallo MBR ,non vado a sovrapporlo a grub?
Si, se lo installi nello stesso MBR. Vista la tua configurazione con 2 dischi, potresti installare windows su sda e poi linux su sdb, e i MBR sui relativi dischi. Se da BIOS avvii sda parte windows, se avvii sdb grub ti farà scegliere.

Se la partizione non è accessibile, non ne capisci il contenuto e non hai dati da recuperare forse la via più breve è un formattore terapeutico e successivamente il ripristino di grub per avviare linux. Non è che XBMC usa NTFS e hai piallato sda1?
"Il principale compito di un generale è di evitare che il proprio esercito rimanga senza guida" - Generali a merenda - Boris Vian
Avatar utente
romascio
Prode Principiante
Messaggi: 41
Iscrizione: sabato 16 maggio 2009, 21:24
Desktop: unity
Distribuzione: ubuntu 16.04.2 64bit
Località: Trois-ville

Re: sparito windows xp da dev/sda1

Messaggio da romascio »

no. da risorse e sparito.
XBMC mi chiedeva dove installarsi,offrendomi l'opzione sdc1(usb)che mi sembra di avere scelto (??)
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: Bing [Bot] e 5 ospiti