Public bug reported:

Binary package hint: grub

Executing `sudo update-grub` will report error: "error: cannot open `/dev/sdc' 
while attempting to get disk size"
 many times.

Full output:
$ sudo update-grub
error: cannot open `/dev/sdc' while attempting to get disk size
error: cannot open `/dev/sdc' while attempting to get disk size
Generating grub.cfg ...
error: cannot open `/dev/sdc' while attempting to get disk size
error: cannot open `/dev/sdc' while attempting to get disk size
error: cannot open `/dev/sdc' while attempting to get disk size
error: cannot open `/dev/sdc' while attempting to get disk size
error: cannot open `/dev/sdc' while attempting to get disk size
Found linux image: /boot/vmlinuz-2.6.31-11-generic
Found initrd image: /boot/initrd.img-2.6.31-11-generic
error: cannot open `/dev/sdc' while attempting to get disk size
error: cannot open `/dev/sdc' while attempting to get disk size
error: cannot open `/dev/sdc' while attempting to get disk size
error: cannot open `/dev/sdc' while attempting to get disk size
error: cannot open `/dev/sdc' while attempting to get disk size
error: cannot open `/dev/sdc' while attempting to get disk size
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
error: cannot open `/dev/sdc' while attempting to get disk size
error: cannot open `/dev/sdc' while attempting to get disk size
error: cannot open `/dev/sdc' while attempting to get disk size
done

However grub.cfg is correctly created and boot give no problems...

$ sudo fdisk -l

Disco /dev/sda: 320.1 GB, 320072933376 byte
255 testine, 63 settori/tracce, 38913 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0xfaaca98d

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
La partizione 1 non termina al limite del cilindro.
/dev/sda2              13       12749   102297600    7  HPFS/NTFS
/dev/sda3           12750       38913   210162330    5  Esteso
/dev/sda5           12750       24906    97651071   83  Linux
/dev/sda6           24907       38305   107627436   83  Linux
/dev/sda7           38306       38913     4883728+  82  Linux swap / Solaris

Disco /dev/sdb: 1000.2 GB, 1000204886016 byte
255 testine, 63 settori/tracce, 121601 cilindri
Unità = cilindri di 16065 * 512 = 8225280 byte
Identificativo disco: 0x00036009

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      121601   976760001   83  Linux

** Affects: grub (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: grub update-grub

-- 
update-grub reports error on inexistant device
https://bugs.launchpad.net/bugs/441301
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to