[Bug 441301] Re: update-grub reports error on inexistant device
dino99
441301 at bugs.launchpad.net
Fri Jan 2 16:41:31 UTC 2015
outdated report & no more maintained distro; please send a new one if
that issue still exist (using ubuntu-bug)
** Changed in: grub (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub in Ubuntu.
https://bugs.launchpad.net/bugs/441301
Title:
update-grub reports error on inexistant device
Status in grub package in Ubuntu:
Invalid
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/441301/+subscriptions
More information about the foundations-bugs
mailing list