From nobody Fri Mar 29 14:39:00 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from ncopa-laptop (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nc@alpinelinux.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id A05A5DC014C for ; Thu, 27 Mar 2014 19:45:26 +0000 (UTC) Date: Thu, 27 Mar 2014 19:45:22 +0000 From: Natanael Copa To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] How to rescue your edge box after the mkinitfs incident Message-ID: <20140327194522.5a4d04b8@ncopa-laptop> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.20; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, It turned out that there were 2 bugs in mkinitfs, one that only affected uClibc and one that affected both uClibc and musl. I thought I'd write how I rescued my laptop after it became unbootable after upgrading to broken mkinitfs. * Boot a rescue boot USB, with alpine v2.7 * Configure network (run setup-alpine -q for setting up the live session) * make sure you have new apk-tools: apk upgrade -U * I have my root on lvm so: apk add lvm2 lvchange -a y vg0 * mount the root: mount -t /dev/vg0/lv_root /mnt * mount the boot partition. In my case this is /dev/sda2: mount /dev/sda2 /mnt/boot * I had to mount /mnt/proc otherwise readlink -f wouldn't work in the chroot. Not sure if it is needed for uclibc: mount --bind /proc /mnt/proc * Upgrade the broken system: apk upgrade -U --root /mnt * Verify that you get mkinitfs-2.6.0-r3 and check that mkinitfs trigger don't give any cpio errors. * cleanup and reboot. umount /mnt/proc /mnt/boot /mnt reboot That should be it. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Fri Mar 29 14:39:00 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-yh0-f44.google.com (mail-yh0-f44.google.com [209.85.213.44]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 17076DC00AF for ; Tue, 1 Apr 2014 18:27:08 +0000 (UTC) Received: by mail-yh0-f44.google.com with SMTP id f10so9448405yha.17 for ; Tue, 01 Apr 2014 11:27:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=li7n9EaqpnMYPK/pbqWNCcVEXNdslrJxUh06P+ocmQ4=; b=U9KikZOSceghYCXhWBfCnTycbXZhjIAkVLc4uZMYG9apbm8ffqmr+rqHl3yE+IZrtt rTm2xd5dbZafBxg7whEF91PhlGcehgf+CL1hccrAlyTfC/gZjlsRweYsfG/9losa8p0M vV9MFZkRBIXswuoMflFiD03kjf6kq1V4KLfRakFXjn8DgDqIMrmJyEMfcBahcRwx/+Ah a74lam6KgI8viYJ6sf9WRL8bR3SbdfMtd0wbOuMo3DldftynEFPhCJGftsshnyKsHSNp gvVRE7N8wNz8yyFQ36tNu4X2/zNjoNzVT3Uh//Msws70qEpBrezSHvXsiFykXpHmE+2u uAXA== X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.236.140.16 with SMTP id d16mr47215377yhj.55.1396376825474; Tue, 01 Apr 2014 11:27:05 -0700 (PDT) Received: by 10.170.94.8 with HTTP; Tue, 1 Apr 2014 11:27:04 -0700 (PDT) In-Reply-To: <20140327194522.5a4d04b8@ncopa-laptop> References: <20140327194522.5a4d04b8@ncopa-laptop> Date: Tue, 1 Apr 2014 13:27:04 -0500 Message-ID: Subject: Re: [alpine-devel] How to rescue your edge box after the mkinitfs incident From: Jeff Pohlmeyer To: Natanael Copa Cc: Alpine Content-Type: text/plain; charset=ISO-8859-1 On Thu, Mar 27, 2014 at 2:45 PM, Natanael Copa wrote: > It turned out that there were 2 bugs in mkinitfs, one that only > affected uClibc and one that affected both uClibc and musl. I'm running into another problem, or maybe it's just something wrong with my installation... The mkinitfs upgrade creates /etc/mkinitfs/features.d/base.files.apk-new This new file no longer lists the dependent libraries in /lib/. I assume this is because "lddtree" is supposed to take care of that now. But, "lddtree -l /bin/busybox" lists "/lib/ld-uClibc.so.0.9.32" which is a symbolic link, but for some reason it never resolves that link, so the newly-created initramfs fails to run /init because of the missing loader. Seems to me like that is a bug in lddtree, but maybe the "base.files.apk-new" should still at least list "/lib/ld-uClibc-0.9.33.2.so" until the issue can be resolved? - Jeff --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Fri Mar 29 14:39:00 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from dal-a2.localdomain (unknown [74.117.189.115]) by mail.alpinelinux.org (Postfix) with ESMTP id 5AB45DC01A9 for ; Wed, 2 Apr 2014 07:02:08 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@tanael.org) by dal-a2.localdomain (Postfix) with ESMTPSA id 9B9E1BC2958; Wed, 2 Apr 2014 07:02:07 +0000 (UTC) Date: Wed, 2 Apr 2014 09:02:04 +0200 From: Natanael Copa To: Jeff Pohlmeyer Cc: Alpine Subject: Re: [alpine-devel] How to rescue your edge box after the mkinitfs incident Message-ID: <20140402090204.59c9c99e@ncopa-desktop.alpinelinux.org> In-Reply-To: References: <20140327194522.5a4d04b8@ncopa-laptop> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.20; x86_64-alpine-linux-uclibc) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 1 Apr 2014 13:27:04 -0500 Jeff Pohlmeyer wrote: > On Thu, Mar 27, 2014 at 2:45 PM, Natanael Copa wrote: > > > It turned out that there were 2 bugs in mkinitfs, one that only > > affected uClibc and one that affected both uClibc and musl. > > I'm running into another problem, or maybe it's just something wrong with > my installation... > > The mkinitfs upgrade creates /etc/mkinitfs/features.d/base.files.apk-new > This new file no longer lists the dependent libraries in /lib/. > > I assume this is because "lddtree" is supposed to take care of that now. > > But, "lddtree -l /bin/busybox" lists "/lib/ld-uClibc.so.0.9.32" which is > a symbolic link, but for some reason it never resolves that link, so the > newly-created initramfs fails to run /init because of the missing loader. Whoops. this is definitively a bug in lddtree yes. It doesnt resolve the interp symlinks. I think I fixed it with lddtree-1.25-r1. > Seems to me like that is a bug in lddtree, but maybe the "base.files.apk-new" > should still at least list "/lib/ld-uClibc-0.9.33.2.so" until the issue can > be resolved? You could manually add the file to base.file as a temp workaround. (but it should be fixed now) Sorry about this. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Fri Mar 29 14:39:00 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-yh0-f52.google.com (mail-yh0-f52.google.com [209.85.213.52]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 9DDCBDC0181 for ; Wed, 2 Apr 2014 13:15:50 +0000 (UTC) Received: by mail-yh0-f52.google.com with SMTP id c41so159315yho.39 for ; Wed, 02 Apr 2014 06:15:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MTTYMt5MIJBVJYv6rF1F7YYX4kplJ+1NMqJSIFj6VFY=; b=QguMpMWzBNEb3WiWVMjGGie6nobJFsiBhYRRROM7w/BTLd0TW/Ohdb8UQRKId9AnPc SEYSKVZ3YYJr3alteMfUXsLNBmyqmbBvqj7WwYA6b4XsFZIFsUAbc03ytmMuh5sC+70J NJlVoSb+OOPQ9k2sfZwig3A83H9apvivUlzs9PDvsfHrOthp35+Rk9gJ+DwTlQQxuXqm 6uOiCzCQ+XsSdx+xFAeR9MQ5fCc/uEainwY0QcdpBN8mVcDLT8csRlTMoO8UWGfy1J3Y X3TpTJjFbTGq4mZbhHdbDMWhaQv0HbqwYOBmw8jGbwmx9Rbne1HKsRR8HBWDS8hqbpfI BQLA== X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.236.109.99 with SMTP id r63mr672495yhg.52.1396444547729; Wed, 02 Apr 2014 06:15:47 -0700 (PDT) Received: by 10.170.94.8 with HTTP; Wed, 2 Apr 2014 06:15:47 -0700 (PDT) In-Reply-To: <20140402090204.59c9c99e@ncopa-desktop.alpinelinux.org> References: <20140327194522.5a4d04b8@ncopa-laptop> <20140402090204.59c9c99e@ncopa-desktop.alpinelinux.org> Date: Wed, 2 Apr 2014 08:15:47 -0500 Message-ID: Subject: Re: [alpine-devel] How to rescue your edge box after the mkinitfs incident From: Jeff Pohlmeyer To: Natanael Copa Cc: Alpine Content-Type: text/plain; charset=ISO-8859-1 On Apr 2, 2014, Natanael Copa wrote: > On Tue, 1 Apr 2014 Jeff Pohlmeyer wrote: >> Seems to me like that is a bug in lddtree > Whoops. this is definitively a bug in lddtree yes. It doesnt resolve > the interp symlinks. I think I fixed it with lddtree-1.25-r1. Ah, I didn't realize you were maintaining this. I glanced at the lddtree file and saw the word "gentoo" so I assumed it was an upstream project. > You could manually add the file to base.file as a temp workaround. Yes, that's what I did. > but it should be fixed now 1.25-r1 looks good from here. > Sorry about this. No problem, just another "learning experience" for me ;-) Thanks for the quick fix! - Jeff --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Fri Mar 29 14:39:00 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from dal-a2.localdomain (unknown [74.117.189.115]) by mail.alpinelinux.org (Postfix) with ESMTP id 915B7DC0181 for ; Wed, 2 Apr 2014 13:32:51 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@tanael.org) by dal-a2.localdomain (Postfix) with ESMTPSA id D5B77BC29C0; Wed, 2 Apr 2014 13:32:50 +0000 (UTC) Date: Wed, 2 Apr 2014 15:32:47 +0200 From: Natanael Copa To: Jeff Pohlmeyer Cc: Alpine Subject: Re: [alpine-devel] How to rescue your edge box after the mkinitfs incident Message-ID: <20140402153247.36f00072@ncopa-desktop.alpinelinux.org> In-Reply-To: References: <20140327194522.5a4d04b8@ncopa-laptop> <20140402090204.59c9c99e@ncopa-desktop.alpinelinux.org> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.20; x86_64-alpine-linux-uclibc) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 2 Apr 2014 08:15:47 -0500 Jeff Pohlmeyer wrote: > On Apr 2, 2014, Natanael Copa wrote: > > On Tue, 1 Apr 2014 Jeff Pohlmeyer wrote: > > >> Seems to me like that is a bug in lddtree > > > Whoops. this is definitively a bug in lddtree yes. It doesnt resolve > > the interp symlinks. I think I fixed it with lddtree-1.25-r1. > > Ah, I didn't realize you were maintaining this. I glanced at the lddtree file > and saw the word "gentoo" so I assumed it was an upstream project. I have forked it since gentoo upstream was not interested in shell version: https://bugs.gentoo.org/show_bug.cgi?id=504954 I ported it to posix shell and fixed some issues, like resolving symlinks. I missed the interp. ... > Thanks for the quick fix! Thanks for you patience :) > - Jeff --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Fri Mar 29 14:39:00 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id D12FEDC014C for ; Thu, 27 Mar 2014 19:47:15 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id sa20so4597550veb.22 for ; Thu, 27 Mar 2014 12:47:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=DyKE2nX+cjO6+rX5FOcZS8WxFhGRy4wb8lNeHmxBBIE=; b=N9SCQjWsgvduR3c4hBrMB+6HadJOxheHF0n64LEPMewsfLzUO0XFWDzsbWm8zkogH1 7yFLI2vjLNOEXhpcpP8/eXsy726Iiq2AF5yeIOUQUF4TIIuGyLfRG2tt8WH1x0ySkErT UHRQ+8xzMa+WIZN8ogkUCVAINGWT8Y20UCPPVfT9Q3GM3YOhY8v+xxBXeimEbU8EsULa 0SB77TVEq6/SHjNZRoBRRn2qy6QrNFDxAvcrGgTHB+TVMpo2IcVVbQQRgX3Fo08F+KI2 i85aLra3HHb9XPOZV3BvFqeFkq2NChvYDOKq57VnDZqortPf56MN8EkdAkDd956hgGQd nWQQ== X-Received: by 10.221.37.1 with SMTP id tc1mr2192200vcb.32.1395949632615; Thu, 27 Mar 2014 12:47:12 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.220.136.74 with HTTP; Thu, 27 Mar 2014 12:46:52 -0700 (PDT) In-Reply-To: <20140327194522.5a4d04b8@ncopa-laptop> References: <20140327194522.5a4d04b8@ncopa-laptop> From: Alan Messias Date: Thu, 27 Mar 2014 16:46:52 -0300 Message-ID: Subject: Re: [alpine-devel] How to rescue your edge box after the mkinitfs incident To: Natanael Copa Cc: Alpine Devel List Content-Type: multipart/alternative; boundary=001a11334c38f9ffdf04f59bd9fd --001a11334c38f9ffdf04f59bd9fd Content-Type: text/plain; charset=ISO-8859-1 Is it useful to be placed on wiki.al.o ? On Thu, Mar 27, 2014 at 4:45 PM, Natanael Copa wrote: > Hi, > > It turned out that there were 2 bugs in mkinitfs, one that only > affected uClibc and one that affected both uClibc and musl. > > I thought I'd write how I rescued my laptop after it became unbootable > after upgrading to broken mkinitfs. > > * Boot a rescue boot USB, with alpine v2.7 > > * Configure network (run setup-alpine -q for setting up the live > session) > > * make sure you have new apk-tools: > > apk upgrade -U > > * I have my root on lvm so: > > apk add lvm2 > lvchange -a y vg0 > > * mount the root: > > mount -t /dev/vg0/lv_root /mnt > > * mount the boot partition. In my case this is /dev/sda2: > > mount /dev/sda2 /mnt/boot > > * I had to mount /mnt/proc otherwise readlink -f wouldn't work in the > chroot. Not sure if it is needed for uclibc: > > mount --bind /proc /mnt/proc > > * Upgrade the broken system: > > apk upgrade -U --root /mnt > > * Verify that you get mkinitfs-2.6.0-r3 and check that mkinitfs trigger > don't give any cpio errors. > > * cleanup and reboot. > > umount /mnt/proc /mnt/boot /mnt > reboot > > That should be it. > > -nc > > > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- > > -- Atenciosamente, Alan Messias Cordeiro *The nice thing about standards is that there are so many to choose from. And if you really don't like all the standards you just have to wait another year until the one arises you are looking for. -- A. Tanenbaum, "Introduction to Computer Networks"* --001a11334c38f9ffdf04f59bd9fd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Is it useful to be placed on wiki.al.o ?


On Thu, Mar 27, 2014 at= 4:45 PM, Natanael Copa <ncopa@alpinelinux.org> wrote:
Hi,

It turned out that there were 2 bugs in mkinitfs, one that only
affected uClibc and one that affected both uClibc and musl.

I thought I'd write how I rescued my laptop after it became unbootable<= br> after upgrading to broken mkinitfs.

* Boot a rescue boot USB, with alpine v2.7

* Configure network (run setup-alpine -q for setting up the live
=A0 session)

* make sure you have new apk-tools:

=A0 =A0 apk upgrade -U

* I have my root on lvm so:

=A0 =A0 apk add lvm2
=A0 =A0 lvchange -a y vg0

* mount the root:

=A0 =A0 mount -t /dev/vg0/lv_root /mnt

* mount the boot partition. In my case this is /dev/sda2:

=A0 =A0 mount /dev/sda2 /mnt/boot

* I had to mount /mnt/proc otherwise readlink -f wouldn't work in the =A0 chroot. Not sure if it is needed for uclibc:

=A0 =A0 mount --bind /proc /mnt/proc

* Upgrade the broken system:

=A0 =A0 apk upgrade -U --root /mnt

* Verify that you get mkinitfs-2.6.0-r3 and check that mkinitfs trigger
=A0 don't give any cpio errors.

* cleanup and reboot.

=A0 =A0 umount /mnt/proc /mnt/boot /mnt
=A0 =A0 reboot

That should be it.

-nc


---
Unsubscribe: =A0alpine-devel+unsubscribe@lists.alpinelinux.org
Help: =A0 =A0 =A0 =A0 alpine-devel+help@lists.alpinelinux.org
---




--
Atenciosamente,
Alan Messias Cordeiro

The nice thing about standards is that there are= so many to choose from. And if you really don't like all the standards= you just have to wait another year until the one arises you are looking fo= r.=A0--=A0A. Tanenbaum, "Introduction to Computer Networks"= ;

--001a11334c38f9ffdf04f59bd9fd-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Fri Mar 29 14:39:00 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from dal-a2.localdomain (unknown [74.117.189.115]) by mail.alpinelinux.org (Postfix) with ESMTP id 834FCDC056E for ; Fri, 28 Mar 2014 16:05:12 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@tanael.org) by dal-a2.localdomain (Postfix) with ESMTPSA id C7705BC2957; Fri, 28 Mar 2014 16:05:11 +0000 (UTC) Date: Fri, 28 Mar 2014 17:05:07 +0100 From: Natanael Copa To: Alan Messias Cc: Alpine Devel List Subject: Re: [alpine-devel] How to rescue your edge box after the mkinitfs incident Message-ID: <20140328170507.44eb116d@ncopa-desktop.alpinelinux.org> In-Reply-To: References: <20140327194522.5a4d04b8@ncopa-laptop> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.20; x86_64-alpine-linux-uclibc) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 27 Mar 2014 16:46:52 -0300 Alan Messias wrote: > Is it useful to be placed on wiki.al.o ? I first though no, because this should not happen, but on the other hand, it might be useful to have a general rescue wiki page. -nc > On Thu, Mar 27, 2014 at 4:45 PM, Natanael Copa wrote: > > > Hi, > > > > It turned out that there were 2 bugs in mkinitfs, one that only > > affected uClibc and one that affected both uClibc and musl. > > > > I thought I'd write how I rescued my laptop after it became unbootable > > after upgrading to broken mkinitfs. > > > > * Boot a rescue boot USB, with alpine v2.7 > > > > * Configure network (run setup-alpine -q for setting up the live > > session) > > > > * make sure you have new apk-tools: > > > > apk upgrade -U > > > > * I have my root on lvm so: > > > > apk add lvm2 > > lvchange -a y vg0 > > > > * mount the root: > > > > mount -t /dev/vg0/lv_root /mnt > > > > * mount the boot partition. In my case this is /dev/sda2: > > > > mount /dev/sda2 /mnt/boot > > > > * I had to mount /mnt/proc otherwise readlink -f wouldn't work in the > > chroot. Not sure if it is needed for uclibc: > > > > mount --bind /proc /mnt/proc > > > > * Upgrade the broken system: > > > > apk upgrade -U --root /mnt > > > > * Verify that you get mkinitfs-2.6.0-r3 and check that mkinitfs trigger > > don't give any cpio errors. > > > > * cleanup and reboot. > > > > umount /mnt/proc /mnt/boot /mnt > > reboot > > > > That should be it. > > > > -nc > > > > > > --- > > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > > Help: alpine-devel+help@lists.alpinelinux.org > > --- > > > > > > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---