Step 1 – Installing the necessary software
apt-get install xorriso live-build syslinux squashfs-tools
Step 2 – Create a basic filesystem
mkdir ~/livework && cd ~/livework
debootstrap --arch=amd64 wheezy chroot http://ftp.debian.org/debian/
or debootstrap --arch=amd64 jessie chroot http://ftp.cn.debian.org/debian/
Step 3 – Chroot
cd ~/livework && chroot chroot
mount none -t proc /proc
mount none -t sysfs /sys
mount none -t devpts /dev/pts
export HOME=/root
export LC_ALL=C
export PS1="\e[01;31m(live):\W \$ \e[00m"
apt-get install dialog dbus
dbus-uuidgen > /var/lib/dbus/machine-id
apt-get install linux-image-amd64
apt-get install live-boot parted efibootmgr ssh expect ctorrent dosfstools
modify hostname and autologin(/etc/inittab) /etc/rc.local and
apt-get install xorriso live-build syslinux squashfs-tools
Step 2 – Create a basic filesystem
mkdir ~/livework && cd ~/livework
debootstrap --arch=amd64 wheezy chroot http://ftp.debian.org/debian/
or debootstrap --arch=amd64 jessie chroot http://ftp.cn.debian.org/debian/
Step 3 – Chroot
cd ~/livework && chroot chroot
mount none -t proc /proc
mount none -t sysfs /sys
mount none -t devpts /dev/pts
export HOME=/root
export LC_ALL=C
export PS1="\e[01;31m(live):\W \$ \e[00m"
apt-get install dialog dbus
dbus-uuidgen > /var/lib/dbus/machine-id
apt-get install linux-image-amd64
apt-get install live-boot parted efibootmgr ssh expect ctorrent dosfstools
modify hostname and autologin(/etc/inittab) /etc/rc.local and