All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Brulebois <kibi@debian.org>
To: Jose R R <Jose.r.r@metztli-it.com>
Cc: Ben Hutchings <ben@decadent.org.uk>,
	debian-boot@lists.debian.org,
	ReiserFS Development List <reiserfs-devel@vger.kernel.org>
Subject: Re: "No kernel modules were found" netboot d-i with custom reiser4 kernel.
Date: Wed, 29 Jul 2015 17:00:45 +0200	[thread overview]
Message-ID: <20150729150045.GC23647@mraw.org> (raw)
In-Reply-To: <CAM12Q5Sh659WuFmOccHdsnFRhdNiKfk9iri9mO1AkJQmHnY2eQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1997 bytes --]

Hi,

Jose R R <Jose.r.r@metztli-it.com> (2015-07-29):
> Niltze, all-
> 
> Building kernel the 'Debian way':
> 
> Replaced abi string at debian/config/defines (from default value of 2)
> to a more descriptive string:
> 
> [abi]
> abiname: reiser4
> 
> (guided by hint that debian devs sometimes set abiname string "trunk")
> 
> Everything builds beautifully, especially UDEBs for modules/kernel
> like couple shown below:
> [...]
> 
> 3.7M  kernel-image-4.0.0-reiser4-amd64-di_4.0.8-2_amd64.udeb
> 34M   linux-image-4.0.0-reiser4-amd64_4.0.8-2_amd64.deb
> 
> Once kernel build is finished, I place the approxiamately 54 generated
> UDEBs at the installer/build/localudebs directory and modify
> installer/build/config/amd64.cfg
> 
> # The version of the kernel to use.
> ## KERNELVERSION = $(LINUX_KERNEL_ABI)-amd64
> KERNELVERSION = 4.0.0-reiser4-amd64
> ## KERNELMAJOR = 2.6
> KERNELMAJOR = 4.0
> KERNELNAME = vmlinuz
> 
> save modifications and execute command:
> make build_netboot-gtk
> 
> The resulting netboot d-i iso image uses the custom kernel to start
> the Debian installation -- as can be verified by executing in an
> alternate shell: uname -a:
> Linux [host] 4.0.0-reiser4-amd64 #1 SMP Debian 4.0.8-2 (2015-07-22)
> x86_64 GNU/Linux;
> 
> nevertheless stops at 'no kernel modules were found' and thus d-i can
> not proceed further to install custom built kernel with reiser4
> built-into-the-kernel support -- much less to detect/format a
> disk/partition win Reiser4.
> 
> https://pbs.twimg.com/media/CK-ZehmUwAAjx-V.png:large
> 
> Any insight provided will be appreciated. Thanks in advance.

Stuff you put under localudebs/ is only used to replace/complement
what's in the archive if something pulls it in. You probably want to
add some packages to some list under build/pkg-lists.

There's also a monolithic target you could use to bundle almost
everything into your image. This is a bigger hammer though.

Mraw,
KiBi.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-07-29 15:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29 14:52 "No kernel modules were found" netboot d-i with custom reiser4 kernel Jose R R
2015-07-29 15:00 ` Cyril Brulebois [this message]
2015-07-31  5:49   ` Jose R R
2015-08-13  9:45     ` Jose R R
2015-08-13 10:20       ` Ben Hutchings
2015-08-24  8:15         ` Jose R R

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=20150729150045.GC23647@mraw.org \
    --to=kibi@debian.org \
    --cc=Jose.r.r@metztli-it.com \
    --cc=ben@decadent.org.uk \
    --cc=debian-boot@lists.debian.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.