Web lists-archives.com

Re: Possibly erroneous "device not present" message during boot

On 04/12/2017 12:13 PM, Pascal Hambourg wrote:
Le 12/04/2017 à 17:14, Richard Owlett a écrit :

Whether initiated after power-on OR a restart the observed sequence is:
1. Appearance of the Grub2 menu with a choice of 4 instances of Debian.
2. Select instance installed on the SD card.
3. Screen clears, this message appears against the Debian 8 background.
   error:  no such device: 380e2a6d-f851-4fd1-9db2-869a0982b511.
   Press any key to continue ...
4. Otherwise the instance of Debian on the SD card boots routinely.

This is a GRUB error message which cannot find the UUID specified in a
"search" command.

In order to investigate, can you
- report the menu entry code for the SD card system in
/boot/grub/grub.cfg (the one from the system on the hard drive owning
GRUB, not the one on the SD card) ;

On theory "too much better than too little" I see:
<begin quote>
### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Debian GNU/Linux (8.6) (on /dev/mmcblk0p1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-380e2a6d-f851-4fd1-9db2-869a0982b511' {
	insmod part_msdos
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 380e2a6d-f851-4fd1-9db2-869a0982b511
search --no-floppy --fs-uuid --set=root 380e2a6d-f851-4fd1-9db2-869a0982b511
	linux /boot/vmlinuz-3.16.0-4-686-pae root=/dev/mmcblk0p1
	initrd /boot/initrd.img-3.16.0-4-686-pae
<end quote>

- while the SD card is inserted, in the GRUB menu press "c" to enter a
GRUB shell and report the result of the "ls" command.

Did not see any way to capture the output. So made manual copy. The following appeared on a single line.

(hd0) (hd0, msdos9) (hd0, msdos8) (hd0, msdos7) (hd0, msdos6)
(hd0, msdos5) (hd0, msdos1) (hd1) (hd1, msdos1)

Any suggested reading on the "BASH like shell" I just used?
My initial DuckDuckGo search was *NOT* encouraging ;/
If retirement is not for learning, what use is it?

Thank you.