Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #14196

Re: Learning about the Kernal

From ruben safir <dont@email.me>
Newsgroups comp.os.linux.misc
Subject Re: Learning about the Kernal
Date 2015-03-21 20:10 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <mekj89$evu$12@reader1.panix.com> (permalink)
References (5 earlier) <me9cie$naj$1@dont-email.me> <me9qf3$7dv$1@reader1.panix.com> <me9tlb$2hn$1@dont-email.me> <mej9l9$evu$1@reader1.panix.com> <mek54f$1ob$1@dont-email.me>

Show all headers | View raw


On Sat, 21 Mar 2015 16:09:51 +0000, Rich wrote:

> Go install a copy of Slackware into your VM.  Slackware does not require
> an initramfs, and will happly install and boot a plain kernel compiled
> binary blob.
> 

I'm actually considering that.  I still have one or two slack boxes on 
ADM A4s here.  They are teaching boxes mostly.

There is in the Manjaro package for the kernel the instructions in the 
shell that create the kernel.  They run:

post_install () {
# updating module dependencies
echo ">>> Updating module dependencies. Please wait ..."
depmod ${KERNEL_VERSION}
echo ">>> Generating initial ramdisk, using mkinitcpio. Please wait..."
mkinitcpio -p linux${BASEVER}

and then
 if [ -f /usr/sbin/update-grub ]; then
update-grub


So essentially then run a depmod on the kernel version, which is what I 
was especting and seemingly missing in other documentation

adn then it makes the initramfs with a file that I'm not sure how it was 
produced

man mkinitcpio

   -p, --preset preset
     Build initramfs image(s) according to specified preset. This may be
     a file in /etc/mkinitcpio.d (without the .preset extension) or a
     full, absolute path to a file. This option may be specified
     multiple times to process multiple presets.

[ruben@stat13 ~]$ ls /etc/mkinitcpio.d/
linux310.preset  linux314.preset  linux319.preset

where these come from, I don't know.  It is yet another level of uneeded 
obstruction.

The whole initiation ram disk is something I'm struggling with at this 
point.  It has gone from a conveinence for booting to another level, 
especially with systemd.  I have a quote from another user that sums it 
up like this:

QUOTE:

Mind you that an initramfs (or initrd) isn't really necessary under all
conditions.  An initramfs /might be necessary/ if you're using a
distribution which uses systemd rather than sysvinit or a sysvinit-based
init system *and* you have /usr on an separate filesystem, or you have the
root filesystem on an LVM volume ─ in which case, you would need a
separate /boot as GRUB doesn't understand LVM.  The initramfs created with
dracut will then contain the necessary tools to mount /usr and/or support
LVM.

Likewise, the kernel does not support LABELs or UUIDs, so if you want to
use those in GRUB, you'll need to create an initramfs, which has the tools
necessary to handle LABELs and UUIDs.  On the other hand, if you have a
GPT partition table, then the kernel command line does support PARTUID,
i.e. the *GPT partition UUID,* which is a different thing from the
*filesystem UUID.*



> You 'can' create an initramfs, if you want one, for Slackware, but you
> are not forced down that path by default up front.
> 
> Plus, you can just download a kernel.org kernel, configure it using
> 'make oldconfig' with the installed Slackware .config file, compile it,
> and boot it straight away, no fuss, no muss.


Any distro should be capable of doing that :)

Maybe I should just call Patrick.

