[karmic-proposed] GRUB - warnings while installation - error: cannot open /dev/sd... while attempting to get disk size

Bug #529455 reported by LimCore
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: grub-pc

=== PROBLEM ===
While upgrading grub-pc to karmic-proposed I got following errors/warnings.
After installation my version is: grub-pc 1.97~beta4-1ubuntu5

=== WORK AROUND ===
This errors seem to not cause any problems.
System boots normally to: 2.6.31-20-generic

=== MORE INFO ===
/dev/sde seems to be uhm, my USB printer (probably its the SD cards reader or something)
Can not open it with cfdisk

$ hdparm /dev/sde
/dev/sde:
 HDIO_DRIVE_CMD(identify) failed: Invalid exchange
 readonly = 0 (off)
 readahead = 256 (on)
 geometry = 1024/0/62, sectors = 0, start = 0

Device: Brother DCP-165C Version: 1.00
Device type: disk
Local Time is: Sun Feb 28 14:16:43 2010 CET
NO MEDIUM present on device

=== THE ERROR ====

Setting up grub-pc (1.97~beta4-1ubuntu5) ...
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc
(hd3) /dev/sdd
(hd4) /dev/sde
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
Generating grub.cfg ...
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
Found linux image: /boot/vmlinuz-2.6.31-20-generic
Found initrd image: /boot/initrd.img-2.6.31-20-generic
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
Found linux image: /boot/vmlinuz-2.6.31-19-generic
Found initrd image: /boot/initrd.img-2.6.31-19-generic
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
Found linux image: /boot/vmlinuz-2.6.31-17-generic
Found initrd image: /boot/initrd.img-2.6.31-17-generic
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
Found linux image: /boot/vmlinuz-2.6.31-16-generic
Found initrd image: /boot/initrd.img-2.6.31-16-generic
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
Found linux image: /boot/vmlinuz-2.6.31-15-generic
Found initrd image: /boot/initrd.img-2.6.31-15-generic
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
Found linux image: /boot/vmlinuz-2.6.28-13-generic
Found initrd image: /boot/initrd.img-2.6.28-13-generic
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
Found memtest86+ image: /memtest86+.bin
File descriptor 3 left open
File descriptor 11 left open
File descriptor 12 left open
File descriptor 50 left open
File descriptor 52 left open
File descriptor 54 left open
  /dev/sde: open failed: No medium found
Found Ubuntu 8.04.2 (8.04) on /dev/sda9
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
error: cannot open `/dev/sde' while attempting to get disk size
done

Revision history for this message
LimCore (limcore) wrote :

This seems to be just a cosmetic bug - simply the amount of errors looks a bit "scary", so we could change the messages to be just warnings or notifications.

description: updated
summary: - [karmic-proposed] GRUB - warnings while installation
+ [karmic-proposed] GRUB - warnings while installation - error: cannot
+ open /dev/sd... while attempting to get disk size
Revision history for this message
Markus Schulz (schulz-alpharesearch) wrote :

I have the same issue... this adds +30 minutes for me to the distribution upgrade with grub2... my other pc with grub1 was OK

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.