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


Groups > linux.debian.user > #180968

Re: How to run Debian from SD card but booting from USB stick?

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: How to run Debian from SD card but booting from USB stick?
Date 2017-05-13 12:00 +0200
Message-ID <tGC0a-1Vi-37@gated-at.bofh.it> (permalink)
References (1 earlier) <tG3vu-37w-69@gated-at.bofh.it> <tGikN-4EF-3@gated-at.bofh.it> <tGmHL-7YH-1@gated-at.bofh.it> <tGoqd-PR-15@gated-at.bofh.it> <tGqs1-2k3-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 12 May 2017 at 23:34:05 +0200, deloptes wrote:

> Brian wrote:
> 
> > So, the question remains. Is creating an initrd on Debian really
> > necessary?
> 
> I am not at 100% sure, but AFAIK when you install the kernel mkinitramfs or
> update-initramfs would add the modules already used by the kernel at the
> moment of creation of the initrd. This could explain a lot.
> 
> As I explained before it is not possible to mount the root fs thus pass the
> boot process to init/systemd if you don't have the proper driver(s). If the
> drivers are included in the initrd it would boot ok, if not you are offered
> the limitted shell. So again initrd is needed unless you have the drivers
> compiled in the kernel. You can try this .. just remove the initrd line
> when you boot

The OP wonders if

  https://help.ubuntu.com/community/BootFromSD

it will work for Debian. The answer is "probably" but it is questionable
whether the advice to alter the initrd on the SD card need be followed.
Perhaps it was necessary for the Ubuntu kernel at the time the article
was written. The hardware involved would have to be known to more
definitive.

Debian would need to be installed to the SD card and the *same" Debian
installed to the USB stick. lsinitramfs will help confirm whether needed
modules are in an initrd.

-- 
Brian.

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


Thread

How to run Debian from SD card but booting from USB stick? Błażej Popławski <blazejpop@wp.pl> - 2017-05-11 22:50 +0200
  Re: How to run Debian from SD card but booting from USB stick? Richard Owlett <rowlett@cloud85.net> - 2017-05-11 23:00 +0200
    Re: How to run Debian from SD card but booting from USB stick? Lisi Reisz <lisi.reisz@gmail.com> - 2017-05-12 01:00 +0200
      Re: How to run Debian from SD card but booting from USB stick? Ben Caradoc-Davies <ben@transient.nz> - 2017-05-12 01:20 +0200
    Re: How to run Debian from SD card but booting from USB stick? Brian <ad44@cityscape.co.uk> - 2017-05-12 02:10 +0200
      Re: How to run Debian from SD card but booting from USB stick? Brian <ad44@cityscape.co.uk> - 2017-05-12 14:50 +0200
    Re: How to run Debian from SD card but booting from USB stick? David Wright <deblis@lionunicorn.co.uk> - 2017-05-12 02:40 +0200
    Re: How to run Debian from SD card but booting from USB stick? Richard Owlett <rowlett@cloud85.net> - 2017-05-12 16:10 +0200
      Re: How to run Debian from SD card but booting from USB stick? Brian <ad44@cityscape.co.uk> - 2017-05-13 12:00 +0200
        Re: How to run Debian from SD card but booting from USB stick? Richard Owlett <rowlett@cloud85.net> - 2017-05-13 12:40 +0200
          Re: How to run Debian from SD card but booting from USB stick? Brian <ad44@cityscape.co.uk> - 2017-05-13 14:30 +0200
            Re: How to run Debian from SD card but booting from USB stick? Błażej Popławski <blazejpop@wp.pl> - 2017-05-14 10:20 +0200
      Re: How to run Debian from SD card but booting from USB stick? Błażej Popławski <blazejpop@wp.pl> - 2017-05-13 13:10 +0200
        Re: How to run Debian from SD card but booting from USB stick? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-05-13 13:30 +0200
        Re: How to run Debian from SD card but booting from USB stick? Brian <ad44@cityscape.co.uk> - 2017-05-13 20:50 +0200
          Re: How to run Debian from SD card but booting from USB stick? Błażej Popławski <blazejpop@wp.pl> - 2017-05-14 10:20 +0200
            Re: How to run Debian from SD card but booting from USB stick? deloptes <deloptes@gmail.com> - 2017-05-15 09:00 +0200
  Re: How to run Debian from SD card but booting from USB stick? deloptes <deloptes@gmail.com> - 2017-05-11 23:10 +0200
    Re: How to run Debian from SD card but booting from USB stick? Brian <ad44@cityscape.co.uk> - 2017-05-12 15:00 +0200
      Re: How to run Debian from SD card but booting from USB stick? deloptes <deloptes@gmail.com> - 2017-05-12 19:40 +0200
        Re: How to run Debian from SD card but booting from USB stick? Brian <ad44@cityscape.co.uk> - 2017-05-12 21:30 +0200
          Re: How to run Debian from SD card but booting from USB stick? Richard Owlett <rowlett@cloud85.net> - 2017-05-12 21:50 +0200
          Re: How to run Debian from SD card but booting from USB stick? deloptes <deloptes@gmail.com> - 2017-05-12 23:40 +0200
            Re: How to run Debian from SD card but booting from USB stick? Brian <ad44@cityscape.co.uk> - 2017-05-13 12:00 +0200
              Re: How to run Debian from SD card but booting from USB stick? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-05-13 12:40 +0200
                Re: How to run Debian from SD card but booting from USB stick? Brian <ad44@cityscape.co.uk> - 2017-05-13 14:20 +0200
              Re: How to run Debian from SD card but booting from USB stick? deloptes <deloptes@gmail.com> - 2017-05-13 14:10 +0200
                Re: How to run Debian from SD card but booting from USB stick? Brian <ad44@cityscape.co.uk> - 2017-05-13 14:30 +0200

csiph-web