X-Original-To: alpine-user@lists.alpinelinux.org Received: from mail-qt0-f196.google.com (mail-qt0-f196.google.com [209.85.216.196]) by lists.alpinelinux.org (Postfix) with ESMTP id 5C5CB5C598B for ; Sun, 7 Jan 2018 19:24:57 +0000 (GMT) Received: by mail-qt0-f196.google.com with SMTP id m59so11386561qte.11 for ; Sun, 07 Jan 2018 11:24:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dereferenced-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Ija5yVuJzsEs+06WFxazQ8NNaVjL81bSmvoNC9QjZqI=; b=pW1l3IhZ4KrGNthG7FcSUrbKbmbo0BSmRIwWgXty5uKOn0pkRi9WtriWeLsT3cyIhK NPiHVTCvyWzVDvkeXBZA36qZbsFfPLywgWGAJv3aZGbNdls44EjGjYhzg3LQiQP8cml0 Lo7uh2kfd/MuCDZSGxMCfuu1Iy1trHARQvOHWNbyvuckuxUZv8Qg57YfsiRlu89utNFM Gp3jHr4anVnVEucAiTvOu+SgOdPoD7esnrKz8SKxGJHIQ74T15r2IqEYyjpoLyOzOd1W e+Dn6lNYVfxoRC+aLb7zzSYxSITLH86nm8m0AZQcH0XY46RL58N7zxBHfDadJ+/DM89E 6slA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Ija5yVuJzsEs+06WFxazQ8NNaVjL81bSmvoNC9QjZqI=; b=Mrdd8ZOmmjADXiBsXgYvzDG0nFBVHwoF0j3XmmTtPT69QVdaeREnN/EWKqBfCKC6wK PxTgnNQWEUWxvxgTVL4Za0M07dYELLeiH/6HdJ+anQtspC7/LvfOQqoRCsilgX92Gz4D Km1xChLC9Y6UrEFdNbUko1hXpyNhYjJyPOEuRwIG5G2pNdWg7IMCd7wd2Djf3P4eK1uV VnDXBS56FoxUcIVXrOuqJRIWODCbKNYe0GiaiwTW4rVCAk0sfq/W+szkWeuipgS/SijH AVqhzrF+vSHvs+1V2XbWJfndtawz/RANIVBXR9Ti5oBQwL8GkYsdMJX53HsI1AhGt98H l00Q== X-Gm-Message-State: AKwxytfCNAlu3+bSu/4eNtARqC+ABmkg7fl/6wqMQ7hUiCs4VivYm2Y3 QNDHVnnf3h2qY5hgvL6ZvAhXw/qfShDxWPtw7fglpKlO X-Google-Smtp-Source: ACJfBovTUGB85+Fn4zpdRgXr1N3ugWo9IRrx/X8Ar0ckDPWs++t1K2z2Bbw9mWTAseh/uKgXOcOC03geMdWV1/DWfwE= X-Received: by 10.200.41.227 with SMTP id 32mr12676146qtt.262.1515353097038; Sun, 07 Jan 2018 11:24:57 -0800 (PST) X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.237.38.162 with HTTP; Sun, 7 Jan 2018 11:24:56 -0800 (PST) In-Reply-To: References: From: William Pitcock Date: Sun, 7 Jan 2018 13:24:56 -0600 Message-ID: Subject: Re: [alpine-user] Multiple initramfs appears not to work To: Andrew Stuart Cc: alpine-user@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Tue, Jan 2, 2018 at 1:33 PM, Andrew Stuart wrote: > Hi folks, > > I want to pass multiple initramfs file to Alpine on boot. > > The architecture document says it supports such behaviour: > https://wiki.alpinelinux.org/wiki/Architecture Unfortunately that page needs to be deleted, because it's basically fantasy land. > "The kernel will decompress the stream of compressed cpio archives passed= to it by the 'append' bootloader option to the root of 'rootfs', a tmpfs a= utomatically mounted at '/' by the kernel at boot." > > As far as I can tell, Alpine appears to ignore all except the first initr= amfs. That is because the bootloader and kernel do not really work this way. I spent several months trying to explain this to the author of that Wiki page. > I=E2=80=99ve searching the web extensively to find any syslinux.cfg examp= le that does this for Alpine Linux but can find none, so I=E2=80=99m wonder= ing if it has ever been tested or known to work. > > I=E2=80=99ve tried a variety of different ways of specifying in syslinux.= cfg but none of them seem to work. Here is an example of one such config. > > SERIAL 0 115200 > TIMEOUT 20 > PROMPT 1 > DEFAULT virthardened > > LABEL virthardened > MENU LABEL Linux virthardened > KERNEL /boot/vmlinuz-virthardened > INITRD /boot/initramfs-virthardened,/boot/rootfs_overlay_initramfs.gz > DEVICETREEDIR /boot/dtbs > APPEND modules=3Dloop,squashfs,sd-mod,usb-storage quiet console=3Dtty0 co= nsole=3DttyS0,115200 > > Is anyone able to help me get Alpine to load more than one initramfs? It is not really possible, sorry. William --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---