aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/debootstrap02.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/debootstrap02.sh')
-rw-r--r--scripts/debootstrap02.sh64
1 files changed, 64 insertions, 0 deletions
diff --git a/scripts/debootstrap02.sh b/scripts/debootstrap02.sh
new file mode 100644
index 0000000..0f7e1cf
--- /dev/null
+++ b/scripts/debootstrap02.sh
@@ -0,0 +1,64 @@
+#! /bin/sh
+
+. ./settings00.sh
+
+chown -R root:root /root/.ssh
+
+ln -s /proc/self/mounts /etc/mtab
+apt-get update
+
+apt-get install --yes dialog apt-utils
+
+apt-get install --yes locales
+dpkg-reconfigure locales
+
+dpkg-reconfigure tzdata
+apt-get install --yes gdisk build-essential dkms dpkg-dev linux-headers-amd64 linux-image-amd64
+apt-get install --yes amd64-microcode atmel-firmware firmware-amd-graphics firmware-bnx2 firmware-bnx2x \
+ firmware-brcm80211 firmware-intelwimax firmware-ipw2x00 \
+ firmware-iwlwifi firmware-libertas firmware-linux firmware-linux-free firmware-linux-nonfree \
+ firmware-misc-nonfree firmware-myricom firmware-netxen firmware-qlogic firmware-realtek \
+ intel-microcode
+
+#
+# apt-get install --yes zfs-dkms zfs-initramfs
+#
+
+apt-get install --yes grub-pc
+
+apt-get install --yes \
+ systemd-sysv \
+ debootstrap xorriso live-build syslinux isolinux squashfs-tools genisoimage memtest86+
+
+apt-get install --yes \
+ hwinfo dmidecode cpuid cpufrequtils pciutils usbutils hwdata discover \
+ gnupg gnupg-agent gnupg2 \
+ git git-buildpackage git-cola git-core git-cvs git-doc git-email git-gui git-man git-svn gitk \
+ nano pv vim \
+ gparted ntfs-3g hfsprogs dosfstools chntpw partclone \
+ xfsdump xfsprogs \
+ isc-dhcp-client ifupdown network-manager net-tools \
+ wireless-tools wpasupplicant wpagui \
+ nfs-common nfs-kernel-server nfswatch \
+ smbclient cifs-utils \
+ rsync tcpdump wget openssh-server openssh-client iptables \
+ lsof rpcbind iptraf iftop wireshark tcpdump pcaputils ngrep
+
+# Replace Debian ZFS packages and replace with vanilla latest release
+. ./zfs-buster-remove.sh
+. ./zfs-0.7.13-install-debian10.sh
+cat apt-preferences.d-local-pin-init >> /etc/apt/preferences.d/local-pin-init
+apt-get update
+apt-get clean
+
+update-initramfs -u -k all
+
+echo PASSWD FOR USER ROOT
+passwd root
+
+echo PASSWD FOR USER TEST
+useradd -m test
+passwd test
+
+echo "YOU MAY POPULATE FS WITH SOME ADDITIONAL DATA NOW, then exit"
+