--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: grub-pc: attempts to install to mmcblk0 rather than sda
- From: "Jamin W. Collins" <jcollins@asgardsrealm.net>
- Date: Tue, 12 Nov 2013 09:05:08 -0800
- Message-id: <20131112170508.8939.77573.reportbug@loki.asgardsrealm.net>
Package: grub-pc
Version: 1.99-27+deb7u2
Severity: important
Tags: d-i
Using the following installation media:
6fba6fbf3ecfe38ec7f667f5da658df2 debian-live-7.2-amd64-xfce-desktop.iso
The installation continued largely without problems until it got to the
"install grub on mbr" stage. At this point it failed. After digging a little,
I noticed that it was trying to install grub on mmcblk0 (the SD card) rather
than on sda (the internal SSD). After selecting cancel, I was able to manually
specify /dev/sda as the target and the installation completed.
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/mapper/vg0-root / xfs rw,relatime,attr2,inode64,noquota 0 0
/dev/mapper/vg0-home /home xfs rw,relatime,attr2,inode64,noquota 0 0
/dev/mapper/vg0-log /var/log xfs rw,relatime,attr2,inode64,noquota 0 0
/dev/mmcblk0p1 /media/jamin/keys ext3 rw,nosuid,nodev,relatime,errors=continue,barrier=1,data=ordered 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/device.map
(hd0) /dev/disk/by-id/memstick-MS_0x79001edd
(hd1) /dev/disk/by-id/ata-TOSHIBA_THNSNS128GMCP_42HS10GSTWRZ
(hd2) /dev/disk/by-id/usb-SanDisk_Cruzer_Edge_20042906101E0E704FCC-0:0
*********************** 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 lvm
insmod part_msdos
insmod xfs
set root='(vg0-root)'
search --no-floppy --fs-uuid --set=root bbad0904-e653-4fd3-a5bf-e5a04d870122
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
insmod lvm
insmod part_msdos
insmod xfs
set root='(vg0-root)'
search --no-floppy --fs-uuid --set=root bbad0904-e653-4fd3-a5bf-e5a04d870122
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod lvm
insmod part_msdos
insmod xfs
set root='(vg0-root)'
search --no-floppy --fs-uuid --set=root bbad0904-e653-4fd3-a5bf-e5a04d870122
insmod png
if background_image /usr/share/images/desktop-base/joy-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 ###
menuentry 'Debian GNU/Linux, with Linux 3.10-3-amd64' --class debian --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod lvm
insmod part_msdos
insmod xfs
set root='(vg0-root)'
search --no-floppy --fs-uuid --set=root bbad0904-e653-4fd3-a5bf-e5a04d870122
echo 'Loading Linux 3.10-3-amd64 ...'
linux /boot/vmlinuz-3.10-3-amd64 root=/dev/mapper/vg0-root ro initrd=/install/gtk/initrd.gz quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.10-3-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.10-3-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod lvm
insmod part_msdos
insmod xfs
set root='(vg0-root)'
search --no-floppy --fs-uuid --set=root bbad0904-e653-4fd3-a5bf-e5a04d870122
echo 'Loading Linux 3.10-3-amd64 ...'
linux /boot/vmlinuz-3.10-3-amd64 root=/dev/mapper/vg0-root ro single initrd=/install/gtk/initrd.gz
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.10-3-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64' --class debian --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod lvm
insmod part_msdos
insmod xfs
set root='(vg0-root)'
search --no-floppy --fs-uuid --set=root bbad0904-e653-4fd3-a5bf-e5a04d870122
echo 'Loading Linux 3.2.0-4-amd64 ...'
linux /boot/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/vg0-root ro initrd=/install/gtk/initrd.gz quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-4-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod lvm
insmod part_msdos
insmod xfs
set root='(vg0-root)'
search --no-floppy --fs-uuid --set=root bbad0904-e653-4fd3-a5bf-e5a04d870122
echo 'Loading Linux 3.2.0-4-amd64 ...'
linux /boot/vmlinuz-3.2.0-4-amd64 root=/dev/mapper/vg0-root ro single initrd=/install/gtk/initrd.gz
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-4-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/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod lvm
insmod part_msdos
insmod xfs
set root='(vg0-root)'
search --no-floppy --fs-uuid --set=root bbad0904-e653-4fd3-a5bf-e5a04d870122
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod lvm
insmod part_msdos
insmod xfs
set root='(vg0-root)'
search --no-floppy --fs-uuid --set=root bbad0904-e653-4fd3-a5bf-e5a04d870122
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
insmod lvm
insmod part_msdos
insmod xfs
set root='(vg0-root)'
search --no-floppy --fs-uuid --set=root bbad0904-e653-4fd3-a5bf-e5a04d870122
multiboot /boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
insmod lvm
insmod part_msdos
insmod xfs
set root='(vg0-root)'
search --no-floppy --fs-uuid --set=root bbad0904-e653-4fd3-a5bf-e5a04d870122
multiboot /boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### 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
*********************** BEGIN /proc/mdstat
cat: /proc/mdstat: No such file or directory
*********************** END /proc/mdstat
*********************** BEGIN LVM
-- System Information:
Debian Release: jessie/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.10-3-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
Versions of packages grub-pc depends on:
ii debconf [debconf-2.0] 1.5.51
ii grub-common 1.99-27+deb7u2
ii grub-pc-bin 1.99-27+deb7u2
ii grub2-common 1.99-27+deb7u2
ii ucf 3.0027+nmu1
grub-pc recommends no packages.
grub-pc suggests no packages.
-- debconf information:
grub-pc/install_devices_empty: false
* grub-pc/install_devices: /dev/disk/by-id/ata-TOSHIBA_THNSNS128GMCP_42HS10GSTWRZ
grub2/device_map_regenerated:
grub2/kfreebsd_cmdline_default: quiet
grub-pc/install_devices_disks_changed:
* grub2/linux_cmdline: initrd=/install/gtk/initrd.gz
grub-pc/partition_description:
grub-pc/postrm_purge_boot_grub: false
grub-pc/mixed_legacy_and_grub2: true
grub-pc/chainload_from_menu.lst: true
grub-pc/install_devices_failed_upgrade: true
grub-pc/disk_description:
grub2/kfreebsd_cmdline:
grub-pc/kopt_extracted: false
* grub2/linux_cmdline_default: quiet
grub-pc/install_devices_failed: false
--- End Message ---