Package: grub2-common
Version: 2.02~beta2-36
Severity: important

Dear Maintainer,

   * What led up to the situation?
        i changed the timeout in /etc/default/grub and ran update-grub
   * What was the outcome of this action?
        # update-grub
        Generating grub configuration file ...
        Found background image: /usr/share/images/desktop-base/desktop-grub.png
        Found linux image: /boot/vmlinuz-4.6.0-1-amd64
        Found initrd image: /boot/initrd.img-4.6.0-1-amd64
        grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your 
device.map.
        done

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
        there are 2 drives in the PC. /dev/sdb is this debian testing box. 
/dev/sda is
        unrelated. it contains an ISO image of Antergros Linux, which i dd'd to 
it.

        here's my workaround:
        # dd if=/dev/zero of=/dev/sda bs=1M &

        # update-grub
        Generating grub configuration file ...
        Found background image: /usr/share/images/desktop-base/desktop-grub.png
        Found linux image: /boot/vmlinuz-4.6.0-1-amd64
        Found initrd image: /boot/initrd.img-4.6.0-1-amd64
        done

        here's what /dev/sda looked like (before dd with /dev/zero):
        # fdisk -l /dev/sda
        Disk /dev/sda: 1.4 TiB, 1500300828160 bytes, 2930275055 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
        Disklabel type: dos
        Disk identifier: 0x71fa5910

        Device     Boot Start     End Sectors  Size Id Type
        /dev/sda1  *        0 3528575 3528576  1.7G  0 Empty
        /dev/sda2         224   63711   63488   31M ef EFI (FAT-12/16/32)

Greetings,
David


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/mango--vg-root / ext4 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sdb1 /boot ext2 rw,relatime,block_validity,barrier,user_xattr,acl 0 0
/dev/sr0 /media/cdrom0 iso9660 ro,nosuid,nodev,noexec,relatime 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)   /dev/disk/by-id/lvm-pv-uuid-nwKgWR-XQhu-BVtO-EA3G-lMs9-mMsb-kXShDv
(hd1)   /dev/disk/by-id/ata-SAMSUNG_HD154UI_S1XWJ1LSC02388
(hd2)   /dev/disk/by-id/ata-M4-CT128M4SSD2_000000001204032BDE81
*********************** 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
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod lvm
insmod ext2
set 
root='lvmid/e4v95A-26u2-gEEo-UM23-8CZS-mf1w-NQNoK8/db4CCu-Ewcw-PGSA-Kfb9-ncAJ-dQQz-5fK9gM'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/e4v95A-26u2-gEEo-UM23-8CZS-mf1w-NQNoK8/db4CCu-Ewcw-PGSA-Kfb9-ncAJ-dQQz-5fK9gM'
  4ce2f9b9-9713-4343-8ad8-6c3a843d790e
else
  search --no-floppy --fs-uuid --set=root 4ce2f9b9-9713-4343-8ad8-6c3a843d790e
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=1
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=1
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod lvm
insmod ext2
set 
root='lvmid/e4v95A-26u2-gEEo-UM23-8CZS-mf1w-NQNoK8/db4CCu-Ewcw-PGSA-Kfb9-ncAJ-dQQz-5fK9gM'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root 
--hint='lvmid/e4v95A-26u2-gEEo-UM23-8CZS-mf1w-NQNoK8/db4CCu-Ewcw-PGSA-Kfb9-ncAJ-dQQz-5fK9gM'
  4ce2f9b9-9713-4343-8ad8-6c3a843d790e
else
  search --no-floppy --fs-uuid --set=root 4ce2f9b9-9713-4343-8ad8-6c3a843d790e
fi
insmod png
if background_image /usr/share/images/desktop-base/lines-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
        set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu 
