emmett1 / mkinitrd

initrd generator
5 stars 4 forks source link

Kernel Panic's #1

Closed voncloft closed 4 years ago

voncloft commented 4 years ago

Followed from top to bottom, including kernel changes listed.

Did the following:

mount -v --bind /dev $LFS/dev mount -vt devpts devpts $LFS/dev/pts -o gid=5,mode=620 mount -vt proc proc $LFS/proc mount -vt sysfs sysfs $LFS/sys mount -vt tmpfs tmpfs $LFS/run

chroot "$LFS" /usr/bin/env -i \ HOME=/root TERM="$TERM" \ PS1='(lfs chroot) \u:\w\$ ' \ PATH=/bin:/usr/bin:/sbin:/usr/sbin \ /bin/bash --login

mkinitrd 5.3.6 exit

Continue the steps to squash and make iso

Upon booting it gives a bunch of errors saying /lib/.... does not exist and drops to bash# prompt.

failed to execute /opt/VirtualBox/.......

Failed to execute /lib/udev/libinput-dev-ce-group no such file or directory

losetup: /run/initramfs/medium/rootfs/filesystem.sfs: failed to set up loop device: No such file or directory mount: /run/initramfs/system: can't find in /etc/fstab

Droppping to sa shell.

voncloft commented 4 years ago

Got it to work safe to close the ticket out :D