blob: 2adf2ec6d20693e47c0d8c4d1d56d074b0adad30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
#! /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
#
# Build ZFS from scratch requirements
#
apt-get install --yes build-essential autoconf libtool gawk alien fakeroot gdebi linux-headers-amd64
apt-get install --yes zlib1g-dev uuid-dev libattr1-dev libblkid-dev libselinux-dev libudev-dev libssl-dev parted lsscsi wget ksh gdebi
apt-get install --yes python3 python3-dev python3-setuptools python3-cffi
#
# debootstrap and iso-image requirements
#
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-bullseye-remove.sh
. ./zfs-0.8.4-1-install-debian11.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"
echo then you may continue the process with debootstrap03.sh
|