INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Avatar utente
ueghio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 318
Iscrizione: giovedì 18 dicembre 2008, 11:31

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da ueghio »

PerryGi ha scritto: Ti chiedo scusa, le prime due righe devono essere commentate così:

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows XP
root (hd0,1)
savedefault
makeactive
chainloader +1
ciao non apro un altro topic visto che ho lo stesso identico problema..
Ho aggiunto la voce xp al grub ma non riesco ad avviare windows clicandoci su..
mi potete dare una mano per favore?

Codice: Seleziona tutto

gavvi@gavvi-notebook:~$ sudo fdisk -l
[sudo] password for gavvi: 

Disco /dev/sda: 200.0 GB, 200049647616 byte
255 testine, 63 settori/tracce, 24321 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0x42224222

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1               1       22919   184096836   83  Linux
/dev/sda2   *       22920       24320    11253532+   7  HPFS/NTFS
e questa la riga che ho aggiunto a menu.list

Codice: Seleziona tutto

title		Windows XP
root

#This entry automatically added by the Debian installer for a non-linux OS
#on /dev/sda2
title      Windows XP
root      (hd0,1)
savedefault
makeactive chainloader   +1
grazie mille
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da patel »

title Windows XP ---- ELIMINA
root ------ ELIMINA

#This entry automatically added by the Debian installer for a non-linux OS
#on /dev/sda2
title      Windows XP
root      (hd0,1)
savedefault
makeactive ------- A CAPO
chainloader   +1
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
Avatar utente
ueghio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 318
Iscrizione: giovedì 18 dicembre 2008, 11:31

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da ueghio »

patel ha scritto: title Windows XP ---- ELIMINA
root ------ ELIMINA

#This entry automatically added by the Debian installer for a non-linux OS
#on /dev/sda2
title      Windows XP
root      (hd0,1)
savedefault
makeactive ------- A CAPO
chainloader   +1
Ottimo risolto..grazie!!
robococco
Prode Principiante
Messaggi: 1
Iscrizione: mercoledì 6 maggio 2009, 14:09

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da robococco »

ciao ragazzi, evitando di aprire un altro post io ho un problema simile..

premessa: ho due hdd, uno serial ata uno pata.
nel serial ata (320gb) ho windows xp con due partizioni, in una delle quali e' installato il s.o.
nel pata (160gb) e' presente solo linux con 3 partizioni, root, home e swap.

avevo correttamente installati sia windows xp sia linux ubuntu. funzionava tutto incluso il boot loader con scelta di entrambi all'accensione del pc: il problema e' nato quando ho deciso di reinstallare ubuntu ripartizionando meglio il disco pata (non avendo messo 3 partizioni)..

una volta reinstallato linux all'avvio del pc mi dava (con scelta limitata di tempo dopo la pressione di Esc, suppongo imposto da Grub) la sola scelta possibile di avvio per ubuntu. di windows nessuna traccia. ho seguito delle guide per riuscire a ripristinare il tutto ma proprio non sono riuscito a riesumare windows.. ubuntu funziona correttamente.

la cosa strana e' che non riesco ad avviare neanche la console di ripristino dal cd di win xp in quanto non rileva proprio xp nell'hdd sata seppur riconoscendolo..

chi mi da una mano?  grazie
Ultima modifica di robococco il mercoledì 6 maggio 2009, 14:22, modificato 1 volta in totale.
Avatar utente
gianmpu
Rampante Reduce
Rampante Reduce
Messaggi: 7721
Iscrizione: giovedì 15 novembre 2007, 17:11

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da gianmpu »

Ci sono ancora nel file /boot/grub/menu.lst una serie di righe come quelle postate da ueghio relative ad xp?
"Chi c**a sott' 'a neve, pure si ffa 'a bbuca e poi 'a copre, quanno 'a neve se scioje, 'a mm***a vie' sempre fori" T. Milian
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da patel »

Come gli altri devi fornire i seguenti dati:
cat /boot/grub/menu.lst
sudo fdisk -l (ELLE)
Ultima modifica di patel il giovedì 7 maggio 2009, 6:25, modificato 1 volta in totale.
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
eagles219
Prode Principiante
Messaggi: 155
Iscrizione: martedì 12 agosto 2008, 6:43

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da eagles219 »

scusate se mi intrometto prima di tutto non sono un'esperto come coloro che hanno risposto, ma io tempo fa avevo lo stesso oltre a fare il ripristino del grub, sono entrato nel bios ed ho fatto partire il pc del hd dove avevo installato ubuntu a me stà funzionando sia ubuntu che xp pravare non costa nulla (senza pretese) sicuro che stò dicendo una cav............... ciaao
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da patel »

Quando ci sono più dischi questo è il primo tentativo da fare, ma solo se non appare il menù del grub.
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
axlerose
Prode Principiante
Messaggi: 14
Iscrizione: sabato 9 maggio 2009, 20:09

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da axlerose »

salve a tutti ho un problema simile ho installato ubuntu e non riesco piu a vedere xp vi posto il testo del mio file menu.lst

cat /boot/grub/menu.lst

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 use 'savedefault' or your
# array will desync and will not let you boot your system.
default saved

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		30

## 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=5c4af2cb-fbca-4c3d-853a-2d0366a2f283 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=5c4af2cb-fbca-4c3d-853a-2d0366a2f283

## 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		5c4af2cb-fbca-4c3d-853a-2d0366a2f283
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=5c4af2cb-fbca-4c3d-853a-2d0366a2f283 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		5c4af2cb-fbca-4c3d-853a-2d0366a2f283
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=5c4af2cb-fbca-4c3d-853a-2d0366a2f283 ro  single
initrd		/boot/initrd.img-2.6.28-11-generic

title		Ubuntu 9.04, memtest86+
uuid		5c4af2cb-fbca-4c3d-853a-2d0366a2f283
kernel		/boot/memtest86+.bin
quiet

#This entry automatically added by the Debian installer for a non-linux OS
#on /dev/sda2
title      Windows XP
root      (hd0,4)
savedefault
makeactive
chainloader   +1


Codice: Seleziona tutto


Disco /dev/sda: 80.0 GB, 80060424192 byte
255 testine, 63 settori/tracce, 9733 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0x7b0f7b0f

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1               2        5099    40949685    f  W95 Esteso (LBA)
/dev/sda2            5100        6315     9767520   83  Linux
/dev/sda3            9248        9733     3903795   82  Linux swap / Solaris
/dev/sda4            6316        9247    23551290   83  Linux
/dev/sda5               2        5099    40949653+   7  HPFS/NTFS

Le voci nella tabella delle partizioni non sono nello stesso ordine del disco

Disco /dev/sdb: 300.0 GB, 300090728448 byte
255 testine, 63 settori/tracce, 36483 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0x16e916e8

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sdb2               2       36482   293033632+   f  W95 Esteso (LBA)
/dev/sdb5               2       36482   293033601    7  HPFS/NTFS

patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da patel »

hai win in una partizione logica (sda5) quindi non può funzionare. Probabilmente c'è stato une errore di partizionamento., devi reinstallare nuovamente win e poi Ubuntu. Quando installi win assegnagli subito la sua partizione, non gli far prendere tutto il disco.
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
axlerose
Prode Principiante
Messaggi: 14
Iscrizione: sabato 9 maggio 2009, 20:09

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da axlerose »

non c'e un altro modo per ovviare non vorrei dover reistallare tutto xp
Avatar utente
gianmpu
Rampante Reduce
Rampante Reduce
Messaggi: 7721
Iscrizione: giovedì 15 novembre 2007, 17:11

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da gianmpu »

Purtroppo no. La partizione di xp è una logica contenuta all'interno di una estesa, quindi è impossibile trasformarla in una primaria.
"Chi c**a sott' 'a neve, pure si ffa 'a bbuca e poi 'a copre, quanno 'a neve se scioje, 'a mm***a vie' sempre fori" T. Milian
patel
Accecante Asceta
Accecante Asceta
Messaggi: 23782
Iscrizione: martedì 15 aprile 2008, 20:27
Località: Livorno

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da patel »

axlerose ha scritto: non c'e un altro modo per ovviare non vorrei dover reistallare tutto xp
di questi casi ne sono accaduti parecchi e non si è ancora scoperta la causa perché l'utente in genere è novizio e non ricorda i passaggi effettuati. Probabilmente si tratta di un errore della tavola delle partizioni facilmente eliminabile da chi se ne intende, io non sono tra questi.
Un titolo ben azzeccato attira l'attenzione degli esperti in quel campo, fa risparmiare tempo a voi, aumenta la probabilità di successo.
Avatar utente
PerryGi
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1059
Iscrizione: giovedì 10 aprile 2008, 21:27
Località: Italia

Re: INSTALLARE XP DOPO UBUNTU RIPRISTINARE IL GRUB

Messaggio da PerryGi »

axlerose ha scritto: non c'e un altro modo per ovviare non vorrei dover reistallare tutto xp
Forse potresti creare un' immagine della partizione di XP e ripristinarla su una primaria, ma non sò se funzionerà,
probabilmente si può fare solo con un sistema funzionante.
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 7 ospiti