Steve Litt:
> On Sat, 02 Jan 2016 18:35:29 +0000
> Rainer Weikusat <rainerweikusat@???> wrote:
>
> > Steve Litt <slitt@???> writes:
>
> > > Why does everyone think I was advocating the banishment of
> > > initramfs? Go back to my initial post and you'll see I was
> > > suggesting a way to give the owner/admin a *choice* to go without
> > > initramfs.
> >
> > You already have that choice, you just need to exercise it: Compile a
> > kernel which can mount 'your' root filesystem without the help of
> > additional userspace software, be it for loading modules or for
> > additional configuration, and use that: No initsomething needed.
> >
> > In fact, that's exactly the configuration I've been using 'since
> > ever'.
>
> Where can I find documentation on how to do this? The last time I
> compiled a kernel was probably in the 20th century, so I imagine things
> have changed.
It should be something like:
download your kernel from your favourite site, e.g.
ftp:
ftp.sunet.se/pub/Linux/kernels/
unpack
cd <unpacked dir>
make menuconfig
make
make install
make modules_install
> You mention that you recompile your kernel. What do you do every time
> apt-get upgrade brings you a new kernel?
install your own kernel
ch. bootloader to load your kernal
reboot
uninstall debian kernel
> Do you re-recompile? If so, do
> you have some sort of file containing all your choices so it's easy?
I think make menuconfig et al. pulls in the current kernels config,
just make sure you have it in /boot:
# ls -l /boot/*3.12.8*
-rw-r--r-- 1 root root 118268 Aug 1 15:36 /boot/config-3.12.8-rt11-i3
-rw-r--r-- 1 root root 1581413 Aug 1 15:36 /boot/System.map-3.12.8-rt11-i3
-rw-r--r-- 1 root root 3458016 Aug 1 15:36 /boot/vmlinuz-3.12.8-rt11-i3
> How do you tell your kernel not to load an initramfs?
Add noinitrd to your boot cmdline or don't compile in support for it,
make menuconfig
-> General setup
about 75% down: Initial RAM filesystem and RAM disk (initramfs/initrd) support
check or uncheck to your
satisfaction
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57