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

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



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

- 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/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
    else
      search --no-floppy --fs-uuid --set=root
380e2a6d-f851-4fd1-9db2-869a0982b511
    fi
    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.

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

Some BIOS expose a removable media only when booting from it, so my theory was that your BIOS did not expose the SD card and GRUB could not see it. The result of ls proves me wrong.

Can you also report the output of "ls (hd1,msdos1)" to check what GRUB sees of the partition on the card ?

Any suggested reading on the "BASH like shell" I just used?

The GRUB manual at <https://www.gnu.org/software/grub/manual/grub.html> describes some of the commands, but not all. The shell can display the command list with "help" and information about a specific command with "help <command>".


Reply to: