[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#729411: marked as done (grub-pc: attempts to install to mmcblk0 rather than sda)



Your message dated Sat, 30 Oct 2021 18:30:54 +0200
with message-id <[🔎] 20211030183054.906cb9aac22395d0f32a6a86@mailbox.org>
and subject line Mass-closing old grub-installer bugs
has caused the Debian Bug report #729411,
regarding grub-pc: attempts to install to mmcblk0 rather than sda
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
729411: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729411
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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 ---
--- Begin Message ---
Hi,

similar to the installation-reports bugs, I'm closing the grub-installer reports 
below.

These are reports for Debian 4 / 6 / 7 / 9 where grub-installer fails (for 
various reasons).


There have been numerous changes/improvements on this topics in the past, and 
also because of the age of the reports we should consider these problems as 
being fixed (or it is even reported in the bugs that they are fixed).
They are most likely of no use anymore for recent releases.

If you know, that the issue you reported (and gets closed here) is still 
existing in recent installation images, please file a new report for that with 
up-to-date details!

Thank you for filing these bug reports, they have been very useful at the time 
they were filed!


https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785149
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489005
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610116
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611713
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612420
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621923
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647267
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659116
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665856
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666552
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668923
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686955
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690515
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690592
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702731
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=729411
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771467
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780115
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806164
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806849
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416986
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=252009
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=292513
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310798
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=391489
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489006
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578338
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582367
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=229128
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463842
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497168
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=500079
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516392
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520361
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544949
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549703
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557242
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580461
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587699
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588670
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596877
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612025
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618498
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639713
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666559
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699456
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703901
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707604
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711330
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609939
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498831


Cheers
Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076

--- End Message ---

Reply to: