Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
#######
#
# E-scripts on Debian Bullseye (and upgrading to it).
#
# Note 1: use the eev command (defined in eev.el) and the
# ee alias (in my .zshrc) to execute parts of this file.
# Executing this file as a whole makes no sense.
# An introduction to eev can be found here:
#
#   (find-eev-quick-intro)
#   http://angg.twu.net/eev-intros/find-eev-quick-intro.html
#
# Note 2: be VERY careful and make sure you understand what
# you're doing.
#
# Note 3: If you use a shell other than zsh things like |&
# and the for loops may not work.
#
# Note 4: I always run as root.
#
# Note 5: some parts are too old and don't work anymore. Some
# never worked.
#
# Note 6: the definitions for the find-xxxfile commands are on my
# .emacs.
#
# Note 7: if you see a strange command check my .zshrc -- it may
# be defined there as a function or an alias.
#
# Note 8: the sections without dates are always older than the
# sections with dates.
#
# This file is at <http://angg.twu.net/e/bullseye.e>
#           or at <http://angg.twu.net/e/bullseye.e.html>.
#        See also <http://angg.twu.net/emacs.html>,
#                 <http://angg.twu.net/.emacs[.html]>,
#                 <http://angg.twu.net/.zshrc[.html]>,
#                 <http://angg.twu.net/escripts.html>,
#             and <http://angg.twu.net/>.
#
#######




# «.prepare-pen-drive»	(to "prepare-pen-drive")
# «.inspect-pen-drive»	(to "inspect-pen-drive")
# «.2021aug16»		(to "2021aug16")

# (find-fline "/sda5/home/edrx/e/bullseye.e")





#####
#
# prepare-pen-drive
# 2021aug15
#
#####

# «prepare-pen-drive»  (to ".prepare-pen-drive")
# (find-es "bookworm" "prepare-pen-drive")
# https://wiki.debian.org/DebianInstall#Creating_a_Bootable_Debian_USB_Flashdrive
# ^ TL;DR: cp debian.iso /dev/sdX

 https://www.debian.org/releases/stable/amd64/ch04s03.en.html
https://www.debian.org/releases/stable/amd64/ch04s03.en.html
https://www.debian.org/CD/
https://www.debian.org/CD/http-ftp/
https://www.debian.org/CD/http-ftp/#stable
https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/
https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.0.0-amd64-netinst.iso

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
cd $S/https/cdimage.debian.org/debian-cd/current/amd64/iso-cd/
laf debian-11.0.0-amd64-netinst.iso
sudo cp -v debian-11.0.0-amd64-netinst.iso /dev/sdb
sync

# (find-fline "/dev/")
# (find-fline "/dev/" "sdb")




#####
#
# inspect-pen-drive
# 2021aug15
#
#####

# «inspect-pen-drive»  (to ".inspect-pen-drive")
# (find-fline "$S/https/cdimage.debian.org/debian-cd/current/amd64/iso-cd/")

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
cd $S/https/cdimage.debian.org/debian-cd/current/amd64/iso-cd/
cp -v debian-11.0.0-amd64-netinst.iso /tmp/

# (find-esgrep "grep --color=auto -nH --null -e '-o loop' *.e")
# (find-esgrep "grep --color=auto -nH --null -e '-o loop' *.e | grep -a iso")
# (find-esgrep "grep --color=auto -nH --null -e '-o loop' *.e | grep -a -i debian")

mkdir /tmp/debianiso/
sudo mount -o loop,ro /tmp/debian-11.0.0-amd64-netinst.iso /tmp/debianiso/
# (find-fline "/tmp/debianiso/")
# (find-fline "/tmp/debianiso/install.amd/" "initrd.gz")
# (find-fline "/tmp/debianiso/install.amd/" "vmlinuz")

# (find-fline "/etc/grub.d/40_custom")
# (find-fline "/boot/grub/grub.cfg" "/etc/grub.d/40_custom")
# (find-fline "/boot/grub/grub.cfg" "Debian pen drive")
# (find-fline "/boot/grub/grub.cfg" "linux  install.amd/vmlinuz")
# (find-fline "/boot/grub/grub.cfg" "initrd install.amd/initrd.gz")

# (find-es "grub")
# (find-node "(grub)initrd")
# (find-node "(grub)linux")





#####
#
# (Roughly) the commands that I ran in 2021aug16 after installation
# 2021aug16
#
#####

# «2021aug16»  (to ".2021aug16")
# See: (find-es "jammy" "2024jan14")

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)

sudo apt-get install -y zsh emacs
chsh edrx

# (find-asrootfile "/etc/sudoers")

sudo apt-get install -y mpv
sudo apt-get install -y build-essential
sudo apt-get build-dep -y emacs

# Compile emacs28:
#  (find-es "git" "emacs-from-git-2020")
#  (find-es "git" "emacs28-from-git")

# (find-fline  "/old-etc/fstab")
# (find-asrootfile "/etc/fstab")

# (find-es "chrome" "download")
# (find-es "clock" "tzconfig")

# See: (find-es "u" "every-boot")
sudo apt-get install -y lua5.1 luarocks
sudo apt-get install -y lua-lpeg lua-lpeg-dev lua-posix
sudo apt-get install -y expect rsync
sudo apt-get install -y xpdf recode figlet

# See: (find-es "apt"  "apt-file")
sudo apt-get install -y apt-file
sudo                    apt-file update
sudo apt-get install -y lua5.1 lua5.1-dev lua5.1-doc
sudo apt-get install -y lua5.2 lua5.2-dev lua5.2-doc
sudo apt-get install -y lua5.3 lua5.3-dev
sudo apt-get install -y lua5.4 lua5.4-dev
sudo apt-get install -y scrot gimp simplescreenrecorder
sudo apt-get install -y tkdiff
sudo apt-get install -y curl
sudo apt-get install -y bc potrace imagemagick djvulibre-bin
sudo apt-get install -y dict dictd dict-foldoc dict-gcide dict-jargon dict-vera dict-wn
sudo apt-get install -y locate
sudo apt-get install -y gitk git-doc
sudo apt-get install -y xournal
sudo apt-get install -y unicode-data
sudo apt-get install -y ncal
sudo apt-get install -y locate
sudo updatedb
sudo apt-get install -y fossil
sudo apt-get install -y gparted dosfstools mtools
sudo apt-get install -y transmission-gtk
sudo apt-get install -y python3-pip
sudo apt-get install -y python3-doc python3-examples python3-tk
sudo apt-get install -y lsscsi
sudo apt-get install -y dosfstools
sudo apt-get install -y isympy3 ipython3
sudo apt-get install -y calibre
sudo apt-get install -y inkscape inkscape-tutorials

# (find-es "git" "github-cli")
# (find-es "html" "princexml")

# Add: contrib non-free
# (find-fline "$ASROOT/etc/apt/sources.list")
#
sudo apt-get install -y     gcc-doc
sudo apt-get install -y gdb gdb-doc
sudo apt-get install -y glibc-doc-reference
sudo apt-get install -y make-doc



* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)


#  Local Variables:
#  coding:               utf-8-unix
#  End: