From: Jose R R <Jose.r.r@metztli-it.com>
To: ReiserFS Development List <reiserfs-devel@vger.kernel.org>
Subject: Fwd: Reiser4-enabled Debian Unstable (Sid) netboot iso
Date: Mon, 11 Jan 2016 03:46:58 -0800 [thread overview]
Message-ID: <CAM12Q5SP+t1cF0gb_ROLvufhnUgO5_FSR1SNKjG--bikRTPSQg@mail.gmail.com> (raw)
In-Reply-To: <CAM12Q5Tj3xgN5izBa0jA8Mn1Mu7-RqRKTmStoNUfmJNtb=EtNA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 6351 bytes --]
---------- Forwarded message ----------
From: Jose R R <Jose.r.r@metztli-it.com>
Date: Mon, Jan 11, 2016 at 3:43 AM
Subject: Fwd: Reiser4-enabled Debian Unstable (Sid) netboot iso
To: ReiserFS Development List <reiserfs-devel@vger.kernel.org>
---------- Forwarded message ----------
From: Jose R R <Jose.r.r@metztli-it.com>
Date: Mon, Jan 11, 2016 at 3:42 AM
Subject: Re: Reiser4-enabled Debian Unstable (Sid) netboot iso
To: ReiserFS Development List <reiserfs-devel@vger.kernel.org>,
debian-boot@lists.debian.org, debian-cloud
<debian-cloud@lists.debian.org>
(Bonus) Reiser4 version 4.0.1 -enabled patch for Debian Linux kernel packaging:
On Wed, Jan 6, 2016 at 2:19 AM, Jose R R <Jose.r.r@metztli-it.com> wrote:
> Niltze, all-
>
> I have been building iterations of Debian-Installer (d-i) enhanced
> with Reiser4 4.0.1 kernel, disk and filesystem utilities. Thus far I
> have used a local build on Debian Sid of VirtualBox 5.0.10 environment
> to test multiple Reiser4 installations.
>
> For flexibility, especially if you are testing in a VM, the following
> d-i options may help:
>
> -Network-console: continue installation remotely using SSH
> -Openssh-client-udeb: secure shell client for the Debian installer
>
> Now:
>
> d-i offers three(3) choices:
>
> Jessie (stable)
> Stretch (testing)
> Sid (unstable)
>
> I have verified that *all* can be installed from my custom Reiser4
> d-i; Nevertheless Jessie (stable) needs access to testing and/or
> unstable repositories added at /etc/apt/sources.list in order to
> fulfill dependencies of the unstable kernel in my d-i. Jessie (stable)
> also needs to have newer Reiser4 4.0.1 packages because d-i downloads
> the older (stable) version. I have covered *all* of Jessie conditions
> by building newer unstable versions of its requirements. The downside
> of it is that a user needs to manually intervene at the shell,
> possibly at the expert level.
>
> As for Stretch and Sid, manual intervention is required only to modify
> /etc/initramfs-tools/modules file by adding at the end:
>
> crc32c_intel
> reiser4
>
> *before* installing the custom Reiser4 kernel, thus:
> dpkg -i linux-image-4.3.0-1-amd64_4.3.3-5_amd64.deb
>
> so that initramfs can be appropriately updated *before* rebooting the
> new Reiser4 installation.
>
> Note that GRUBX does not support booting from /boot Reiser4
> filesystem; accordingly, a small partition must be provisioned for
> booting into a Reiser4 -formatted root (/) partition. The d-i
> partman-reiser4 will format Reiser4 partitions thus:
>
> mkfs.reiser4 -yo "create=reg40" <your selected partition>
>
> Additionally, user may want to provision a /tmp in a non-Reiser4
> partition if the intention is to run MariaDB (MySQL) because -- at the
> very least -- the DB will complain about /tmp issues if it is
> formatted in Reiser4 --personal experience ;-)
>
> With the above said and warning that this is an alpha effort *without*
> any explicit and/or implied guarantee that will be risk-free, here is
> the current yield of of Reiser4 effort:
>
> Reiser4 -enabled Debian-Installer (d-i) netboot mini.iso renamed as:
> http://metztli.it/readOnlyEphemeral//metztli_it-reiser4_d-i.iso
>
> Reiser4 -enabled kernel & modules.README_1st:
> http://metztli.it/readOnlyEphemeral/linux-image-4.3.0-1-amd64_4.3.3-5_amd64.tar
>
> Reiser4 -enabled Debian GNU Parted packages (install at the end of
> installation procedure); please note that those packages under
> reiser4-parted_3.2-12/misc are optional):
> http://metztli.it/readOnlyEphemeral/reiser4-parted_3.2-12.tar
> (after untarring above referenced, install as)
> cd reiser4-parted_3.2-12
> dpkg -i parted_3.2-12_amd64.deb libparted2_3.2-12_amd64.deb
>
> Next resource is only needed if Jessie was installed. Package below
> will replace the older Reiser4 file utilities:
> http://metztli.it/readOnlyEphemeral/reiser4progs-4.0.1.tar
>
> Although I have created patches for most (or all ;-) of the above at
> GitHub, I realize Debian Unstable (Sid) is a fast moving development
> effort and within a couple of weeks the kernel referenced above will
> be outdated and d-i will refuse to install.
>
> With the previous statement said, and if anyone is willing, try the
> above Debian-Installer (d-i) resources while the kernel is fresh...
>
> Feedback and/or suggestions welcome.
>
>
> Best Professional Regards
>
>
> P.S I am already preparing some images for Google Compute Engine (GCE)
> < https://cloud.google.com/compute/ > to add to currently testing
> Reiser4 images created last year.
> --
Based on building a Reiser4 4.0.1 -patched Linux kernel the 'debian
way' (hack, literally -- but it works ;-) prior post:
https://metztli.it/blog/index.php/aH0?blog=4
Creates Reiser4 4.0.1 kernel module UDEB suitable for inclusion into
Debian-Installer (d-i); please, note that, as explained in the
referenced blog above, /usr/share/kernel-wedge/package-list
must also be modified in addition to this patch below attached:
--
Jose R R
http://metztli.it
---------------------------------------------------------------------------------------------
Try at no charge http://b2evolution.net for http://OpenShift.com PaaS
---------------------------------------------------------------------------------------------
from our GitHub http://Nepohualtzintzin.com repository. Cloud the easy way!
---------------------------------------------------------------------------------------------
--
Jose R R
http://metztli.it
---------------------------------------------------------------------------------------------
Try at no charge http://b2evolution.net for http://OpenShift.com PaaS
---------------------------------------------------------------------------------------------
from our GitHub http://Nepohualtzintzin.com repository. Cloud the easy way!
---------------------------------------------------------------------------------------------
--
Jose R R
http://metztli.it
---------------------------------------------------------------------------------------------
Try at no charge http://b2evolution.net for http://OpenShift.com PaaS
---------------------------------------------------------------------------------------------
from our GitHub http://Nepohualtzintzin.com repository. Cloud the easy way!
---------------------------------------------------------------------------------------------
[-- Attachment #2: 0001-Reiser4-support-for-Debian-AMD64-packaging-to-genera.patch --]
[-- Type: application/octet-stream, Size: 2559 bytes --]
From ceae978f3570a4c3fde30cb4317e2ad67f67c1bf Mon Sep 17 00:00:00 2001
From: Metztli <jose.rodriguez@metztli-it.com>
Date: Sun, 20 Dec 2015 22:16:36 -0800
Subject: [PATCH] Reiser4 support for Debian AMD64 packaging to generate kernel
reiser4-module
---
debian/config/amd64/defines | 2 +-
debian/installer/amd64/modules/amd64/reiser4-modules | 1 +
debian/installer/amd64/package-list | 3 +++
debian/installer/modules/reiser4-modules | 1 +
debian/installer/package-list | 6 ++++++
5 files changed, 12 insertions(+), 1 deletion(-)
create mode 100644 debian/installer/amd64/modules/amd64/reiser4-modules
create mode 100644 debian/installer/modules/reiser4-modules
diff --git a/debian/config/amd64/defines b/debian/config/amd64/defines
index 224defc..55dc7d0 100644
--- a/debian/config/amd64/defines
+++ b/debian/config/amd64/defines
@@ -6,7 +6,7 @@ featuresets:
kernel-arch: x86
[build]
-debug-info: true
+debug-info: false
image-file: arch/x86/boot/bzImage
[image]
diff --git a/debian/installer/amd64/modules/amd64/reiser4-modules b/debian/installer/amd64/modules/amd64/reiser4-modules
new file mode 100644
index 0000000..9373ef1
--- /dev/null
+++ b/debian/installer/amd64/modules/amd64/reiser4-modules
@@ -0,0 +1 @@
+#include <reiser4-modules>
diff --git a/debian/installer/amd64/package-list b/debian/installer/amd64/package-list
index 322f816..3bf777d 100644
--- a/debian/installer/amd64/package-list
+++ b/debian/installer/amd64/package-list
@@ -4,6 +4,9 @@
# It overwrites specifications from /usr/share/kernel-wedge/package-list.
#
+Package: reiser4-modules
+Priority: standard
+
Package: fat-modules
Priority: standard
diff --git a/debian/installer/modules/reiser4-modules b/debian/installer/modules/reiser4-modules
new file mode 100644
index 0000000..70ddae4
--- /dev/null
+++ b/debian/installer/modules/reiser4-modules
@@ -0,0 +1 @@
+reiser4
diff --git a/debian/installer/package-list b/debian/installer/package-list
index e79890b..9721040 100644
--- a/debian/installer/package-list
+++ b/debian/installer/package-list
@@ -137,6 +137,12 @@ Priority: standard
Description: JFS filesystem support
This package contains the JFS filesystem module for the kernel.
+Package: reiser4-modules
+Depends: kernel-image, crc-modules
+Priority: extra
+Description: Reiser4 filesystem support
+ This package contains the Reiser4 filesystem module for the kernel.
+
Package: ntfs-modules
Depends: kernel-image, nls-core-modules
Priority: extra
--
2.6.4
prev parent reply other threads:[~2016-01-11 11:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-06 10:19 Reiser4-enabled Debian Unstable (Sid) netboot iso Jose R R
2016-01-06 12:21 ` dimas
2016-01-06 13:42 ` Jose R R
2016-01-06 15:20 ` dimas
2016-01-08 9:38 ` Jose R R
2016-01-07 8:11 ` Jose R R
2016-01-08 18:32 ` dimas
2016-01-09 3:07 ` Jose R R
[not found] ` <20160111084732.48bf9447@multivac.localdomain>
[not found] ` <20160111062221.GC23329@mraw.org>
[not found] ` <20160111190158.58dc383f@multivac.localdomain>
2016-01-12 8:34 ` Jose R R
2016-01-11 10:28 ` Jose R R
2016-01-11 10:39 ` Jose R R
2016-01-11 10:52 ` Jose R R
2016-01-11 11:42 ` Jose R R
[not found] ` <CAM12Q5Tj3xgN5izBa0jA8Mn1Mu7-RqRKTmStoNUfmJNtb=EtNA@mail.gmail.com>
2016-01-11 11:46 ` Jose R R [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAM12Q5SP+t1cF0gb_ROLvufhnUgO5_FSR1SNKjG--bikRTPSQg@mail.gmail.com \
--to=jose.r.r@metztli-it.com \
--cc=reiserfs-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).