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

Re: debian-user-digest Digest V2022 #836



no

On Sun, 23 Oct 2022, 6:52 am , <debian-user-digest-request@lists.debian.org> wrote:
Content-Type: text/plain

debian-user-digest Digest                               Volume 2022 : Issue 836

Today's Topics:
  Re: Some of the parameters used in m  [ Mario Marietto <marietto2008@gmail. ]
Date: Sat, 22 Oct 2022 22:45:20 +0200
From: Mario Marietto <marietto2008@gmail.com>
To: "Andrew M.A. Cater" <amacater@einval.com>, Thomas Schmitt <scdbackup@gmx.net>
Cc: debian-user@lists.debian.org
Subject: Re: Some of the parameters used in my genisoimage command don't
 produce a bootable ISO image
Message-ID: <[🔎] CA+1FSijF+UPb6fj6Mr1+5au9cMdeCdwVh0gv51t4YbyODC6iZw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="00000000000040657305eba5a5b2"

--00000000000040657305eba5a5b2
Content-Type: text/plain; charset="UTF-8"

This is what I did. I gone into this folder :
/home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot/ and I
have renamed the file "initrd.gz" into "initrd_.gz" and I've burnt a new
ISO image. I have soon realized that that file has been regenerated. The
initrd_.gz file disappeared and a new initrd.gz file appeared when,in
CUBIC,I have chosen which kernel bootstrap,as you can see here :
https://ibb.co/Xy0nKtL ; So. I suppose that the file that I should alter is
called "initrd.img-5.10.0-19-amd64" because I have chosen that kernel
version on the Cubic tab. And this is what I tried to do,but it didn't
work. This is the commands that I have issued :

cd /home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot

gunzip initrd.img-5.10.0-19-amd64.gz : has been produced a cpio file called
:  initrd.img-5.10.0-19-amd64

mv initrd.img-5.10.0-19-amd64 initrd.img-5.10.0-19-amd64_

cpio -idv < initrd.img-5.10.0-19-amd64_ : it has been unpacked and then
I've copied the files inside a folder called initrd.img-5.10.0-19-amd64

cd
/home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot/initrd.img-5.10.0-19-amd64/


cp /usr/share/plymouth/debian-logo.png
/home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot/initrd.img-5.10.0-19-amd64/usr/share/plymouth/

cp /usr/share/plymouth/themes/homeworld/debian.png
/home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot/initrd.img-5.10.0-19-amd64/usr/share/plymouth/themes/homeworld

cp /usr/share/plymouth/themes/homeworld/logo.png
/home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot/initrd.img-5.10.0-19-amd64/usr/share/plymouth/themes/homeworld

mv initrd.img-5.10.0-19-amd64 initrd.img-5.10.0-19-amd64-

cd
/home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot/initrd.img-5.10.0-19-amd64-

find . -print -depth | cpio -ov > ../initrd.img-5.10.0-19-amd64 : generated
the cpio file called initrd.img-5.10.0-19-amd64

cd ..

gzip initrd.img-5.10.0-19-amd64 : generated the gzip file called "
initrd.img-5.10.0-19-amd64"

cd /home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-root/boot/

mv initrd.img-5.10.0-19-amd64 initrd.img-5.10.0-19-amd64_

cp /home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot/initrd.img-5.10.0-19-amd64.gz
/home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-root/boot/

size of the new (initrd.img-5.10.0-19-amd64) file is 178.4 MiB (187,099,720
byte),of the old one is : 78.8 MiB (82,661,551 byte) ; so probably there is
something not good if the sizes are so different ?

Anyway,I've burned a new ISO image with cubic and I've tried to boot it,but
I've got the following error : https://ibb.co/GCBFcpK

Il giorno sab 22 ott 2022 alle ore 18:02 Andrew M.A. Cater <
amacater@einval.com> ha scritto:

> On Sat, Oct 22, 2022 at 05:13:18PM +0200, Thomas Schmitt wrote:
> > Hi,
> >
> > Mario Marietto wrote:
> > > I'm trying to change the pictures inside the /live/initrd.gz file.
> >
> > I really wonder where this file comes from.
> >
> >
> > > BUT after having "burned" another ISO image using Cubic,I've seen that
> it
> > > still uses the old images that I have previously added inside the
> > > /live/initrd file. I don't understand why ? It seems that this file is
> > > re-generated taking the files from somewhere else.
> >
> > Prime suspect would be Cubic. The "u" in in its name means "Ubuntu".
> > So it probably makes assumptions which the Debian Live ISO does not
> > fulfill. Did you follow the advise of "Cubic PPA (cubic-wizard)" in
> >   https://answers.launchpad.net/cubic/+question/703422
> > to ask your question on the "official web site" ?
> >
> >
>
> Further to this: if you are dealing with Debian-live images as your base,
> use Debian tools. If you're dealing with Ubuntu images use Ubuntu-based
> PPAs. In general, they really don't mix - to the extent that there's
> a whole section on the Debian wiki to this effect.
>
> https://wiki.debian.org/DontBreakDebian
>
> The number of people working on Debian-live images at any one time is
> small: if you can't raise anyone, then I might also suggest having
> a chat with Roland Clobus who is working on making live images
> work reproducibly with the Reproducible build project.
>
> https://wiki.debian.org/DebianLive
>
> I see you're already contributing on the debian-live mailing list
> so should find the appropriate people there. highvoltage, of course,
> is also the Debian Project leader so is very busy with everything
> else and not necessarily debian-live build problems.
>
> >
> >
> > > So. What's my problem ?
> >
> > It could be that you try to squeeze the square block into the round hole.
> > Either eliminate Cubic from your proceedings or ask its developer via
> >   https://github.com/PJ-Singh-001/Cubic/issues
> >
> >
> > Have a nice day :)
> >
> > Thomas
> >
>
> With every good wish, as ever,
>
> Andy Cater
>
>

--
Mario.

--00000000000040657305eba5a5b2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>This is what I did. I gone into this folder : /home/z=
iomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot/ and I have renam=
ed the file &quot;initrd.gz&quot; into &quot;initrd_.gz&quot; and I&#39;ve =
burnt a new ISO image. I have soon realized that that file has been regener=
ated. The initrd_.gz file disappeared and a new initrd.gz file appeared whe=
n,in CUBIC,I have chosen which kernel bootstrap,as you can see here : <a hr=
ef=3D"https://ibb.co/Xy0nKtL" target=3D"_blank">https://ibb.co/Xy0nKtL</a> =
; So. I suppose that the file that I should alter is called &quot;initrd.im=
g-5.10.0-19-amd64&quot; because I have chosen that kernel version on the Cu=
bic tab. And this is what I tried to do,but it didn&#39;t work. This is the=
 commands that I have issued :<br></div><div><br></div><div><font size=3D"2=
">cd </font><span style=3D"font-family:monospace"><span style=3D"font-famil=
y:arial,sans-serif"><font size=3D"2"><span style=3D"color:rgb(0,0,0);backgr=
ound-color:rgb(255,255,255)">/home/ziomario/Scrivania/PassT-Cubic/Debian-ne=
w/custom-disk/boot</span></font></span><br></span></div><div><br></div><div=
>gunzip initrd.img-5.10.0-19-amd64.gz : has been produced a cpio file calle=
d :=C2=A0 initrd.img-5.10.0-19-amd64</div><div><span style=3D"font-family:m=
onospace"><span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)=
"><br></span></span></div><div><span style=3D"font-family:arial,sans-serif"=
><span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">mv <spa=
n style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">initrd.img-5=
.10.0-19-amd64 <span style=3D"color:rgb(0,0,0);background-color:rgb(255,255=
,255)">initrd.img-5.10.0-19-amd64_</span></span></span></span></div><div><s=
pan style=3D"font-family:monospace"><span style=3D"color:rgb(0,0,0);backgro=
und-color:rgb(255,255,255)"><br></span></span></div><div><span style=3D"fon=
t-family:arial,sans-serif"><span style=3D"color:rgb(0,0,0);background-color=
:rgb(255,255,255)">cpio -idv &lt; initrd.img-5.10.0-19-amd64_ : it has been=
 unpacked and then I&#39;ve copied the files inside a folder called <span s=
tyle=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">initrd.img-5.10=
.0-19-amd64</span></span></span></div><div><span style=3D"font-family:monos=
pace"><span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)"><b=
r></span></span></div><div>cd /home/ziomario/Scrivania/PassT-Cubic/Debian-n=
ew/custom-disk/boot/initrd.img-5.10.0-19-amd64/ </div><div><br></div><div>c=
p /usr/share/plymouth/debian-logo.png /home/ziomario/Scrivania/PassT-Cubic/=
Debian-new/custom-disk/boot/initrd.img-5.10.0-19-amd64/usr/share/plymouth/<=
/div><div><br></div><div>cp /usr/share/plymouth/themes/homeworld/debian.png=
  /home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot/initrd.i=
mg-5.10.0-19-amd64/usr/share/plymouth/themes/homeworld</div><div><br></div>=
<div>cp /usr/share/plymouth/themes/homeworld/logo.png  /home/ziomario/Scriv=
ania/PassT-Cubic/Debian-new/custom-disk/boot/initrd.img-5.10.0-19-amd64/usr=
/share/plymouth/themes/homeworld</div><div><br></div><div>mv initrd.img-5.1=
0.0-19-amd64 initrd.img-5.10.0-19-amd64-</div><div><br></div><div>cd /home/=
ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot/initrd.img-5.10.=
0-19-amd64-</div><div></div><div><br></div><div><span style=3D"font-family:=
monospace"><span style=3D"font-family:arial,sans-serif"><span style=3D"colo=
r:rgb(0,0,0);background-color:rgb(255,255,255)">find . -print -depth | cpio=
 -ov &gt; ../</span>initrd.img-5.10.0-19-amd64 : generated the cpio file ca=
lled initrd.img-5.10.0-19-amd64</span></span></div><div><br></div><div>cd .=
.</div><div><br></div><div>gzip <span style=3D"font-family:monospace"><span=
 style=3D"font-family:arial,sans-serif">initrd.img-5.10.0-19-amd64 : genera=
