Re: instalacja kernela - co robię źle?

lord_Niedzwiedz sir_Misiek w o2.pl
Pią, 18 Mar 2016, 10:47:22 CET


> Witam,
>
> instaluję system od zera.
> Chciałem dać szansę dystrybucyjnemu kernelowi (normalnie kompiluję sam).
> Na razie system jest w chroocie - nie wiem czy to ma jakieś znaczenie…
>
> poldek:/all-avail> install --reinstall kernel-
> Processing dependencies...
> kernel-4.4.4-1.x86_64 obsoleted by kernel-4.4.4-1.x86_64
> There are 1 package to install, 1 to remove:
> I kernel-4.4.4-1.x86_64
> R kernel-4.4.4-1.x86_64
> Need to get 41.1MB of archives (41.1MB to download).
>
> Retrieving th::kernel-4.4.4-1.x86_64.rpm...
> .............................. 100.0% [41.1M (1.9M/s)]
> Executing rpm --upgrade --replacefiles --replacepkgs -vh --root / --define _check_dirname_deps 1...
> Preparing...                ##################################################
> kernel                      ##################################################
>
> WARNING: Vserver support is DISABLED in this kernel build!
> /sbin/geninitrd: : bad substitution
> geninitrd: find_root: rootfs device file /dev/sda2 doesn't exist
Daj przed wejściem do chroot'a i instalacją jajka:
mount -t proc none /mnt/sda1/proc
mount -t sysfs none /mnt/sda1/sys
mount -o bind /dev /mnt/sda1/dev

może dlatego nie widzi /dev/sda2.
> dracut: systemd-initrd needs systemd in the initramfs
> dracut: dracut-systemd needs systemd-initrd in the initramfs
> /usr/lib/dracut/modules.d/99base/module-setup.sh: line 15: /var/tmp/dracut.4yJfQm/initramfs/usr/lib/initrd-release: No such file or directory
> ln: failed to create symbolic link '/var/tmp/dracut.4yJfQm/initramfs/usr/lib/os-release': No such file or directory
> poldek:/all-avail>
>
> Co jest nie tak?
>
> Pozdrawiam,
vim /etc/sysconfig/geninitrd
masz ? :
## What filesystem to use (rom or ext2)?
# PLD Linux kernel has only romfs compiled in.
#INITRDFS=rom





Więcej informacji o liście pld-users-pl