Article 503DD Linux cannot find init only on ISOLINUX

Linux cannot find init only on ISOLINUX

by
afroraydude
from LinuxQuestions.org on (#503DD)
Hello everyone,

Recently I had made an install of the LFS Book 9, and had decided after everything worked to create a bootable ISO using ISOLINUX. I followed the instructions from the ISOLINUX tutorial on the SYSLINUX Wiki and all went well until I received an error along the lines of "Failed to run init script /sbin/init. I booted back into my main system and mounted the ISO into a mount point and when attempting to chroot it said that /bin/bash did not exist, but the file did exist within the mount point.

Some quick notes to add is that I am testing all this through a Virtual Machine. When I copied the system to a folder (as per the ISOLINUX Wiki tutorial) and tried to chroot into that everything works fine, and same goes for booting into that from GRUB, so I know it has to be something with either my ISOLINUX config file or the mkisofs command I run.

This is the file structure for my main system:
Code:/dev/sda1 - /cdroot
/dev/sdb1 - /boot/efi
/dev/sdb2 - /This is the mkisofs command I use:
Code:mkisofs -o output.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -f -l /mntThis is the isolinux.cfg file:
Code:DEFAULT linux
LABEL linux
KERNEL /boot/vmlinuz
APPEND root=/dev/sr0 initrd=/initrd.img vga=791 init=/sbin/init roAny help would be greatly appreciated!latest?d=yIl2AUoC8zA latest?i=Vc6n9NpWdvY:qrOYtyrwQ_c:F7zBnMy latest?i=Vc6n9NpWdvY:qrOYtyrwQ_c:V_sGLiP latest?d=qj6IDK7rITs latest?i=Vc6n9NpWdvY:qrOYtyrwQ_c:gIN9vFwVc6n9NpWdvY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments