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

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

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


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

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.


Reply to: