Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #196297

Re: Installing Debian on a Minnowboard Turbot with installer on USB stick?

From "Thomas Schmitt" <scdbackup@gmx.net>
Newsgroups linux.debian.user
Subject Re: Installing Debian on a Minnowboard Turbot with installer on USB stick?
Date 2018-05-31 17:30 +0200
Message-ID <vVxGy-6Qd-11@gated-at.bofh.it> (permalink)
References <vVupj-4NI-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Rick Thomas wrote on Sun, 27 May 2018 03:28:20 -0700
> > > specifically, firmware-buster-DI-alpha2-amd64-DVD-1.iso

i wrote:
> > Point 4 of that tutorial says:
> >   "NOTE: If your USB device is not listed in the Boot Manager list,
> >    confirm that it’s GPT formatted and contains a valid EFI boot
> >    partition."
> > [...]
> > /sbin/gdisk test.iso

Rick Thomas wrote:
> The first problem was that the stick still wasn’t recognized as bootable.
> I was able to work around that by doing some command-line stuff in the EFI
> firmware — telling it to boot the file “fs0:\efi\boot\bootx64.efi”
> That got me into the installer, but after it did the language/locale
> picking, when the installer went looking for the CD, it complained

Would you get the same result with an unmodified ISO and that EFI
command line ?
(I.e. did the chnage from MBR to GPT do anything good ?)


>     Incorrect CD-ROM detected
>     The CD-ROM drive contains a CD which cannot be used for installation…

Let's see:
  wget https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/buster_di_alpha2/amd64/iso-dvd/firmware-buster-DI-alpha2-amd64-DVD-1.iso

The message can be found in the initrds for text and graphical install
  /install.amd/initrd.gz
  /install.amd/gtk/initrd.gz
I get from var/lib/dpkg/info/cdrom-detect.templates :
  Template: cdrom-detect/wrong-cd)
to var/lib/dpkg/info/cdrom-detect.postinst :
          devices="$(list-devices cd; list-devices maybe-usb-floppy)"
to bin/list-devices :
          for x in /sys/block/*; do
  ...
                  syspaths="${syspaths:+$syspaths }$x"
  ...
          if ! $match && [ "$TYPE" = cd ]; then
                  if device_info env "$devpath" | grep -q '^ID_CDROM='; then
                          match=:

The function device_info is implemented alternatively

  if type udevadm >/dev/null 2>&1; then
          device_info () {
                  udevadm info -q "$1" -p "$2" 2>/dev/null
          }
  elif type udevinfo >/dev/null 2>&1; then
          device_info () {
                  udevinfo -q "$1" -p "$2" 2>/dev/null
          }

The initrd contains a file
  bin/udevadm
but no "udevinfo".
At least on my elderly system and with USB stick /dev/sdd it does not
report any line "ID_CDROM=" with

  bin/udevadm info -q env -p /sys/block/sdd
  
It does report quite significant things like
  ID_FS_BOOT_SYSTEM_ID=EL\x20TORITO\x20SPECIFICATION
  ID_FS_LABEL=Debian_buster-DI-a2_amd64_1
  ...
  ID_FS_TYPE=iso9660

I do get
  ID_CDROM=1
from a Blu-ray drive at /dev/sr4.

But if i compare cdrom-detect.postinst and list-devices with those in the
initrd of debian-9.3.0-amd64-netinst.iso then i cannot find any difference.

"netinst" is known to work from USB stick.
So either i misunderstand the scripts or script execution should not get
there under normal circumstances.


> Do you think it would work if I used disk to create a GPT that had partition
> 1 of they “EF00” start and end where the original partition 2 started and
> ended?

You may try. But if this brings success, then the EFI firmware is really
odd.

It may well be that EFI's inability to offer the bootable partition
is independent of the debian-installer's inability to find the USB stick
as pseudo-CDROM.


Have a nice day :)

Thomas

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Installing Debian on a Minnowboard Turbot with installer on USB stick? Rick Thomas <rbthomas@pobox.com> - 2018-05-27 00:30 +0200
  Re: Installing Debian on a Minnowboard Turbot with installer on USB  stick? didier gaumet <didier.gaumet@gmail.com> - 2018-05-27 09:10 +0200
    Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? Rick Thomas <rbthomas@pobox.com> - 2018-05-27 12:40 +0200
      Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? deloptes <deloptes@gmail.com> - 2018-05-27 13:00 +0200
        Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? Rick Thomas <rbthomas@pobox.com> - 2018-05-27 13:00 +0200
        Re: Installing Debian on a Minnowboard Turbot with installer on USB  stick? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-05-29 16:50 +0200
      Re: Installing Debian on a Minnowboard Turbot with installer on USB  stick? didier gaumet <didier.gaumet@gmail.com> - 2018-05-27 14:00 +0200
  Re: Installing Debian on a Minnowboard Turbot with installer on USB  stick? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-05-27 12:20 +0200
    Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? Rick Thomas <rbthomas@pobox.com> - 2018-05-27 12:40 +0200
      Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? deloptes <deloptes@gmail.com> - 2018-05-27 13:00 +0200
        Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? Rick Thomas <rbthomas@pobox.com> - 2018-05-27 13:20 +0200
          Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? deloptes <deloptes@gmail.com> - 2018-05-28 18:30 +0200
      Re: Installing Debian on a Minnowboard Turbot with installer on USB  stick? Brian <ad44@cityscape.co.uk> - 2018-05-27 13:10 +0200
      Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-27 14:20 +0200
        Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-27 14:40 +0200
          Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? Rick Thomas <rbthomas@pobox.com> - 2018-05-31 14:00 +0200
            Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-31 17:30 +0200
              Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? "Thomas Schmitt" <scdbackup@gmx.net> - 2018-06-02 15:10 +0200
                Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? "Thomas Schmitt" <scdbackup@gmx.net> - 2018-06-02 22:50 +0200
                Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? Rick Thomas <rbthomas@pobox.com> - 2018-06-03 02:20 +0200
                Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? Rick Thomas <rbthomas@pobox.com> - 2018-06-03 09:30 +0200
                Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? deloptes <deloptes@gmail.com> - 2018-06-03 09:50 +0200
                Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? Rick Thomas <rbthomas@pobox.com> - 2018-06-03 11:00 +0200
                Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? "Thomas Schmitt" <scdbackup@gmx.net> - 2018-06-03 10:30 +0200
                Re: Installing Debian on a Minnowboard Turbot with installer on USB stick? Rick Thomas <rbthomas@pobox.com> - 2018-06-03 11:30 +0200

csiph-web