Describe désert/Linux/QL here.
mkisofs bootable iso
$ tree /mnt/iso/
/mnt/iso/
└── boot
└── isolinux
├── boot.cat
├── chain.c32
├── initram
├── isolinux.bin
├── isolinux.cfg
├── memdisk
├── menu.c32
├── ql_kernel
├── reboot.c32
├── syslinux.exe
└── vesamenu.c32
mkisofs -pad -l -r -J -v -V "ql-test-20201216" -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o ql_usb_20201216.iso /mnt/play/TMP/ql_usb_20201123
build kernel
merlyn@brightmoon ~/Downloads/linux-4.4.38 $ make O=/home/merlyn/build/ql-kernel menuconfig
make[1]: Entering directory '/home/merlyn/build/ql-kernel'
GEN ./Makefile
scripts/kconfig/mconf Kconfig
#
# using defaults found in arch/x86/configs/x86_64_defconfig
#
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
make[1]: Leaving directory '/home/merlyn/build/ql-kernel'
$ make -j4 O=/home/merlyn/build/ql-kernel
...
..
.
ld: warning: creating a DT_TEXTREL in object
ZOFFSET arch/x86/boot/zoffset.h
OBJCOPY arch/x86/boot/vmlinux.bin
AS arch/x86/boot/header.o
LD arch/x86/boot/setup.elf
OBJCOPY arch/x86/boot/setup.bin
BUILD arch/x86/boot/bzImage
Setup is 15836 bytes (padded to 15872 bytes).
System is 3841 kB
CRC c9fffae1
Kernel: arch/x86/boot/bzImage is ready (#1)
# make -j4 O=/home/merlyn/build/ql-kernel modules_install install
make[1]: Entering directory '/home/merlyn/build/ql-kernel'
INSTALL crypto/drbg.ko
INSTALL crypto/echainiv.ko
INSTALL crypto/hmac.ko
INSTALL crypto/jitterentropy_rng.ko
INSTALL crypto/sha256_generic.ko
INSTALL drivers/cdrom/cdrom.ko
INSTALL drivers/char/nvram.ko
INSTALL drivers/input/evdev.ko
INSTALL drivers/net/ethernet/intel/e100.ko
INSTALL drivers/net/ethernet/intel/e1000/e1000.ko
INSTALL drivers/net/ethernet/intel/e1000e/e1000e.ko
INSTALL drivers/scsi/sr_mod.ko
INSTALL drivers/scsi/sg.ko
INSTALL drivers/thermal/x86_pkg_temp_thermal.ko
INSTALL drivers/usb/host/xhci-hcd.ko
INSTALL drivers/usb/host/xhci-pci.ko
INSTALL fs/binfmt_misc.ko
INSTALL fs/efivarfs/efivarfs.ko
INSTALL /lib/firmware/e100/d101m_ucode.bin
INSTALL /lib/firmware/e100/d101s_ucode.bin
INSTALL /lib/firmware/e100/d102e_ucode.bin
DEPMOD 4.4.38
sh /home/merlyn/Downloads/linux-4.4.38/arch/x86/boot/install.sh 4.4.38 arch/x86/boot/bzImage \
System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/zz-runlilo 4.4.38 /boot/vmlinuz-4.4.38
Warning: Not updating LILO; /etc/lilo.conf not found!
make[1]: Leaving directory '/home/merlyn/build/ql-kernel'
NEW METHOD
Build kernel by genkernel
initram
xzcat initramfs-4.14.202-gentoo-x86_64.xz | cpio -idmv merlyn@brightmoon /mnt/play/TMP/ql_usb_20201123/boot/isolinux/init $ cp sbin/* /tmp/initramfs/sbin/ cp etc/* /tmp/initramfs/etc
- init
busybox --install -s
/bin/sh /etc/init.d/01_init
/bin/sh /etc/init.d/02_udev
/bin/sh /etc/init.d/03_dhcp
#/bin/sh /etc/init.d/04_ovlp
#cd /
#chroot client ./init
while [ 1 = 1 ]
do
/bin/sh
donebrightmoon /tmp/initramfs # find | cpio -H newc -o > ../initramfs.cpio 118711 blocks brightmoon /tmp/initramfs # gzip -9 ../initramfs.cpio cp /tmp/initramfs.cpio.gz /mnt/play/TMP/ql_usb_20201123/boot/isolinux/initram
package iso
mkisofs -pad -l -r -J -v -V "ServerCD" -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o /mnt/play/TMP/ql_usb_`date +%F`.iso /mnt/play/TMP/ql_usb_20201123