--class os $menuentry_id_option 
'gnulinux-simple-4ce2f9b9-9713-4343-8ad8-6c3a843d790e' {
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_msdos
        insmod ext2
        set root='hd2,msdos1'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 
--hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd2,msdos1'  
3e49fec1-269d-45f0-8f8a-8605d7006c93
        else
          search --no-floppy --fs-uuid --set=root 
3e49fec1-269d-45f0-8f8a-8605d7006c93
        fi
        echo    'Loading Linux 4.6.0-1-amd64 ...'
        linux   /vmlinuz-4.6.0-1-amd64 root=/dev/mapper/mango--vg-root ro  
quiet resume=/dev/dm-2
        echo    'Loading initial ramdisk ...'
        initrd  /initrd.img-4.6.0-1-amd64
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 
'gnulinux-advanced-4ce2f9b9-9713-4343-8ad8-6c3a843d790e' {
        menuentry 'Debian GNU/Linux, with Linux 4.6.0-1-amd64' --class debian 
--class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-4.6.0-1-amd64-advanced-4ce2f9b9-9713-4343-8ad8-6c3a843d790e' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                insmod part_msdos
                insmod ext2
                set root='hd2,msdos1'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 
--hint='hd2,msdos1'  3e49fec1-269d-45f0-8f8a-8605d7006c93
                else
                  search --no-floppy --fs-uuid --set=root 
3e49fec1-269d-45f0-8f8a-8605d7006c93
                fi
                echo    'Loading Linux 4.6.0-1-amd64 ...'
                linux   /vmlinuz-4.6.0-1-amd64 root=/dev/mapper/mango--vg-root 
ro  quiet resume=/dev/dm-2
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-4.6.0-1-amd64
        }
        menuentry 'Debian GNU/Linux, with Linux 4.6.0-1-amd64 (recovery mode)' 
--class debian --class gnu-linux --class gnu --class os $menuentry_id_option 
'gnulinux-4.6.0-1-amd64-recovery-4ce2f9b9-9713-4343-8ad8-6c3a843d790e' {
                load_video
                insmod gzio
                if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; 
fi
                insmod part_msdos
                insmod ext2
                set root='hd2,msdos1'
                if [ x$feature_platform_search_hint = xy ]; then
                  search --no-floppy --fs-uuid --set=root 
--hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 
--hint='hd2,msdos1'  3e49fec1-269d-45f0-8f8a-8605d7006c93
                else
                  search --no-floppy --fs-uuid --set=root 
3e49fec1-269d-45f0-8f8a-8605d7006c93
                fi
                echo    'Loading Linux 4.6.0-1-amd64 ...'
                linux   /vmlinuz-4.6.0-1-amd64 root=/dev/mapper/mango--vg-root 
ro single  resume=/dev/dm-2
                echo    'Loading initial ramdisk ...'
                initrd  /initrd.img-4.6.0-1-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/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat

*********************** BEGIN LVM
  --- Volume group ---
  VG Name               mango-vg
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               119.00 GiB
  PE Size               4.00 MiB
  Total PE              30464
  Alloc PE / Size       30464 / 119.00 GiB
  Free  PE / Size       0 / 0   
  VG UUID               e4v95A-26u2-gEEo-UM23-8CZS-mf1w-NQNoK8
   
  --- Physical volume ---
  PV Name               /dev/mapper/sdb5_crypt
  VG Name               mango-vg
  PV Size               119.00 GiB / not usable 0   
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              30464
  Free PE               0
  Allocated PE          30464
  PV UUID               nwKgWR-XQhu-BVtO-EA3G-lMs9-mMsb-kXShDv
   
  --- Logical volume ---
  LV Path                /dev/mango-vg/root
  LV Name                root
  VG Name                mango-vg
  LV UUID                db4CCu-Ewcw-PGSA-Kfb9-ncAJ-dQQz-5fK9gM
  LV Write Access        read/write
  LV Creation host, time mango, 2016-09-17 02:47:23 +0200
  LV Status              available
  # open                 1
  LV Size                103.02 GiB
  Current LE             26372
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:1
   
  --- Logical volume ---
  LV Path                /dev/mango-vg/swap_1
  LV Name                swap_1
  VG Name                mango-vg
  LV UUID                dm4UsE-cnng-tPb1-O1Ag-FlQg-bznT-6iAsSE
  LV Write Access        read/write
  LV Creation host, time mango, 2016-09-17 02:47:23 +0200
  LV Status              available
  # open                 2
  LV Size                15.98 GiB
  Current LE             4092
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:2
   
*********************** END LVM

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Sep 19 06:20 ata-HL-DT-ST_DVDRAM_GH22NS40_K1ZABKJ0252 
-> ../../sr0
lrwxrwxrwx 1 root root  9 Sep 19 06:20 ata-M4-CT128M4SSD2_000000001204032BDE81 
-> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 19 06:20 
ata-M4-CT128M4SSD2_000000001204032BDE81-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 19 06:20 
ata-M4-CT128M4SSD2_000000001204032BDE81-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Sep 19 06:20 
ata-M4-CT128M4SSD2_000000001204032BDE81-part5 -> ../../sdb5
lrwxrwxrwx 1 root root  9 Sep 19 06:20 ata-SAMSUNG_HD154UI_S1XWJ1LSC02388 -> 
../../sda
lrwxrwxrwx 1 root root 10 Sep 19 06:20 dm-name-mango--vg-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Sep 19 06:20 dm-name-mango--vg-swap_1 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Sep 19 06:20 dm-name-sdb5_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 19 06:20 
dm-uuid-CRYPT-LUKS1-7fb0fe8264344ac0be1e7c32d6ce0c58-sdb5_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Sep 19 06:20 
dm-uuid-LVM-e4v95A26u2gEEoUM238CZSmf1wNQNoK8db4CCuEwcwPGSAKfb9ncAJdQQz5fK9gM -> 
../../dm-1
lrwxrwxrwx 1 root root 10 Sep 19 06:20 
dm-uuid-LVM-e4v95A26u2gEEoUM238CZSmf1wNQNoK8dm4UsEcnngtPb1O1AgFlQgbznT6iAsSE -> 
../../dm-2
lrwxrwxrwx 1 root root 10 Sep 19 06:20 
lvm-pv-uuid-nwKgWR-XQhu-BVtO-EA3G-lMs9-mMsb-kXShDv -> ../../dm-0
lrwxrwxrwx 1 root root  9 Sep 19 06:20 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root  9 Sep 19 06:20 wwn-0x50024e9002a1aedd -> ../../sda
lrwxrwxrwx 1 root root  9 Sep 19 06:20 wwn-0x500a0751032bde81 -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 19 06:20 wwn-0x500a0751032bde81-part1 -> 
../../sdb1
lrwxrwxrwx 1 root root 10 Sep 19 06:20 wwn-0x500a0751032bde81-part2 -> 
../../sdb2
lrwxrwxrwx 1 root root 10 Sep 19 06:20 wwn-0x500a0751032bde81-part5 -> 
../../sdb5
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root  9 Sep 19 06:20 2016-06-30-14-31-41-00 -> ../../sr0
lrwxrwxrwx 1 root root 10 Sep 19 06:20 3e49fec1-269d-45f0-8f8a-8605d7006c93 -> 
../../sdb1
lrwxrwxrwx 1 root root 10 Sep 19 06:20 4ce2f9b9-9713-4343-8ad8-6c3a843d790e -> 
../../dm-1
lrwxrwxrwx 1 root root 10 Sep 19 06:20 7fb0fe82-6434-4ac0-be1e-7c32d6ce0c58 -> 
../../sdb5
lrwxrwxrwx 1 root root 10 Sep 19 06:20 fc28df9b-306d-4fc5-9440-6a8f8bebd17a -> 
../../dm-2
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages grub2-common depends on:
ii  dpkg                1.18.10
ii  grub-common         2.02~beta2-36
ii  libc6               2.23-5
ii  libdevmapper1.02.1  2:1.02.133-1
ii  liblzma5            5.1.1alpha+20120614-2.1

grub2-common recommends no packages.

grub2-common suggests no packages.

-- no debconf information

Reply via email to