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


Groups > linux.debian.user > #180720

Re: Booting a CF or SD card from an internal card reader

From Stefan Monnier <monnier@iro.umontreal.ca>
Newsgroups linux.debian.user
Subject Re: Booting a CF or SD card from an internal card reader
Date 2017-05-05 14:50 +0200
Message-ID <tDKQh-1Mu-1@gated-at.bofh.it> (permalink)
References <tDCzn-4Hv-3@gated-at.bofh.it> <tDCzn-4Hv-1@gated-at.bofh.it> <tDHIJ-8ec-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> This is the 4-in-1 card reader; the one you want you are trying to boot
> from. As indicted by /dev/mmcblk0p1 it is on the PCI bus. 'lspci' should
> display the chip used; one from Ricoh?
>
> GRUB doesn't see anything on this bus (it has no drivers for the device),
> so booting from it is not possible.

Of course it all depends on what you mean by "booting from".  AFAICT in
Leandro's situation, he's loading Grub from some other disk (probably
the main HDD or SSD), so he's already "not booting from the SD card" in
this sense.


Based on what I see above, his normal boot has 3 steps (ignoring the
earlier BIOS/UEFI booting itself):
1- load/start Grub
2- load/start vmlinuz+initrd
3- load/start /sbin/init from the LABEL=TAILS partition

All 3 parts can be stored at different places.  My guess is that step
1 fetches its data (Grub's code as well as grub.cfg) from some HDD or
SSD.  Apparently step 2 can't fetch its data from the SD card.

But step 3 can definitely fetch its data from the SD card.  So all you
need is to put your vmlinuz+initrd onto a disk that Grub can see
(e.g. alongside Grub rather than in the LABEL=TAILS partition).


        Stefan

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


Thread

Re: Booting a CF or SD card from an internal card reader Leandro Noferini <lnoferin@cybervalley.org> - 2017-05-05 06:00 +0200
  Re: Booting a CF or SD card from an internal card reader Brian <ad44@cityscape.co.uk> - 2017-05-05 11:30 +0200
    Re: Booting a CF or SD card from an internal card reader Stefan Monnier <monnier@iro.umontreal.ca> - 2017-05-05 14:50 +0200
      Re: Booting a CF or SD card from an internal card reader Brian <ad44@cityscape.co.uk> - 2017-05-05 19:40 +0200
        Re: Booting a CF or SD card from an internal card reader Stefan Monnier <monnier@iro.umontreal.ca> - 2017-05-05 20:00 +0200
          Re: Booting a CF or SD card from an internal card reader David Wright <deblis@lionunicorn.co.uk> - 2017-05-05 20:40 +0200
          Re: Booting a CF or SD card from an internal card reader Brian <ad44@cityscape.co.uk> - 2017-05-05 20:40 +0200
    Re: Booting a CF or SD card from an internal card reader Richard Owlett <rowlett@cloud85.net> - 2017-05-05 15:00 +0200
      Re: Booting a CF or SD card from an internal card reader Brian <ad44@cityscape.co.uk> - 2017-05-05 16:10 +0200
      Re: Booting a CF or SD card from an internal card reader David Wright <deblis@lionunicorn.co.uk> - 2017-05-05 17:00 +0200

csiph-web