~alpine/users

5 2

[alpine-user] Makig a custom ISO image

Details
Message ID
<CAKJwhHVg2skGd2O9cS6iovAFYLFKp51KishJw0KPUT4eEjkv1Q@mail.gmail.com>
Sender timestamp
1473838004
DKIM signature
missing
Download raw message
http://stackoverflow.com/questions/39484723/alpine-linux-makig-a-custom-iso-image

Tnx in advance
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20160914120018.4df6a4d7@ncopa-desktop.copa.dup.pw>
In-Reply-To
<CAKJwhHVg2skGd2O9cS6iovAFYLFKp51KishJw0KPUT4eEjkv1Q@mail.gmail.com> (view parent)
Sender timestamp
1473847218
DKIM signature
missing
Download raw message
On Wed, 14 Sep 2016 09:26:44 +0200
Matija Papec <matija.papec@gmail.com> wrote:

> http://stackoverflow.com/questions/39484723/alpine-linux-makig-a-custom-iso-image
> 
> Tnx in advance

In case someone would like to answer on the mailing list, the question is:


Tried to build rescue iso by following

https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image

(used alpine-extended-3.4.3-x86.iso installed onto hdd before that)

When booting newly created image, it complains immediately after boot prompt. What should I do to create proper ISO image?

<screenshot with error message: "/sbin/init not found in new root. Launching emergency recovery shell">



---
Unsubscribe:  alpine-user+unsubscribe@lists.alpinelinux.org
Help:         alpine-user+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20160914120250.63b9a260@ncopa-desktop.copa.dup.pw>
In-Reply-To
<20160914120018.4df6a4d7@ncopa-desktop.copa.dup.pw> (view parent)
Sender timestamp
1473847370
DKIM signature
missing
Download raw message
On Wed, 14 Sep 2016 12:00:18 +0200
Natanael Copa <ncopa@alpinelinux.org> wrote:

> On Wed, 14 Sep 2016 09:26:44 +0200
> Matija Papec <matija.papec@gmail.com> wrote:
> 
> > http://stackoverflow.com/questions/39484723/alpine-linux-makig-a-custom-iso-image
> > 
> > Tnx in advance  
> 
> In case someone would like to answer on the mailing list, the question is:
> 
> 
> Tried to build rescue iso by following
> 
> https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image
> 
> (used alpine-extended-3.4.3-x86.iso installed onto hdd before that)
> 
> When booting newly created image, it complains immediately after boot prompt. What should I do to create proper ISO image?
> 
> <screenshot with error message: "/sbin/init not found in new root. Launching emergency recovery shell">

At the boot prompt, could you please try enter: grsec noquiet

I suspect that apk fails to install the needed packages to the /sysroot for some reason.

-nc



---
Unsubscribe:  alpine-user+unsubscribe@lists.alpinelinux.org
Help:         alpine-user+help@lists.alpinelinux.org
---
Details
Message ID
<CAKJwhHUSLWMS_tck6DJfXB=f1AE-g88ytuoMmpUGd5tv1VXd-Q@mail.gmail.com>
In-Reply-To
<20160914120250.63b9a260@ncopa-desktop.copa.dup.pw> (view parent)
Sender timestamp
1473849217
DKIM signature
missing
Download raw message
Hello
​
Natanael,

it shows some progress, but ends with same error message,

https://snag.gy/r3F7wP.jpg



On Wed, Sep 14, 2016 at 12:02 PM,
​​
Natanael Copa <ncopa@alpinelinux.org> wrote:

> On Wed, 14 Sep 2016 12:00:18 +0200
> Natanael Copa <ncopa@alpinelinux.org> wrote:
>
> > On Wed, 14 Sep 2016 09:26:44 +0200
> > Matija Papec <matija.papec@gmail.com> wrote:
> >
> > > http://stackoverflow.com/questions/39484723/alpine-
> linux-makig-a-custom-iso-image
> > >
> > > Tnx in advance
> >
> > In case someone would like to answer on the mailing list, the question
> is:
> >
> >
> > Tried to build rescue iso by following
> >
> > https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image
> >
> > (used alpine-extended-3.4.3-x86.iso installed onto hdd before that)
> >
> > When booting newly created image, it complains immediately after boot
> prompt. What should I do to create proper ISO image?
> >
> > <screenshot with error message: "/sbin/init not found in new root.
> Launching emergency recovery shell">
>
> At the boot prompt, could you please try enter: grsec noquiet
>
> I suspect that apk fails to install the needed packages to the /sysroot
> for some reason.
>
> -nc
>
>
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20160915125352.44957b43@ncopa-desktop.copa.dup.pw>
In-Reply-To
<CAKJwhHUSLWMS_tck6DJfXB=f1AE-g88ytuoMmpUGd5tv1VXd-Q@mail.gmail.com> (view parent)
Sender timestamp
1473936832
DKIM signature
missing
Download raw message
On Wed, 14 Sep 2016 12:33:37 +0200
Matija Papec <matija.papec@gmail.com> wrote:

> Hello
> *
> Natanael,
> 
> it shows some progress, but ends with same error message,
> 
> https://snag.gy/r3F7wP.jpg


The warning message says that the apk index is untrusted. This means that the pubkey is missing in the initramfs.

You need to copy the key (~/.abuild/*.pub) to /etc/apk/keys/ and rebuild the iso.


> 
> 
> On Wed, Sep 14, 2016 at 12:02 PM,
> **
> Natanael Copa <ncopa@alpinelinux.org> wrote:
> 
> > On Wed, 14 Sep 2016 12:00:18 +0200
> > Natanael Copa <ncopa@alpinelinux.org> wrote:
> >  
> > > On Wed, 14 Sep 2016 09:26:44 +0200
> > > Matija Papec <matija.papec@gmail.com> wrote:
> > >  
> > > > http://stackoverflow.com/questions/39484723/alpine-  
> > linux-makig-a-custom-iso-image  
> > > >
> > > > Tnx in advance  
> > >
> > > In case someone would like to answer on the mailing list, the question  
> > is:  
> > >
> > >
> > > Tried to build rescue iso by following
> > >
> > > https://wiki.alpinelinux.org/wiki/How_to_make_a_custom_ISO_image
> > >
> > > (used alpine-extended-3.4.3-x86.iso installed onto hdd before that)
> > >
> > > When booting newly created image, it complains immediately after boot  
> > prompt. What should I do to create proper ISO image?  
> > >
> > > <screenshot with error message: "/sbin/init not found in new root.  
> > Launching emergency recovery shell">
> >
> > At the boot prompt, could you please try enter: grsec noquiet
> >
> > I suspect that apk fails to install the needed packages to the /sysroot
> > for some reason.
> >
> > -nc
> >
> >  



---
Unsubscribe:  alpine-user+unsubscribe@lists.alpinelinux.org
Help:         alpine-user+help@lists.alpinelinux.org
---
Details
Message ID
<CAKJwhHUqN2T1upaCH37KFZWFXRvUCObM+yUAhSUaYoWHJ5hr7Q@mail.gmail.com>
In-Reply-To
<20160915125352.44957b43@ncopa-desktop.copa.dup.pw> (view parent)
Sender timestamp
1473945495
DKIM signature
missing
Download raw message
On Thu, Sep 15, 2016 at 12:53 PM, Natanael Copa <ncopa@alpinelinux.org>
wrote:

> On Wed, 14 Sep 2016 12:33:37 +0200
> Matija Papec <matija.papec@gmail.com> wrote:
>
> > Hello
> > *
> > Natanael,
> >
> > it shows some progress, but ends with same error message,
> >
> > https://snag.gy/r3F7wP.jpg
>
>
> The warning message says that the apk index is untrusted. This means that
> the pubkey is missing in the initramfs.
>
> You need to copy the key (~/.abuild/*.pub) to /etc/apk/keys/ and rebuild
> the iso.
>

​Tnx, I've copied *pub​ files and ran #make PROFILE=alpine-rescue iso

but resulting iso complains in the same way.



​localhost:~/alpine-iso# ls -la ~/.abuild/
total 32
drwxr-xr-x    2 root     root          4096 Sep 14 09:01 .
drwx------    4 root     root          4096 Sep 14 08:56 ..
-rw-rw----    1 root     root          1679 Sep 14 08:09 root-57d8e98f.rsa
-rw-r--r--    1 root     root           451 Sep 14 08:09
root-57d8e98f.rsa.pub
-rw-rw----    1 root     root          1679 Sep 14 08:17 root-57d8eb88.rsa
-rw-r--r--    1 root     root           451 Sep 14 08:17
root-57d8eb88.rsa.pub
-rw-rw----    1 root     root          1675 Sep 14 09:01 root-57d8f5b7.rsa
-rw-r--r--    1 root     root           451 Sep 14 09:01
root-57d8f5b7.rsa.pub
localhost:~/alpine-iso# ls -la /etc/apk/keys/
total 40
drwxr-xr-x    2 root     root          4096 Sep 15 15:07 .
drwxr-xr-x    4 root     root          4096 Sep 14 08:16 ..
-rw-r--r--    1 root     root           451 Sep 14 07:43
alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
-rw-r--r--    1 root     root           451 Sep 14 07:43
alpine-devel@lists.alpinelinux.org-4d07755e.rsa.pub
-rw-r--r--    1 root     root           451 Sep 14 07:43
alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub
-rw-r--r--    1 root     root           451 Sep 14 07:43
alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub
-rw-r--r--    1 root     root           451 Sep 14 07:43
alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
-rw-r--r--    1 root     root           451 Sep 15 15:07
root-57d8e98f.rsa.pub
-rw-r--r--    1 root     root           451 Sep 15 15:07
root-57d8eb88.rsa.pub
-rw-r--r--    1 root     root           451 Sep 15 15:07
root-57d8f5b7.rsa.pub
​
Reply to thread Export thread (mbox)