[gl-como] Problemi con Grub.

Giofree giofree@gmail.com
Mer 12 Ago 2009 14:33:13 CEST


Ho installato Ubuntu e poi Windows 7 (per la moglie).
Naturalmente W7 cancella grub e ho provato a reinstallare grub2.

Riavviando il computer con ubuntu mi da l'errore "error 11 : unrecognized
device string"
con windows mi da "Error 21 : selected disk does not exist".

Facendo il comando "sudo Fdisk -l" ho per risposta:

sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000eb6d1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         255     2048256   82  Linux swap / Solaris
/dev/sda2             256        2805    20482875   83  Linux
/dev/sda3            2806       13004    81923467+  83  Linux
/dev/sda4   *       13005       60801   383929402+   7  HPFS/NTFS

mentre per il file "grub.cfg" trovo questo.

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,2)
search --fs-uuid --set 3467764f-5a6d-4381-80f8-91ac1dd6d28f
if font /usr/share/grub/ascii.pff ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
set root=(hd0,2)
search --fs-uuid --set 3467764f-5a6d-4381-80f8-91ac1dd6d28f
menuentry "Ubuntu, linux 2.6.28-14-generic" {
    linux    /boot/vmlinuz-2.6.28-14-generic
root=UUID=3467764f-5a6d-4381-80f8-91ac1dd6d28f ro  quiet splash
    initrd    /boot/initrd.img-2.6.28-14-generic
}
menuentry "Ubuntu, linux 2.6.28-14-generic (single-user mode)" {
    linux    /boot/vmlinuz-2.6.28-14-generic
root=UUID=3467764f-5a6d-4381-80f8-91ac1dd6d28f ro single
    initrd    /boot/initrd.img-2.6.28-14-generic
}
menuentry "Ubuntu, linux 2.6.28-11-generic" {
    linux    /boot/vmlinuz-2.6.28-11-generic
root=UUID=3467764f-5a6d-4381-80f8-91ac1dd6d28f ro  quiet splash
    initrd    /boot/initrd.img-2.6.28-11-generic
}
menuentry "Ubuntu, linux 2.6.28-11-generic (single-user mode)" {
    linux    /boot/vmlinuz-2.6.28-11-generic
root=UUID=3467764f-5a6d-4381-80f8-91ac1dd6d28f ro single
    initrd    /boot/initrd.img-2.6.28-11-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    linux    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    linux    /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/sda4)" {
    set root=(hd0,4)
    chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###

Dove stanno gli errori?
Grazie per l'aiuto.

Giovanni
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.linux.it/pipermail/gl-como/attachments/20090812/2058f47d/attachment.htm>


Maggiori informazioni sulla lista gl-como