robbat2 / genkernel

Working copy of genkernel tree: OBSOLETE, please see https://github.com/gentoo/genkernel
9 stars 65 forks source link

cdroot argument causes initramfs to kernel panic when booting system #11

Closed LePresidente closed 2 years ago

LePresidente commented 6 years ago

When booting a USB/ISO with the cdroot argument causes the system to kernel panic

The following line is the cause since /newroot/sbin is a symlink to /mnt/livecd/sbin so this line when cdroot is a argument to the kernel should be /newroot/mnt/livecd/sbin/init to work correctly

https://github.com/robbat2/genkernel/blob/de034a52625200a6ef0286540435f6c4bf55230c/defaults/linuxrc#L1051

LePresidente commented 6 years ago

Gentoo Bug Reference: https://bugs.gentoo.org/639034