Bug#602071: /usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Mon Nov 1 11:32:44 UTC 2010


> grub-probe: info: /dev/sda1 starts from 2048.
> grub-probe: info: opening the device hd0.
> grub-probe: info: the size of hd0 is 209715200.
> grub-probe: info: Partition 0 starts from 256.
> grub-probe: info: Partition 1 starts from 51456.
> grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
>
>   
This looks like a 4K sector disk. We already have a bugreport for those.
I tried to fix them but abandoned when I've seen that no BIOS I had
around me even exposes such disks which means that making GRUB support
such is pointless.
>
>
> -- Package-specific info:
>
> *********************** BEGIN /proc/mounts
> /dev/disk/by-uuid/e674b4d5-7530-4e6a-9c7e-18ed8e649c24 / ext4 rw,relatime,barrier=1,data=ordered 0 0
> /dev/mapper/cryptroot /mnt ext4 rw,relatime,barrier=1,stripe=256,data=ordered 0 0
> /dev/sda1 /mnt/boot ext3 rw,relatime,errors=continue,barrier=0,data=ordered 0 0
> *********************** END /proc/mounts
>
> *********************** BEGIN /boot/grub/device.map
> (hd0)	/dev/disk/by-id/scsi-222ca000155f3122f
> (hd1)	/dev/disk/by-id/scsi-222b7000155f06178
> (hd2)	/dev/disk/by-id/ata-SAMSUNG_SP2504C_S0WRJ1RP459526
> *********************** END /boot/grub/device.map
>
> *********************** BEGIN /boot/grub/grub.cfg
> #
> # DO NOT EDIT THIS FILE
> #
> # It is automatically generated by grub-mkconfig using templates
> # from /etc/grub.d and settings from /etc/default/grub
> #
>
> ### BEGIN /etc/grub.d/00_header ###
> if [ -s $prefix/grubenv ]; then
>   load_env
> fi
> set default="0"
> if [ "${prev_saved_entry}" ]; then
>   set saved_entry="${prev_saved_entry}"
>   save_env saved_entry
>   set prev_saved_entry=
>   save_env prev_saved_entry
>   set boot_once=true
> fi
>
> function savedefault {
>   if [ -z "${boot_once}" ]; then
>     saved_entry="${chosen}"
>     save_env saved_entry
>   fi
> }
>
> function load_video {
>   insmod vbe
>   insmod vga
>   insmod video_bochs
>   insmod video_cirrus
> }
>
> insmod part_msdos
> insmod ext2
> set root='(hd0,msdos1)'
> search --no-floppy --fs-uuid --set e674b4d5-7530-4e6a-9c7e-18ed8e649c24
> if loadfont /usr/share/grub/unicode.pf2 ; then
>   set gfxmode=640x480
>   load_video
>   insmod gfxterm
> fi
> terminal_output gfxterm
> insmod part_msdos
> insmod ext2
> set root='(hd0,msdos1)'
> search --no-floppy --fs-uuid --set e674b4d5-7530-4e6a-9c7e-18ed8e649c24
> set locale_dir=($root)/boot/grub/locale
> set lang=de
> insmod gettext
> set timeout=5
> ### 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_linux ###
> menuentry 'Debian GNU/Linux, with Linux 2.6.36.nias' --class debian --class gnu-linux --class gnu --class os {
> 	insmod part_msdos
> 	insmod ext2
> 	set root='(hd0,msdos1)'
> 	search --no-floppy --fs-uuid --set e674b4d5-7530-4e6a-9c7e-18ed8e649c24
> 	echo	'Loading Linux 2.6.36.nias ...'
> 	linux	/boot/vmlinuz-2.6.36.nias root=UUID=e674b4d5-7530-4e6a-9c7e-18ed8e649c24 ro  quiet
> 	echo	'Loading initial ramdisk ...'
> 	initrd	/boot/initrd.img-2.6.36.nias
> }
> menuentry 'Debian GNU/Linux, with Linux 2.6.36.nias (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
> 	insmod part_msdos
> 	insmod ext2
> 	set root='(hd0,msdos1)'
> 	search --no-floppy --fs-uuid --set e674b4d5-7530-4e6a-9c7e-18ed8e649c24
> 	echo	'Loading Linux 2.6.36.nias ...'
> 	linux	/boot/vmlinuz-2.6.36.nias root=UUID=e674b4d5-7530-4e6a-9c7e-18ed8e649c24 ro single 
> 	echo	'Loading initial ramdisk ...'
> 	initrd	/boot/initrd.img-2.6.36.nias
> }
> menuentry 'Debian GNU/Linux, with Linux 2.6.36-trunk-amd64' --class debian --class gnu-linux --class gnu --class os {
> 	insmod part_msdos
> 	insmod ext2
> 	set root='(hd0,msdos1)'
> 	search --no-floppy --fs-uuid --set e674b4d5-7530-4e6a-9c7e-18ed8e649c24
> 	echo	'Loading Linux 2.6.36-trunk-amd64 ...'
> 	linux	/boot/vmlinuz-2.6.36-trunk-amd64 root=UUID=e674b4d5-7530-4e6a-9c7e-18ed8e649c24 ro  quiet
> 	echo	'Loading initial ramdisk ...'
> 	initrd	/boot/initrd.img-2.6.36-trunk-amd64
> }
> menuentry 'Debian GNU/Linux, with Linux 2.6.36-trunk-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
> 	insmod part_msdos
> 	insmod ext2
> 	set root='(hd0,msdos1)'
> 	search --no-floppy --fs-uuid --set e674b4d5-7530-4e6a-9c7e-18ed8e649c24
> 	echo	'Loading Linux 2.6.36-trunk-amd64 ...'
> 	linux	/boot/vmlinuz-2.6.36-trunk-amd64 root=UUID=e674b4d5-7530-4e6a-9c7e-18ed8e649c24 ro single 
> 	echo	'Loading initial ramdisk ...'
> 	initrd	/boot/initrd.img-2.6.36-trunk-amd64
> }
> ### END /etc/grub.d/10_linux ###
>
> ### BEGIN /etc/grub.d/20_linux_xen ###
> ### END /etc/grub.d/20_linux_xen ###
>
> ### BEGIN /etc/grub.d/30_os-prober ###
> ### END /etc/grub.d/30_os-prober ###
>
> ### BEGIN /etc/grub.d/40_custom ###
> # This file provides an easy way to add custom menu entries.  Simply type the
> # menu entries you want to add after this comment.  Be careful not to change
> # the 'exec tail' line above.
> ### END /etc/grub.d/40_custom ###
>
> ### BEGIN /etc/grub.d/41_custom ###
> if [ -f  $prefix/custom.cfg ]; then
>   source $prefix/custom.cfg;
> fi
> ### END /etc/grub.d/41_custom ###
> *********************** END /boot/grub/grub.cfg
>
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.36.nias (SMP w/4 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages grub-pc depends on:
> ii  debconf [debconf-2.0]    1.5.36          Debian configuration management sy
> ii  grub-common              1.98+20100804-7 GRand Unified Bootloader, version 
> ii  libc6                    2.11.2-7        Embedded GNU C Library: Shared lib
> ii  libdevmapper1.02.1       2:1.02.48-4     The Linux Kernel Device Mapper use
> ii  ucf                      3.0025+nmu1     Update Configuration File: preserv
>
> grub-pc recommends no packages.
>
> Versions of packages grub-pc suggests:
> pn  desktop-base                  <none>     (no description available)
>
> -- debconf information excluded
>
>
>
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
>
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20101101/17631ee7/attachment.pgp>


More information about the Pkg-grub-devel mailing list