Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#!/bin/sh mkdir -p mylive/iso/isolinux cd mylive/iso/isolinux #copy both a kernel and a initrd from /boot #or you could mkinitramfs -o initrd for the init ramdisk cp /boot/vmlinuz-3.10-3-amd64 ./linux cp /boot/initrd.img-3.10-3-amd64 ./initrd #copy isolinuxbin #find /usr -name "isolinux.bin" cp /usr/share/syslinux/themes/debian-wheezy/isolinux-live/isolinux.bin ./ #welcome message echo "========================" > boot.txt echo "Welcome to my Linux" >> boot.txt echo "========================" >> boot.txt #create menu cat << EOF > isolinux.cfg display boot.txt prompt 1 default mylinux label mylinux kernel linux append initrd=initrd EOF #Create ISO cd ../../ xorrisofs -l -J -no-emul-boot -boot-load-size 4 -boot-info-table -b isolinux/isolinux.bin -c isolinux/boot.cat -o mylinux.iso iso #check with qemu (check arch) qemu-system-x86_64 -cdrom mylinux.iso
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)