ted the gzip file called &quot;<span style=3D"font-family:monospace"><span =
style=3D"font-family:arial,sans-serif">initrd.img-5.10.0-19-amd64&quot;</sp=
an></span></span></span></div><div><span style=3D"font-family:monospace"><s=
pan style=3D"font-family:arial,sans-serif"><span style=3D"font-family:monos=
pace"><span style=3D"font-family:arial,sans-serif"><br></span></span></span=
></span></div><div><span style=3D"font-family:monospace"><span style=3D"fon=
t-family:arial,sans-serif"><span style=3D"font-family:monospace"><span styl=
e=3D"font-family:arial,sans-serif">cd /home/ziomario/Scrivania/PassT-Cubic/=
Debian-new/custom-root/boot/</span></span></span></span></div><div><span st=
yle=3D"font-family:monospace"><span style=3D"font-family:arial,sans-serif">=
<span style=3D"font-family:monospace"><span style=3D"font-family:arial,sans=
-serif"><br></span></span></span></span></div><div><span style=3D"color:rgb=
(0,0,0)"><span style=3D"font-family:monospace"><span style=3D"font-family:a=
rial,sans-serif"><span style=3D"font-family:monospace"><span style=3D"font-=
family:arial,sans-serif">mv <span style=3D"font-family:monospace"><span sty=
le=3D"font-family:arial,sans-serif"><span style=3D"font-family:monospace"><=
span style=3D"font-family:arial,sans-serif">initrd.img-5.10.0-19-amd64 <spa=
n style=3D"font-family:monospace"><span style=3D"font-family:arial,sans-ser=
if"><span style=3D"font-family:monospace"><span style=3D"font-family:arial,=
sans-serif">initrd.img-5.10.0-19-amd64_</span></span></span></span></span><=
/span></span></span></span></span></span></span></span><br></div><div><br><=
/div><div>cp <span style=3D"font-family:monospace"><span style=3D"font-fami=
ly:arial,sans-serif"><font size=3D"2"><span style=3D"color:rgb(0,0,0);backg=
round-color:rgb(255,255,255)">/home/ziomario/Scrivania/PassT-Cubic/Debian-n=
ew/custom-disk/boot/<span style=3D"color:rgb(0,0,0)"><span style=3D"font-fa=
mily:monospace"><span style=3D"font-family:arial,sans-serif"><span style=3D=
"font-family:monospace"><span style=3D"font-family:arial,sans-serif"><span =
style=3D"font-family:monospace"><span style=3D"font-family:arial,sans-serif=
"><span style=3D"font-family:monospace"><span style=3D"font-family:arial,sa=
ns-serif"><span style=3D"font-family:monospace"><span style=3D"font-family:=
arial,sans-serif"><span style=3D"font-family:monospace"><span style=3D"font=
-family:arial,sans-serif">initrd.img-5.10.0-19-amd64.gz  <span style=3D"fon=
t-family:monospace"><span style=3D"font-family:arial,sans-serif"><font size=
=3D"2"><span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">/=
home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-root/boot/</span></fo=
nt></span></span></span></span></span></span></span></span></span></span></=
span></span></span></span></span></span></font></span></span></div><div><sp=
an style=3D"font-family:monospace"><span style=3D"font-family:arial,sans-se=
rif"><font size=3D"2"><span style=3D"color:rgb(0,0,0);background-color:rgb(=
255,255,255)"><span style=3D"color:rgb(0,0,0)"><span style=3D"font-family:m=
onospace"><span style=3D"font-family:arial,sans-serif"><span style=3D"font-=
family:monospace"><span style=3D"font-family:arial,sans-serif"><span style=
=3D"font-family:monospace"><span style=3D"font-family:arial,sans-serif"><sp=
an style=3D"font-family:monospace"><span style=3D"font-family:arial,sans-se=
rif"><span style=3D"font-family:monospace"><span style=3D"font-family:arial=
,sans-serif"><span style=3D"font-family:monospace"><span style=3D"font-fami=
ly:arial,sans-serif"><span style=3D"font-family:monospace"><span style=3D"f=
ont-family:arial,sans-serif"><font size=3D"2"><span style=3D"color:rgb(0,0,=
0);background-color:rgb(255,255,255)"><br></span></font></span></span></spa=
n></span></span></span></span></span></span></span></span></span></span></s=
pan></span></span></font></span></span></div><div><span style=3D"font-famil=
y:monospace"><span style=3D"font-family:arial,sans-serif"><font size=3D"2">=
<span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)"><span st=
yle=3D"color:rgb(0,0,0)"><span style=3D"font-family:monospace"><span style=
=3D"font-family:arial,sans-serif"><span style=3D"font-family:monospace"><sp=
an style=3D"font-family:arial,sans-serif"><span style=3D"font-family:monosp=
ace"><span style=3D"font-family:arial,sans-serif"><span style=3D"font-famil=
y:monospace"><span style=3D"font-family:arial,sans-serif"><span style=3D"fo=
nt-family:monospace"><span style=3D"font-family:arial,sans-serif"><span sty=
le=3D"font-family:monospace"><span style=3D"font-family:arial,sans-serif"><=
span style=3D"font-family:monospace"><span style=3D"font-family:arial,sans-=
serif"><font size=3D"2"><span style=3D"color:rgb(0,0,0);background-color:rg=
b(255,255,255)">size of the new (initrd.img-5.10.0-19-amd64) file is 178.4=
=C2=A0MiB (187,099,720 byte),of the old one is : 78.8=C2=A0MiB (82,661,551 =
byte) ; so probably there is something not good if the sizes are so differe=
nt ?=C2=A0 </span></font></span></span></span></span></span></span></span><=
/span></span></span></span></span></span></span></span></span></font></span=
></span><span style=3D"font-family:monospace"></span></div><div><div><span =
style=3D"font-family:monospace"><span style=3D"font-family:arial,sans-serif=
"><span style=3D"font-family:monospace"><span style=3D"font-family:arial,sa=
ns-serif"><span style=3D"font-family:monospace"><span style=3D"font-weight:=
bold;color:rgb(255,84,84);background-color:rgb(255,255,255)"><br></span></s=
pan></span></span></span></span></div><div><span style=3D"font-family:monos=
pace"><span style=3D"font-family:arial,sans-serif"><span style=3D"font-fami=
ly:monospace"><span style=3D"font-family:arial,sans-serif">Anyway,I&#39;ve =
burned a new ISO image with cubic and I&#39;ve tried to boot it,but I&#39;v=
e got the following error : <a href="" href="https://ibb.co/GCBFcpK" rel="noreferrer noreferrer" target="_blank">https://ibb.co/GCBFcpK">https://ibb.=
co/GCBFcpK</a></span></span></span></span></div><div><br></div><div><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Il giorno sab 22 =
ott 2022 alle ore 18:02 Andrew M.A. Cater &lt;<a href="" href="mailto:amacater@ei" target="_blank" rel="noreferrer">amacater@ei=
nval.com" target=3D"_blank">amacater@einval.com</a>&gt; ha scritto:<br></di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde=
r-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, Oct 22, 2022 at=
 05:13:18PM +0200, Thomas Schmitt wrote:<br>
