Article 54FK2 Creating a bootable iso from scratch. What am I missing?

Creating a bootable iso from scratch. What am I missing?

by
voncloft
from LinuxQuestions.org on (#54FK2)
I haven't found much info on how to do a custom boot iso boot except for attempting to imitate other people's steps (like venum linux).....and have failed.

I rsync'd my LFS distro via the command to a thumbdrive:
Quote:
sudo rsync -aAXv / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /mnt/USB
This can be installed to other PC's acting like a Gentoo build where I do a reverse "tarball" to the hard drive by doing a backwards command of the locations in the previous command, install grub, and do a grub-mkconfig to "Start it off"....but I am trying to get a live cd going, while using a virtualbox to "learn"

Now...I want to make my backup a bootable distro like you would for Mint or Ubuntu as an ISO.

I copied the files (isolinux.bin, vesamenu.c32....etc) like described here:
https://tool.frogg.fr/Tutorial_Sysli...m_files_anchor

my layout for
/var/tmp/Workspace/ISO is as listed below

/var/tmp/Workspace/ISO/isolinux:
isolinux.bin isolinux.cfg ldlinux.c32 libcom32.c32 libutil.c32 menu.c32 vesamenu.c32

My "OS/distro/backup" - whatever you want to call it is stored in the following location (USB is mounted at the location of "working backup"): /var/tmp/Workspace/ISO/von

My isolinux.cfg
Quote:
GNU nano 4.9.1 isolinux.cfg
default vesamenu.c32
prompt 0
timeout 300
menu title VON OS
label VON
menu label Von 8.4
kernel /von/boot/vmlinuz-4.20-lfs-8.4
I ran the command on my Desktop directory in the terminal:
Quote:
mkisofs -o output.iso \
-b syslinux/isolinux.bin -c syslinux/boot.cat \
-no-emul-boot -boot-load-size 4 -boot-info-table -D \
/var/tmp/Workspace
I get the boot loader it says Von 8.4 etc.....but will do an infinite loop - what am I missing?latest?d=yIl2AUoC8zA latest?i=HbfS2BeWdY4:UNlb2LUvKEs:F7zBnMy latest?i=HbfS2BeWdY4:UNlb2LUvKEs:V_sGLiP latest?d=qj6IDK7rITs latest?i=HbfS2BeWdY4:UNlb2LUvKEs:gIN9vFwHbfS2BeWdY4
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