Similar happened to me upon update manager upgrade to grub -pc 1.99-21ubuntu3.4. The "COnfigure Grub Devices" dialog offered choices of /dev/sda and /dev/sda6. Selecting both of these, the Details display of update manager showed
/usr/sbin/grub-probe: error: cannot stat '/,'
I deselected /dev/sda6 and continued. Afterwards, but not rebooting yet, I see the following. This (as can be seen) is a dual-boot Win7 / Ubuntu 12.04 machine.
[code]
~$ fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x29133921
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 209717247 104857600 7 HPFS/NTFS/exFAT
/dev/sda2 209717248 241174527 15728640 1b Hidden W95 FAT32
/dev/sda3 241176574 488355839 123589633 5 Extended
/dev/sda4 488355840 488397167 20664 ef EFI (FAT-12/16/32)
/dev/sda5 480356352 488355839 3999744 82 Linux swap / Solaris
/dev/sda6 241176576 476184575 117504000 83 Linux
/dev/sda7 476186624 480344063 2078720 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/mapper/cryptswap1: 2128 MB, 2128609280 bytes
255 heads, 63 sectors/track, 258 cylinders, total 4157440 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x26f89c28
Disk /dev/mapper/cryptswap1 doesn't contain a valid partition table
[/code]
(The /dev/sda7 second swap was created by the upgrade process from 11.10 to 12.04)
Then I ran:
[code]
~$ update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-31-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-31-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-30-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-30-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-29-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-29-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda2
done
[/code]
As stated above, dpkg-reconfigure was successful from the cmd line:
[code]
~$ dpkg-reconfigure --frontend=gnome grub-pc
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-31-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-31-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-30-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-30-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-29-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-29-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda2
done
[/code]
(I am posting this now and will comment again in a while after I back up the drive before rebooting)
Similar happened to me upon update manager upgrade to grub -pc 1.99-21ubuntu3.4. The "COnfigure Grub Devices" dialog offered choices of /dev/sda and /dev/sda6. Selecting both of these, the Details display of update manager showed
/usr/sbin/ grub-probe: error: cannot stat '/,'
I deselected /dev/sda6 and continued. Afterwards, but not rebooting yet, I see the following. This (as can be seen) is a dual-boot Win7 / Ubuntu 12.04 machine.
[code]
~$ fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x29133921
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 209717247 104857600 7 HPFS/NTFS/exFAT
/dev/sda2 209717248 241174527 15728640 1b Hidden W95 FAT32
/dev/sda3 241176574 488355839 123589633 5 Extended
/dev/sda4 488355840 488397167 20664 ef EFI (FAT-12/16/32)
/dev/sda5 480356352 488355839 3999744 82 Linux swap / Solaris
/dev/sda6 241176576 476184575 117504000 83 Linux
/dev/sda7 476186624 480344063 2078720 82 Linux swap / Solaris
Partition table entries are not in disk order
Disk /dev/mapper/ cryptswap1: 2128 MB, 2128609280 bytes
255 heads, 63 sectors/track, 258 cylinders, total 4157440 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x26f89c28
Disk /dev/mapper/ cryptswap1 doesn't contain a valid partition table
[/code]
(The /dev/sda7 second swap was created by the upgrade process from 11.10 to 12.04)
Then I ran: 3.2.0-31- generic- pae img-3.2. 0-31-generic- pae 3.2.0-30- generic- pae img-3.2. 0-30-generic- pae 3.2.0-29- generic- pae img-3.2. 0-29-generic- pae +.bin
[code]
~$ update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda2
done
[/code]
and found
[code] pc/kopt_ extracted: false kfreebsd_ cmdline: device_ map_regenerated : install_ devices: pc/postrm_ purge_boot_ grub: false pc/install_ devices_ failed_ upgrade: true pc/disk_ description: cmdline: install_ devices_ empty: true kfreebsd_ cmdline_ default: quiet pc/partition_ description: pc/install_ devices_ failed: false install_ devices_ disks_changed: cmdline_ default: quiet splash pc/chainload_ from_menu. lst: true pc/hidden_ timeout: false pc/mixed_ legacy_ and_grub2: true
~$ debconf-show grub-pc
grub-
grub2/
grub2/
* grub-pc/
grub-
grub-
grub-
* grub2/linux_
* grub-pc/
grub2/
grub-
grub-
* grub-pc/
* grub2/linux_
grub-
grub-
grub-
grub-pc/timeout: 10
[/code]
As stated above, dpkg-reconfigure was successful from the cmd line:
[code] 3.2.0-31- generic- pae img-3.2. 0-31-generic- pae 3.2.0-30- generic- pae img-3.2. 0-30-generic- pae 3.2.0-29- generic- pae img-3.2. 0-29-generic- pae +.bin
~$ dpkg-reconfigure --frontend=gnome grub-pc
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda2
done
[/code]
(I am posting this now and will comment again in a while after I back up the drive before rebooting)