&gt; Hi,<br>
&gt; <br>
&gt; Mario Marietto wrote:<br>
&gt; &gt; I&#39;m trying to change the pictures inside the /live/initrd.gz =
file.<br>
&gt; <br>
&gt; I really wonder where this file comes from.<br>
&gt; <br>
&gt; <br>
&gt; &gt; BUT after having &quot;burned&quot; another ISO image using Cubic=
,I&#39;ve seen that it<br>
&gt; &gt; still uses the old images that I have previously added inside the=
<br>
&gt; &gt; /live/initrd file. I don&#39;t understand why ? It seems that thi=
s file is<br>
&gt; &gt; re-generated taking the files from somewhere else.<br>
&gt; <br>
&gt; Prime suspect would be Cubic. The &quot;u&quot; in in its name means &=
quot;Ubuntu&quot;.<br>
&gt; So it probably makes assumptions which the Debian Live ISO does not<br=
>
&gt; fulfill. Did you follow the advise of &quot;Cubic PPA (cubic-wizard)&q=
uot; in<br>
&gt;=C2=A0 =C2=A0<a href="" href="https://answers.launchpad.net/cubic/+question/7=" rel="noreferrer noreferrer" target="_blank">https://answers.launchpad.net/cubic/+question/7=
03422" rel=3D"noreferrer" target=3D"_blank">https://answers.launchpad.net/c=
ubic/+question/703422
</a><br>
&gt; to ask your question on the &quot;official web site&quot; ?<br>
&gt; <br>
&gt; <br>
<br>
Further to this: if you are dealing with Debian-live images as your base,<b=
r>
use Debian tools. If you&#39;re dealing with Ubuntu images use Ubuntu-based=
<br>
PPAs. In general, they really don&#39;t mix - to the extent that there&#39;=
s<br>
a whole section on the Debian wiki to this effect.<br>
<br>
<a href="" href="https://wiki.debian.org/DontBreakDebian" rel="noreferrer noreferrer" target="_blank">https://wiki.debian.org/DontBreakDebian" rel=3D"noreferrer" targ=
et=3D"_blank">https://wiki.debian.org/DontBreakDebian</a><br>
<br>
The number of people working on Debian-live images at any one time is<br>
small: if you can&#39;t raise anyone, then I might also suggest having<br>
a chat with Roland Clobus who is working on making live images <br>
work reproducibly with the Reproducible build project.<br>
<br>
<a href="" href="https://wiki.debian.org/DebianLive" rel="noreferrer noreferrer" target="_blank">https://wiki.debian.org/DebianLive" rel=3D"noreferrer" target=3D=
"_blank">https://wiki.debian.org/DebianLive</a><br>
<br>
I see you&#39;re already contributing on the debian-live mailing list<br>
so should find the appropriate people there. highvoltage, of course,<br>
is also the Debian Project leader so is very busy with everything<br>
else and not necessarily debian-live build problems.<br>
<br>
&gt; <br>
&gt; <br>
&gt; &gt; So. What&#39;s my problem ?<br>
&gt; <br>
&gt; It could be that you try to squeeze the square block into the round ho=
le.<br>
&gt; Either eliminate Cubic from your proceedings or ask its developer via<=
br>
&gt;=C2=A0 =C2=A0<a href="" href="https://github.com/PJ-Singh-001/Cubic/issues" rel="noreferrer noreferrer" target="_blank">https://github.com/PJ-Singh-001/Cubic/issues" r=
el=3D"noreferrer" target=3D"_blank">https://github.com/PJ-Singh-001/Cubic/i=
ssues</a><br>
&gt; <br>
&gt; <br>
&gt; Have a nice day :)<br>
&gt; <br>
&gt; Thomas<br>
&gt;<br>
<br>
With every good wish, as ever,<br>
<br>
Andy Cater <br>
<br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr">Mario.<br>=
</div></div></div></div>

--00000000000040657305eba5a5b2--

Reply to: