Re: Making a test version of Bullseye as a GCE image available?

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

 



Niltze [Hello]-

On Mon, 2021-03-22 at 13:52 -0400, Theodore Ts'o wrote:
> Hey, now that we've hit hard freeze for Bullseye, I was hoping that
> perhaps we could start making a GCE image for Debian-11 availble?
> 
> For Debian 10, a few months before it was released, there was a test
> image that was made available in the debian-cloud-testing project:
> 
> % gcloud compute images --project debian-cloud-testing list --no-
> standard-images
> NAME                        PROJECT               FAMILY     
> DEPRECATED  STATUS
> debian-10-buster-v20191205  debian-cloud-testing  debian-
> 10               READY
> debian-sid-v20190812        debian-cloud-testing  debian-
> sid              READY
> 
> Perhaps it would make sense to make an image for Bullseye in
> debian-cloud-testing, so it doesn't accidentally get picked up and
> used in production environments before Bullseye gets released as
> Debian Stable?
> 
> I've never built a GCE image from scratch before, but if someone
> wants
> to point me at the instructions, I'm happy to give it a try,
You may want to refer to GCE documentation:
< https://cloud.google.com/compute/docs/images/building-custom-os >

And for the Linux guest tools:
<
https://cloud.google.com/compute/docs/images/install-guest-environment
>

Note, however, that when I built reiser4 SFRN 4 -enabled 5.10.23 kernel
for Debian 11 Bullseye a few days ago, I had to use the guest
environment for Debian 10 Buster since there was not even a repo for
bullseye 
< https://github.com/GoogleCloudPlatform/compute-image-packages > to
include in /etc/apt/sources.list.d/google-cloud.list

So it seems your request cought the GCE developers, essentially, 'with
their pants down' since -- as of today, at least -- there is only an
empty Google Bullseye repo on their side.

Notwithstanding, the Buster Linux env. was enough for my Bullseye
Debian Reiser -enhanced image for PoC/testing. If you care to give it a
spin, you may import the TARred file to create your own image -- from
which to generate your own GCE instances -- with a suggestion like
this:
gcloud compute images create reiser4-bullseye-v20210325 --
family="debian-11-reiser4" --source-uri
g://metztli.it/bullseye_disk_raw.tar.gz

After a successful reference image creation, your may spin up your
instance(s), with similar as:
gcloud compute instances create [instance-name] --custom-cpu=[X] --
custom-memory=[Y]GB --metadata-from-file startup-script=./reghostkey.sh
--tags [your tag] --image reiser4-bullseye-v20210325 --boot-disk-
size=200GB  --zone [your-preferred-zone]

where ./reghostkey.sh contains something like:
------------------------------
#! /bin/bash
# Regenerates deleted host keys upon Bullseye GCE image first boot
sudo su -
apt-get update
dpkg-reconfigure --frontend=noninteractive openssh-server
##/etc/init.d/ssh restart
systemctl try-reload-or-restart ssh
-----------------------------------------

and the boot image size is 200GB -- indeed, we do not have resizing
feature at the moment. I operate with that minimum Google -recommended
disk storage capacity when possible.

The GPT hybrid boot image was modified with Gdisk utility and it boots
from JFS /boot, has a ~3Gig swap, and the rest is reiser4 SFRN 4.0.2 -
formatted. A seven(7) minute overview may be found at either of these
two links:

< https://youtu.be/WvieIZNH8KM >

< https://metztli.blog/amatl/aS4 >


As for building your own images, you may start with these excellent
bare-bones instructions in this video by a Google dame engineer:
'How to build a custom image for Compute Engine'
< https://youtu.be/YlcR6ZLebTM >

>  and would
> be willing to help with updating the debian-cloud-testing project.
> 
> Thanks!!
> 
>                                         - Ted
> 

Best Professional Regards.

P.S. Someone tell Mr. Andrew Morton that it is time for him to update
his reiser4 Linux source tree hack to version 5.10.x -- as that
statement "is so 2006":
'more speculative things which aren't intended for mainline in the
short-term, such as new filesystems (eg #reiser4).'

<
https://www.networkworld.com/article/2280848/kernel-space--interview-with-andrew-morton.html
>

-- 
-- 
Jose R R
http://metztli.it
-----------------------------------------------------------------------
----------------------
Download Metztli Reiser4: Debian Buster w/ Linux 5.9.16 AMD64
-----------------------------------------------------------------------
----------------------
feats ZSTD compression https://sf.net/projects/metztli-reiser4/
-----------------------------------------------------------------------
----------------------
or SFRN 5.1.3, Metztli Reiser5 https://sf.net/projects/debian-reiser4/
-----------------------------------------------------------------------
--------------------
Official current Reiser4 resources: https://reiser4.wiki.kernel.org/





[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux