Received: from mx.i-med.ac.at (mx.i-med.ac.at [193.171.76.21]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 7CB82781E2F for <~alpine/users@lists.alpinelinux.org>; Sun, 31 Jan 2021 09:03:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx.i-med.ac.at (Postfix) with ESMTP id B7925209EFBE; Sun, 31 Jan 2021 10:03:17 +0100 (CET) Received: from mx.i-med.ac.at ([127.0.0.1]) by localhost (mx.i-med.ac.at [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CbTrwysV_OGA; Sun, 31 Jan 2021 10:03:12 +0100 (CET) Received: from mail3.i-med.ac.at (mail3.i-med.ac.at [172.16.11.218]) by mx.i-med.ac.at (Postfix) with ESMTP id 0B6CE209EF47; Sun, 31 Jan 2021 10:03:12 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mx.i-med.ac.at 0B6CE209EF47 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=i-med.ac.at; s=default; t=1612083792; bh=kG3FLhRIs3QgUZMEacoXPukHCUSv/fTo8x/I/fgUPuE=; h=To:References:From:Date:In-Reply-To:From; b=cPW62rVGpX8692n6UkbyQ1nGlI622oqHBjqznawtNsf0Nru9Jbn2IyQlVfXxBfJ3x /P9olcXPPYi3FqKHHQ3Ed6Cv6PyvTfhanudMxtZmTnRtwazWDiEH7GYzt3hdzsv6Cz 4HHwMmD6hlIu21CauoEULH9sJ2yQoRXg5mJFCrcOB7hETQemetTiQ40YY8XJ2jFVZG HECsc6CUrAyPGqko64fnSV9sY1IKbCQmQlXxGHJ5l9qrNWYCFHKnOOx70a8G+oFBrt Snx87t66RdcY9DujFatx5+0BgFwiR1tXG2zJI7bx8X04sffyUZZggSrrsNKrlvcrAl Qa4rewS/3ZJxw== Received: from gandalf.icbi.local (unknown [185.176.157.17]) by mail3.i-med.ac.at (Postfix) with ESMTPSA id EA71180098; Sun, 31 Jan 2021 10:03:11 +0100 (CET) Subject: Re: upgrade from 3.12.3 to 3.13.0 To: David Restall , ~alpine/users@lists.alpinelinux.org References: <20210122095509.arAVeSrMl%dave@restall.net> From: Dietmar Rieder Organization: Innsbruck Medical University - Institute of Bioinformatics Message-ID: Date: Sun, 31 Jan 2021 10:03:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210122095509.arAVeSrMl%dave@restall.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZMUPQqQXKafZFH4EUQaYCnXzwJd5i20ea" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ZMUPQqQXKafZFH4EUQaYCnXzwJd5i20ea Content-Type: multipart/mixed; boundary="kwdkoQANaWaxS53KvqFLcLucHsOY9wmjW"; protected-headers="v1" From: Dietmar Rieder To: David Restall , ~alpine/users@lists.alpinelinux.org Message-ID: Subject: Re: upgrade from 3.12.3 to 3.13.0 References: <20210122095509.arAVeSrMl%dave@restall.net> In-Reply-To: <20210122095509.arAVeSrMl%dave@restall.net> --kwdkoQANaWaxS53KvqFLcLucHsOY9wmjW Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi David, thanks for all your suggestions. However I was not able to get the=20 upgrade to work. So I decided to start from scratch with 3.13.0 and=20 manually "restored" my 3.12.3 configuration, it didn't take all to long=20 after all. Thanks again Dietmar On 1/22/21 10:55 AM, David Restall wrote: > Hi Dietmar, >=20 >>>>> ISOLINUX 6.04 4.04-pre1 Copyright (C) 1994-2015 H. Peter Anvin et >>>>> al boot: >>>>> /sbin/init not found in new root. Launching emergency recovery > ^^^^^^^^^^^^^^^^^^^^^^ >=20 > seems to be the main problem. Have you checked that /sbin/init exists = ? >=20 > When the system boots, it loads a file system from a compressed image > into memory and boots from that then hands over to the installed OS. > Check that you have /sbin/init in both places - not too sure what the > best way to check in your situation is but on my box I'd look at the > contents of /boot/initramfs-lts. Use : >=20 > gzip -dc /boot/initramfs-lts | cpio -t | grep init >=20 > to see if the file is present. Mine returns : >=20 > alpine:~# gzip -dc /boot/initramfs-lts | cpio -t | grep init > init > lib/modules/5.4.84-0-lts/kernel/drivers/scsi/initio.ko > 246716 blocks >=20 > so shows that init is in / rather than /sbin. >=20 > Also check that it's in the uncompressed image on the usb stick. Mount= > the image using - again not too sure what your situation is :- >=20 > mount /dev/WHATEVER_YOUR_USB_ROOT_PARTION_IS /mnt > ls -al /mnt/sbin >=20 > should show the file. >=20 > If it's not there, cp it in and see if it boots :-) >=20 > There are LOTS of ways this can be sorted, the above is probably not th= e > best, quickest or easiest but it should give you some idea of a startin= g > point. Apologies, if you have already tried this and the above is a > complete load of rubbish :-) >=20 > Regards, >=20 >=20 >=20 > D > lists/alpine/users/2021-01-22.tx alpineus= ers > +----------------------------------------------------------------------= ------+ > | Dave Restall, Computer Anorak, Geek, Cyclist, Radio Amateur G4FCU, Bo= dger | > | Mob +44 (0) 7973 831245 Skype: dave.restall Radio: G= 4FCU | > | email : dave@restall.net - Anti-SocialMediaist - Web : Not Ready Ye= t :-( | > +- QOTD ---------------------------------------------------------------= ------+ > | The Hollywood tradition I like best is called "sucking up to the star= s." | > | -- Johnny Carson = | > +----------------------------------------------------------------------= ------+ >=20 >=20 >=20 >=20 >> Hi Natanael, >> >> thanks for your help, I was missing the lts (tried vanilla and virt). >> But unfortunately this doesn't change anything, it just takes 10 secon= ds =3D >> >> longer. >> >> Best >> Dietmar >> >> On 1/22/21 8:20 AM, Natanael Copa wrote: >>> On Thu, 21 Jan 2021 18:25:04 +0100 >>> Dietmar Rieder wrote: >>> =3D20 >>>> Hi, >>>> >>>> thanks for the suggestion. I'm not sure how to add this option? >>> =3D20 >>> When you see the boot prompt "boot:" you type: lts usbdelay=3D3D10 >>> =3D20 >>> -nc >>> =3D20 >>>> >>>> Anyway, when the alpine is in the recovery shell ("/ #") I see that >>>> the USB stick /dev/sda is mounted. I also see the activity led >>>> flashing during the boot, so I guess the usb controller is >>>> initialized. I also see the # progress bar going to 100% (see [1] >>>> screenshot) >>>> >>>> I do not have such issues with older versions of Alpine. >>>> >>>> Best >>>> Dietmar >>>> >>>> [1]: >>>> > w?usp=3D3Dsharing> >>>> >>>> On 1/21/21 5:15 PM, Natanael Copa wrote: >>>>> On Thu, 21 Jan 2021 14:02:55 +0100 >>>>> Dietmar Rieder wrote: >>>>> =3D20 >>>>>> Hi, >>>>>> >>>>>> I'm trying to upgrade a diskless installation (config and apk >>>>>> cache on usb) from Alpine 3.12.3 to 3.13.0 but while booting the >>>>>> new ISO image I get the following error when the USB stick is >>>>>> inserted: >>>>>> >>>>>> ------------------------------------------------------------------= --=3D >> ------------------------------ >>>>>> ISOLINUX 6.04 4.04-pre1 Copyright (C) 1994-2015 H. Peter Anvin et >>>>>> al boot: >>>>>> /sbin/init not found in new root. Launching emergency recovery >>>>>> shell Type exit to Continue boot. >>>>>> sh: can't access tty; job control turned off >>>>>> / # >>>>>> ------------------------------------------------------------------= --=3D >> ------------------------------ >>>>>> >>>>>> When I boot the new ISO an empty USB stick all works fine and I ca= n >>>>>> configure Alpine from scratch. However I'd like to upgrade and >>>>>> migrate my previous settings and packages as I used to do whenever= >>>>>> I switched release. >>>>>> >>>>>> Is there any way to solve that problem? >>>>> >>>>> Does it boot if you add the boot option usbdelay=3D3D10? >>>>> >>>>> Might be that the usb controller needs more than a ssecond to >>>>> initialize. >>>>>> >>>>>> Thanks >>>>>> Dietmar >>>>>> =3D20 >>>>> =3D20 >>>> >>>> >>> =3D20 >> >> >> --=3D20 >> _________________________________________ >> D i e t m a r R i e d e r, Mag.Dr. >> Innsbruck Medical University >> Biocenter - Institute of Bioinformatics >> Innrain 80, 6020 Innsbruck >> Phone: +43 512 9003 71402 >> Fax: +43 512 9003 73100 >> Email: dietmar.rieder@i-med.ac.at >> Web: http://www.icbi.at >> >> >> >> --QvE63Fgt2rf4cxeY0PBFvt8Bu5amvWQAG-- >> >> --ZLwSYbv2Vcz3SOPdkaYurxAEL2E80oNVM >> Content-Type: application/pgp-signature; name=3D"OpenPGP_signature.asc= " >> Content-Description: OpenPGP digital signature >> Content-Disposition: attachment; filename=3D"OpenPGP_signature" >> >> -----BEGIN PGP SIGNATURE----- >> >> wsD5BAABCAAjFiEETMNnW1mARfhGEq4RlZroVZ3BaicFAmAKhVsFAwAAAAAACgkQlZroVZ= 3Baidj >> KAv/dZP0QtzJ/CL9Hg9+dyJhsqhkg55IMRyXZUyFzO2h34olVmIRlPMD0GasTCZjkcSKsw= VdedJ6 >> WCAVTRwDRlV62sImyIdIvaS2TrZCRT99YUfqM1GP9fsdn/Zcq2Q20CJ2j+dj8LtjyMQ/zR= +mrgkI >> 9aDFheKVMLfIILG0u8uGo8A/DklE2FNvufBRv8gewzMEtRw1x66Fy/JoWa3Z26I2Gst/Vr= CBtn1n >> SOcQhHFR3gLhccQMcj80IQxgzP4X7CwzRBqBAmP8ESqYJKGIjv9UuFlRXIY58GGEwViWCE= CJd77D >> QCTfG31ZGumHNS3SFayWwVwObkwvUaIZ3SvVTPoWhguwAnmo/NcBuZ0cu9OtzU7lV48hsL= SpzKAq >> p1qnlP0VWufBjUEqIUKXVdljZ3kJQXYQCwdlrsjCRzwz2RkvGZGcOffRHir3H1uyls49vS= EnE3T9 >> HB/gIZgV1jrYF5gK4N+FCo43mQIUZdDvV3lbkcQFU9bUbEiyArbHQPp3X2Lm >> =3D9my6 >> -----END PGP SIGNATURE----- >> >> --ZLwSYbv2Vcz3SOPdkaYurxAEL2E80oNVM-- >> >=20 --=20 _________________________________________ D i e t m a r R i e d e r, Mag.Dr. Innsbruck Medical University Biocenter - Institute of Bioinformatics Innrain 80, 6020 Innsbruck Phone: +43 512 9003 71402 Fax: +43 512 9003 73100 Email: dietmar.rieder@i-med.ac.at Web: http://www.icbi.at --kwdkoQANaWaxS53KvqFLcLucHsOY9wmjW-- --ZMUPQqQXKafZFH4EUQaYCnXzwJd5i20ea Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsD5BAABCAAjFiEETMNnW1mARfhGEq4RlZroVZ3BaicFAmAWck8FAwAAAAAACgkQlZroVZ3Baid6 gAwAqmKJ0ccdtsHEy6n7HedA4dqPVAvh8MM83s3isOB/ZQ3vthNt4oYXrjGretsGZS6LMfmjTnfR DKAv/OVz3A7k5BvWvwSTcnw+e4yDZoPZKw6f08xk+tS7uQVeattEm6eWJh/nouR3nUZEsAhOv+Ik 2VTH3jGrsVewzFhBrOu6WsiJ6K2BmI8NK/BHkG948XZ5KnAwt+91IhcZXPJ8UMe67dZNeVgfuzFN KmL+YIK9lVuRcQjbtCDQt2NNeUDph0RMO0MEsY48lYaFNNs7udg07GP3RMWtQEvqAW6hE5ewfV+O c35dLareX4Yg2tdtdrVYa5I9xgLmiDXSJshUiaVMKOwMxplChGR5J5JTwzCgtUarYWOtr3OGfPf/ PcUYWPHVnHDSzPrRtWwMarLSV/Pey7vQ8pJjk/RpmTVDZkr+UEkuqE3S6MBXPJo4C4Qp0kdj6PYe 5EKb+xJl3wdY/RQ6BtQxExkToQQEGR2n2PPzRduN1LQzihKU16Xh1uMxozuW =1q1U -----END PGP SIGNATURE----- --ZMUPQqQXKafZFH4EUQaYCnXzwJd5i20ea--