Errore ripristino partizione dopo ridefinizione partizioni

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Scrivi risposta
Chemical_Boy
Prode Principiante
Messaggi: 11
Iscrizione: lunedì 4 febbraio 2008, 17:15

Errore ripristino partizione dopo ridefinizione partizioni

Messaggio da Chemical_Boy »

Salve a tutti,
possiedo un Acer 5920G e ho installato (tempo fa) Ubuntu. Per farlo, poiché il mio computer aveva già 4 partizioni primarie, ho dovuto formattare una partizione e risistemarla in modo da poter ricavare una partizione primaria da 10 giga e utilizzare il resto dello spazio, creando una partizione estesa, per i dati.

L'altro ieri ho cercato di ripristinare Windows Vista, che si trova su un ulteriore partizione primaria. Tuttavia il sistema di ripristino Acer non mi ha permesso di effettuare l'operazione, dandomi questo messaggio di errore:
Unable to recover the system. Error 0xa0000001
Ho provato a cercare su internet quale fosse la causa dell'errore e ho trovato questa soluzione (risposta completa qui http://gparted-forum.surf4.info/viewtopic.php?id=1392):
(...) I theorized that somehow Vista failed to see that the second partition on the disk is the partition to repair and may have tried to fix the card reader instead, saying "No OS Files" in the details of the attempted fix. Pretty silly theory, but then software bugs are silly most of the time. So I used diskpart.exe to reassign drive letters, i.e. removed C from the chip reader and assigned it to the Vista partition. For good measure I did the same with D. Then I exited the command shell and (without doing a reboot!) started auto-repair again from the GUI.
In pratica è come se, partizionando il disco, si fossero scambiati i riferimenti alle partizioni e quindi il recovery non riconosce la partizione corretta da ripristinare.
In effetti, guardando il GRUB, ho notato una cosa. Il GRUB restituisce questo elenco di partizioni disponibili:

Ubuntu, con Linux 2.6.32-30-generic
Ubuntu, con Linux 2.6.32-30-generic (modalità ripristino)
Ubuntu, con Linux 2.6.32-29-generic
Ubuntu, con Linux 2.6.32-29-generic (modalità ripristino)
Ubuntu, con Linux 2.6.32-23-generic
Ubuntu, con Linux 2.6.32-23-generic (modalità ripristino)
Memory test (memtest86+)
Memory test (memtest86+, serial console 115200)
Windows Vista (loader)
Windows Recovery Environment (loader) (on /dev/sda2)
Microsoft Windows XP Embedded (on /dev/sda4)

Solo che se dico al GRUB di avviare Windows Vista (loader), viene avviato il programma di ripristino del sistema. Invece se selezioni Windows Recovery Environment (loader) (on /dev/sda2), viene avviato Windows Vista (come se i riferimenti alle partizioni fossero invertiti).

Volevo chiedervi: avete per caso idea di come si faccia (con Ubuntu) a modificare i riferimenti delle partizioni per risolvere questo problema? Altre idee?
Quoto l'intero file grub.cfg del mio Ubuntu.
Grazie e ciao
Antonio

Codice: Seleziona tutto

#
# 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 $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set db4dfe93-e737-4381-a348-9a37636aadcb
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
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set db4dfe93-e737-4381-a348-9a37636aadcb
set locale_dir=($root)/boot/grub/locale
set lang=it
insmod gettext
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/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, con Linux 2.6.32-30-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,6)'
	search --no-floppy --fs-uuid --set db4dfe93-e737-4381-a348-9a37636aadcb
	linux	/boot/vmlinuz-2.6.32-30-generic root=UUID=db4dfe93-e737-4381-a348-9a37636aadcb ro   quiet splash
	initrd	/boot/initrd.img-2.6.32-30-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-30-generic (modalità ripristino)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,6)'
	search --no-floppy --fs-uuid --set db4dfe93-e737-4381-a348-9a37636aadcb
	echo	'Caricamento Linux 2.6.32-30-generic...'
	linux	/boot/vmlinuz-2.6.32-30-generic root=UUID=db4dfe93-e737-4381-a348-9a37636aadcb ro single 
	echo	'Caricamento ramdisk iniziale...'
	initrd	/boot/initrd.img-2.6.32-30-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,6)'
	search --no-floppy --fs-uuid --set db4dfe93-e737-4381-a348-9a37636aadcb
	linux	/boot/vmlinuz-2.6.32-29-generic root=UUID=db4dfe93-e737-4381-a348-9a37636aadcb ro   quiet splash
	initrd	/boot/initrd.img-2.6.32-29-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-29-generic (modalità ripristino)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,6)'
	search --no-floppy --fs-uuid --set db4dfe93-e737-4381-a348-9a37636aadcb
	echo	'Caricamento Linux 2.6.32-29-generic...'
	linux	/boot/vmlinuz-2.6.32-29-generic root=UUID=db4dfe93-e737-4381-a348-9a37636aadcb ro single 
	echo	'Caricamento ramdisk iniziale...'
	initrd	/boot/initrd.img-2.6.32-29-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,6)'
	search --no-floppy --fs-uuid --set db4dfe93-e737-4381-a348-9a37636aadcb
	linux	/boot/vmlinuz-2.6.32-23-generic root=UUID=db4dfe93-e737-4381-a348-9a37636aadcb ro   quiet splash
	initrd	/boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-23-generic (modalità ripristino)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd0,6)'
	search --no-floppy --fs-uuid --set db4dfe93-e737-4381-a348-9a37636aadcb
	echo	'Caricamento Linux 2.6.32-23-generic...'
	linux	/boot/vmlinuz-2.6.32-23-generic root=UUID=db4dfe93-e737-4381-a348-9a37636aadcb ro single 
	echo	'Caricamento ramdisk iniziale...'
	initrd	/boot/initrd.img-2.6.32-23-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod ext2
	set root='(hd0,6)'
	search --no-floppy --fs-uuid --set db4dfe93-e737-4381-a348-9a37636aadcb
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod ext2
	set root='(hd0,6)'
	search --no-floppy --fs-uuid --set db4dfe93-e737-4381-a348-9a37636aadcb
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
	insmod ntfs
	set root='(hd0,1)'
	search --no-floppy --fs-uuid --set 20b48d6be49bed2a
	chainloader +1
}
menuentry "Windows Recovery Environment (loader) (on /dev/sda2)" {
	insmod ntfs
	set root='(hd0,2)'
	search --no-floppy --fs-uuid --set 1ed0fcdad0fcb8db
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry "Microsoft Windows XP Embedded (on /dev/sda4)" {
	insmod ntfs
	set root='(hd0,4)'
	search --no-floppy --fs-uuid --set 26604c85604c5da5
	drivemap -s (hd0) ${root}
	chainloader +1
}
### 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 ###
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 6 ospiti