Ruben
-- 
The Coin Hangout: http://www.coinhangout.com/home

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Learning about the Kernal ruben safir <ruben@mrbrklyn.com> - 2015-03-14 19:59 -0400
  Re: Learning about the Kernal Xavier Roche <xroche@free.fr.NOSPAM.invalid> - 2015-03-15 11:11 +0100
    Re: Learning about the Kernal ruben <nowhere@nowhere.nor> - 2015-03-15 21:14 +0000
      Re: Learning about the Kernal Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-03-16 10:02 +0200
        Re: Learning about the Kernal Ruben Safir <mrbrklyn@panix.com> - 2015-03-17 00:18 +0000
          Re: Learning about the Kernal Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2015-03-16 20:53 -0700
            Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-17 05:14 +0000
            Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-17 05:23 +0000
      Re: Learning about the Kernal Dan Espen <despen@verizon.net> - 2015-03-16 21:58 -0400
        Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-17 05:21 +0000
          Re: Learning about the Kernal Rich <rich@example.invalid> - 2015-03-17 10:51 +0000
          Re: Learning about the Kernal Dan Espen <despen@verizon.net> - 2015-03-17 09:10 -0400
            Re: Learning about the Kernal ruben safir <ruben@mrbrklyn.com> - 2015-03-17 14:12 -0400
              Re: Learning about the Kernal William Unruh <unruh@invalid.ca> - 2015-03-17 19:03 +0000
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-17 19:08 +0000
                Re: Learning about the Kernal Dan Espen <despen@verizon.net> - 2015-03-17 15:17 -0400
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-20 01:06 +0000
                Re: Learning about the Kernal Dan Espen <despen@verizon.net> - 2015-03-19 23:52 -0400
                Re: Learning about the Kernal Rich <rich@example.invalid> - 2015-03-20 10:52 +0000
                Re: Learning about the Kernal Jerry Peters <jerry@example.invalid> - 2015-03-20 20:33 +0000
                Re: Learning about the Kernal ruben safir <ruben@mrbrklyn.com> - 2015-04-20 09:48 -0400
              Re: Learning about the Kernal Dan Espen <despen@verizon.net> - 2015-03-17 15:08 -0400
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-18 03:36 +0000
                Re: Learning about the Kernal Dan Espen <despen@verizon.net> - 2015-03-18 10:09 -0400
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-20 01:04 +0000
                Re: Learning about the Kernal Rich <rich@example.invalid> - 2015-03-20 10:58 +0000
                Re: Learning about the Kernal Dan Espen <despen@verizon.net> - 2015-03-20 09:22 -0400
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-20 18:39 +0000
                Re: Learning about the Kernal Rich <rich@example.invalid> - 2015-03-20 20:04 +0000
                Re: Learning about the Kernal Dan Espen <despen@verizon.net> - 2015-03-20 21:10 -0400
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-21 05:03 +0000
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-20 18:42 +0000
                Re: Learning about the Kernal Dan Espen <despen@verizon.net> - 2015-03-20 15:31 -0400
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-21 05:13 +0000
                Re: Learning about the Kernal The Natural Philosopher <tnp@invalid.invalid> - 2015-03-21 09:13 +0000
                Re: Learning about the Kernal ruben <nowhere@nowhere.nor> - 2015-03-21 14:40 +0000
                Re: Learning about the Kernal Michael Black <et472@ncf.ca> - 2015-03-21 12:20 -0400
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-21 19:54 +0000
                Re: Learning about the Kernal Baho Utot <baho-utot@columbus.rr.com> - 2015-03-21 17:56 -0400
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-21 19:56 +0000
                Re: Learning about the Kernal Richard Kettlewell <rjk@greenend.org.uk> - 2015-03-21 16:18 +0000
          Re: Learning about the Kernal Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-03-17 16:10 +0200
            Re: Learning about the Kernal ruben safir <ruben@mrbrklyn.com> - 2015-03-17 14:06 -0400
              Re: Learning about the Kernal William Unruh <unruh@invalid.ca> - 2015-03-17 19:00 +0000
                Re: Learning about the Kernal Tim Watts <tw_usenet@dionic.net> - 2015-03-17 19:05 +0000
                Re: Learning about the Kernal Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2015-03-17 14:17 -0700
                Re: Learning about the Kernal William Unruh <unruh@invalid.ca> - 2015-03-19 06:04 +0000
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-21 08:45 +0000
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-21 08:20 +0000
                Re: Learning about the Kernal Rich <rich@example.invalid> - 2015-03-21 16:09 +0000
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-21 20:10 +0000
              Re: Learning about the Kernal Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-03-17 22:39 +0200
          Re: Learning about the Kernal Chick Tower <c.tower@deadspam.com> - 2015-03-18 03:35 +0000
            Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-21 08:47 +0000
              Re: Learning about the Kernal Jerry Peters <jerry@example.invalid> - 2015-03-21 20:19 +0000
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-21 20:30 +0000
                Re: Learning about the Kernal Jerry Peters <jerry@example.invalid> - 2015-03-22 20:05 +0000
                Re: Learning about the Kernal ruben safir <ruben@mrbrklyn.com> - 2015-03-23 01:16 -0400
                Re: Learning about the Kernal Jerry Peters <jerry@example.invalid> - 2015-03-23 20:27 +0000
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-25 02:57 +0000
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-25 02:59 +0000
                Re: Learning about the Kernal Jerry Peters <jerry@example.invalid> - 2015-03-25 20:59 +0000
                Re: Learning about the Kernal ruben safir <ruben@mrbrklyn.com> - 2015-04-20 09:44 -0400
                Re: Learning about the Kernal Aragorn <thorongil@telenet.be.invalid> - 2015-03-22 00:07 +0100
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-22 00:07 +0000
                Re: Learning about the Kernal Aragorn <thorongil@telenet.be.invalid> - 2015-03-22 01:13 +0100
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-22 03:11 +0000
                Re: Learning about the Kernal Aragorn <thorongil@telenet.be.invalid> - 2015-03-22 04:20 +0100
                Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-22 13:19 +0000
                Re: Learning about the Kernal Rich <rich@example.invalid> - 2015-03-22 15:13 +0000
                Re: Learning about the Kernal Aragorn <thorongil@telenet.be.invalid> - 2015-03-22 21:52 +0100
                Re: Learning about the Kernal Jerry Peters <jerry@example.invalid> - 2015-03-22 20:13 +0000
                Re: Learning about the Kernal Aragorn <thorongil@telenet.be.invalid> - 2015-03-22 22:01 +0100
              Re: Learning about the Kernal Chick Tower <c.tower@deadspam.com> - 2015-03-23 04:02 +0000
                Re: Learning about the Kernal Aragorn <thorongil@telenet.be.invalid> - 2015-03-23 05:13 +0100
                Re: Learning about the Kernal ruben <ceo@iran.gov> - 2015-04-12 13:03 +0000
      Re: Learning about the Kernal ruben safir <dont@email.me> - 2015-03-17 05:18 +0000
      Re: Learning about the Kernal ruben safir <ruben@mrbrklyn.com> - 2015-03-17 01:52 -0400

csiph-web