create-custom-debian-live-usb-stick-stretch
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
create-custom-debian-live-usb-stick-stretch [2017/09/10 10:34] – baumi | create-custom-debian-live-usb-stick-stretch [2017/11/13 17:34] (current) – baumi | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Create custom debian live usb-stick (stretch) ====== | + | ====== Create custom debian live usb-stick (stretch, amd64) ====== |
===== Install necessary packages on the build system ===== | ===== Install necessary packages on the build system ===== | ||
Line 11: | Line 11: | ||
root@host: | root@host: | ||
- | root@host: | + | root@host: |
[ ... ] | [ ... ] | ||
</ | </ | ||
Line 32: | Line 32: | ||
dbus-uuidgen > / | dbus-uuidgen > / | ||
- | root@host:/# | + | root@host:/# |
[ ... ] | [ ... ] | ||
</ | </ | ||
Line 42: | Line 42: | ||
blackbox xserver-xorg-core xserver-xorg xinit xterm \ | blackbox xserver-xorg-core xserver-xorg xinit xterm \ | ||
pciutils usbutils gparted ntfs-3g hfsprogs rsync less curl tcpdump dosfstools syslinux partclone vim pv \ | pciutils usbutils gparted ntfs-3g hfsprogs rsync less curl tcpdump dosfstools syslinux partclone vim pv \ | ||
- | firefox-esr chntpw lvm2 mdadm mc htop keepassx gdisk gnupg duplicity | + | firefox-esr chntpw lvm2 mdadm keepassx gdisk gnupg duplicity s3cmd bzip2 lsof screen mc htop iproute2 inetutils-ping inetutils-traceroute |
[ ... ] | [ ... ] | ||
Line 56: | Line 56: | ||
root@host:/# | root@host:/# | ||
exit | exit | ||
+ | root@debian: | ||
root@host: | root@host: | ||
</ | </ | ||
===== Create filesystem & boot config ===== | ===== Create filesystem & boot config ===== | ||
< | < | ||
- | root@host: | + | root@host: |
- | + | mksquashfs chroot image/ | |
- | root@host: | + | |
Parallel mksquashfs: Using 1 processor | Parallel mksquashfs: Using 1 processor | ||
Creating 4.0 filesystem on image/ | Creating 4.0 filesystem on image/ | ||
Line 110: | Line 110: | ||
timeout 300 | timeout 300 | ||
- | label Debian Live 4.9.0-3-686 | + | label Debian Live 4.9.0-3-amd64 |
- | menu label ^Debian Live 4.9.0-3-686 | + | menu label ^Debian Live 4.9.0-3-amd64 |
menu default | menu default | ||
kernel / | kernel / | ||
Line 131: | Line 131: | ||
cp / | cp / | ||
cp / | cp / | ||
- | cp / | + | cp / |
- | + | cd image && \ | |
- | root@host: | + | genisoimage -rational-rock -volid " |
- | genisoimage -rational-rock -volid " | + | |
cd .. | cd .. | ||
</ | </ | ||
Line 203: | Line 202: | ||
cp image/ | cp image/ | ||
cp / | cp / | ||
- | rsync -rv image/live /mnt/usb/ | + | rsync -rv image/ |
sending incremental file list | sending incremental file list | ||
live/ | live/ | ||
Line 213: | Line 212: | ||
total size is 308, | total size is 308, | ||
- | root@host: | ||
root@host: | root@host: | ||
</ | </ |
create-custom-debian-live-usb-stick-stretch.1505032454.txt.gz · Last modified: 2017/09/10 10:34 by baumi