You are not logged in.
Hi. =-)
Finally I am a member yay!!1! ;-)
machine: Lenovo ThinkPad T61
project: building an live-iso for online banking - minimal packages, minimal xserver and only firefox-esr (no windowmanager or terminal emulator)
I use this iso:
https://files.devuan.org/devuan_ascii/minimal-live/devuan_ascii_2.0.0_amd64_minimal-live.iso
This iso includes the following packages:
abook install
acpi install
acpi-support-base install
acpid install
adduser install
alsa-utils install
apcalc install
apcalc-common install
apt install
apt-utils install
aspell install
aspell-en install
at install
atmel-firmware install
base-files install
base-passwd install
bash install
bash-completion install
bastet install
bc install
beep install
bind9-host install
bittornado install
bluez-firmware install
bombardier install
brltty install
bsdgames install
bsdmainutils install
bsdutils install
busybox install
bzip2 install
ca-certificates install
caca-utils install
calcurse install
cavezofphear install
clex install
cmatrix install
console-common install
console-data install
console-setup install
console-setup-linux install
consolekit install
coreutils install
cowsay install
cpio install
crawl install
crawl-common install
cron install
cryptsetup install
cryptsetup-bin install
curl install
curseofwar install
dahdi-firmware-nonfree install
dash install
dbus install
dc install
debconf install
debconf-i18n install
debian-archive-keyring install
debianutils install
debootstrap install
devuan-baseconf install
devuan-keyring install
dh-python install
dialog install
dictionaries-common install
diffutils install
discover install
discover-data install
dmidecode install
dmsetup install
dnsutils install
dpkg install
dselect install
dvtm install
e2fslibs:amd64 install
e2fsprogs install
ed install
edbrowse install
eject install
emacsen-common install
empire install
entr install
espeak install
espeak-data:amd64 install
espeak-ng-data:amd64 install
espeakup install
eudev install
fbi install
fbterm install
fetchmail install
figlet install
file install
findutils install
firmware-amd-graphics install
firmware-atheros install
firmware-bnx2 install
firmware-bnx2x install
firmware-brcm80211 install
firmware-cavium install
firmware-crystalhd install
firmware-intel-sound install
firmware-intelwimax install
firmware-iwlwifi install
firmware-libertas install
firmware-linux-free install
firmware-linux-nonfree install
firmware-misc-nonfree install
firmware-myricom install
firmware-netxen install
firmware-qlogic install
firmware-realtek install
firmware-ti-connectivity install
firmware-zd1211 install
fontconfig install
fontconfig-config install
fonts-dejavu-core install
fortune-mod install
fortunes-min install
freesweep install
ftp install
gawk install
gcc-6-base:amd64 install
gddrescue install
gdisk install
geoip-bin install
gettext-base install
ghostscript install
git install
gnuchess install
gnupg install
gnupg-agent install
gnupg2 install
gpgv install
gpm install
greed install
grep install
groff-base install
grub-common install
grub-pc install
grub-pc-bin install
grub2-common install
guile-2.0 install
guile-2.0-libs:amd64 install
gzip install
hasciicam install
hicolor-icon-theme install
hostname install
htop install
iftop install
ifupdown install
imagemagick install
imagemagick-6-common install
imagemagick-6.q16 install
info install
init install
init-system-helpers install
initramfs-tools install
initramfs-tools-core install
initscripts install
insserv install
install-info install
iotop install
iproute2 install
iptables install
iputils-ping install
irqbalance install
irssi install
isc-dhcp-client install
isc-dhcp-common install
isolinux install
iw install
jhead install
kbd install
keyboard-configuration install
klibc-utils install
kmod install
krb5-locales install
laptop-detect install
less install
lftp install
libaa1:amd64 install
libacl1:amd64 install
libapparmor1:amd64 install
libapt-inst2.0:amd64 install
libapt-pkg5.0:amd64 install
libasound2:amd64 install
libasound2-data install
libaspell15:amd64 install
libassuan0:amd64 install
libasyncns0:amd64 install
libattr1:amd64 install
libaudit-common install
libaudit1:amd64 install
libavahi-client3:amd64 install
libavahi-common-data:amd64 install
libavahi-common3:amd64 install
libbind9-140:amd64 install
libblkid1:amd64 install
libbluetooth3:amd64 install
libboost-program-options1.62.0:amd64 install
libbrlapi0.6:amd64 install
libbsd0:amd64 install
libburn4:amd64 install
libbz2-1.0:amd64 install
libc-bin install
libc-dev-bin install
libc-l10n install
libc6:amd64 install
libc6-dev:amd64 install
libcaca0:amd64 install
libcairo2:amd64 install
libcanlock2 install
libcap-ng0:amd64 install
libcap2:amd64 install
libck-connector0:amd64 install
libcomerr2:amd64 install
libcroco3:amd64 install
libcryptsetup4:amd64 install
libcups2:amd64 install
libcupsimage2:amd64 install
libcurl3:amd64 install
libcurl3-gnutls:amd64 install
libdatrie1:amd64 install
libdb5.3:amd64 install
libdbus-1-3:amd64 install
libdbus-glib-1-2:amd64 install
libdebconfclient0:amd64 install
libdevmapper1.02.1:amd64 install
libdirectfb-1.2-9:amd64 install
libdiscover2 install
libdns-export162 install
libdns162:amd64 install
libedit2:amd64 install
libelf1:amd64 install
libenca0:amd64 install
libespeak-ng1:amd64 install
libespeak1:amd64 install
libestr0 install
libeudev1:amd64 install
libevent-2.0-5:amd64 install
libexif12:amd64 install
libexpat1:amd64 install
libfaad2:amd64 install
libfastjson4:amd64 install
libfdisk1:amd64 install
libffi6:amd64 install
libfftw3-double3:amd64 install
libfftw3-single3:amd64 install
libflac8:amd64 install
libfontconfig1:amd64 install
libfreetype6:amd64 install
libftp4:amd64 install
libfuse2:amd64 install
libgc1c2:amd64 install
libgcc1:amd64 install
libgcrypt20:amd64 install
libgdbm3:amd64 install
libgdk-pixbuf2.0-0:amd64 install
libgdk-pixbuf2.0-common install
libgeoip1:amd64 install
libgif7:amd64 install
libglib2.0-0:amd64 install
libgmime-2.6-0:amd64 install
libgmp10:amd64 install
libgnutls30:amd64 install
libgomp1:amd64 install
libgpg-error0:amd64 install
libgpgme11:amd64 install
libgpm2:amd64 install
libgraphite2-3:amd64 install
libgs9:amd64 install
libgs9-common install
libgsasl7 install
libgsm1:amd64 install
libgssapi-krb5-2:amd64 install
libharfbuzz0b:amd64 install
libhogweed4:amd64 install
libice6:amd64 install
libicu57:amd64 install
libid3tag0:amd64 install
libidn11:amd64 install
libidn2-0:amd64 install
libijs-0.35:amd64 install
libimlib2:amd64 install
libip4tc0:amd64 install
libip6tc0:amd64 install
libiptc0:amd64 install
libisc-export160 install
libisc160:amd64 install
libisccc140:amd64 install
libisccfg140:amd64 install
libisoburn1:amd64 install
libisofs6:amd64 install
libiw30:amd64 install
libjack-jackd2-0:amd64 install
libjbig0:amd64 install
libjbig2dec0:amd64 install
libjpeg-turbo-progs install
libjpeg62-turbo:amd64 install
libjte1 install
libk5crypto3:amd64 install
libkeyutils1:amd64 install
libklibc install
libkmod2:amd64 install
libkrb5-3:amd64 install
libkrb5support0:amd64 install
libksba8:amd64 install
liblcms2-2:amd64 install
libldap-2.4-2:amd64 install
libldap-common install
liblocale-gettext-perl install
liblogging-stdlog0:amd64 install
liblognorm5:amd64 install
libloudmouth1-0:amd64 install
liblqr-1-0:amd64 install
libltdl7:amd64 install
liblua5.1-0:amd64 install
liblwres141:amd64 install
liblz4-1:amd64 install
liblzma5:amd64 install
liblzo2-2:amd64 install
libmad0:amd64 install
libmagic-mgc install
libmagic1:amd64 install
libmagickcore-6.q16-3:amd64 install
libmagickwand-6.q16-3:amd64 install
libmnl0:amd64 install
libmodplug1:amd64 install
libmount1:amd64 install
libmozjs-24-0:amd64 install
libmpcdec6:amd64 install
libmpdec2:amd64 install
libmpfr4:amd64 install
libncurses5:amd64 install
libncursesw5:amd64 install
libnetfilter-acct1:amd64 install
libnetfilter-conntrack3:amd64 install
libnettle6:amd64 install
libnewt0.52:amd64 install
libnfnetlink0:amd64 install
libnghttp2-14:amd64 install
libnl-3-200:amd64 install
libnl-genl-3-200:amd64 install
libnotmuch4 install
libnpth0:amd64 install
libnspr4:amd64 install
libnss3:amd64 install
libntlm0:amd64 install
libnuma1:amd64 install
libogg0:amd64 install
libopencore-amrnb0:amd64 install
libopencore-amrwb0:amd64 install
libopenjp2-7:amd64 install
libopts25:amd64 install
libopus0:amd64 install
libopusfile0 install
libotr5 install
libp11-kit0:amd64 install
libpam-modules:amd64 install
libpam-modules-bin install
libpam-runtime install
libpam0g:amd64 install
libpango-1.0-0:amd64 install
libpangocairo-1.0-0:amd64 install
libpangoft2-1.0-0:amd64 install
libpaper1:amd64 install
libparted2:amd64 install
libpcap0.8:amd64 install
libpcaudio0 install
libpci3:amd64 install
libpcre3:amd64 install
libpcsclite1:amd64 install
libperl5.24:amd64 install
libpipeline1:amd64 install
libpixman-1-0:amd64 install
libpng16-16:amd64 install
libpolkit-agent-1-0:amd64 install
libpolkit-backend-1-0 install
libpolkit-backend-consolekit-1-0:amd64 install
libpolkit-gobject-1-0 install
libpolkit-gobject-consolekit-1-0:amd64 install
libpoppler64:amd64 install
libpopt0:amd64 install
libportaudio2:amd64 install
libprocps4:amd64 install
libprocps6:amd64 install
libprotobuf10:amd64 install
libpsl5:amd64 install
libpulse0:amd64 install
libpython-stdlib:amd64 install
libpython2.7-minimal:amd64 install
libpython2.7-stdlib:amd64 install
libpython3-stdlib:amd64 install
libpython3.5-minimal:amd64 install
libpython3.5-stdlib:amd64 install
librcc0 install
librcd0 install
libreadline7:amd64 install
librecode0:amd64 install
libresid-builder0c2a install
librsvg2-2:amd64 install
librtmp1:amd64 install
libsamplerate0:amd64 install
libsasl2-2:amd64 install
libsasl2-modules:amd64 install
libsasl2-modules-db:amd64 install
libselinux1:amd64 install
libsemanage-common install
libsemanage1:amd64 install
libsensors4:amd64 install
libsepol1:amd64 install
libsidplay2 install
libsidutils0 install
libsigsegv2:amd64 install
libslang2:amd64 install
libsm6:amd64 install
libsmartcols1:amd64 install
libsndfile1:amd64 install
libsonic0:amd64 install
libsox-fmt-alsa:amd64 install
libsox-fmt-base:amd64 install
libsox2:amd64 install
libspeex1:amd64 install
libsqlite3-0:amd64 install
libss2:amd64 install
libssh2-1:amd64 install
libssl1.0.2:amd64 install
libssl1.1:amd64 install
libstdc++6:amd64 install
libsystemd0:amd64 install
libtag1v5:amd64 install
libtag1v5-vanilla:amd64 install
libtagc0:amd64 install
libtalloc2:amd64 install
libtasn1-6:amd64 install
libtext-charwidth-perl install
libtext-iconv-perl install
libtext-wrapi18n-perl install
libthai-data install
libthai0:amd64 install
libtidy5 install
libtiff5:amd64 install
libtinfo5:amd64 install
libtokyocabinet9:amd64 install
libturbojpeg0:amd64 install
libunistring0:amd64 install
libusb-0.1-4:amd64 install
libustr-1.0-1:amd64 install
libutempter0:amd64 install
libuu0 install
libuuid1:amd64 install
libvorbis0a:amd64 install
libvorbisenc2:amd64 install
libvorbisfile3:amd64 install
libwavpack1:amd64 install
libwrap0:amd64 install
libx11-6:amd64 install
libx11-data install
libx11-xcb1:amd64 install
libx86-1:amd64 install
libxapian30:amd64 install
libxau6:amd64 install
libxcb-render0:amd64 install
libxcb-shm0:amd64 install
libxcb1:amd64 install
libxdmcp6:amd64 install
libxext6:amd64 install
libxi6:amd64 install
libxml2:amd64 install
libxrender1:amd64 install
libxtables12:amd64 install
libxtst6:amd64 install
links2 install
linux-base install
linux-image-4.9.0-6-amd64 install
linux-image-amd64 install
linux-live-boot install
live-boot-initramfs-tools install
live-config install
live-config-sysvinit install
locales install
login install
logrotate install
lrzsz install
lsb-base install
lsof install
lynx install
lynx-common install
m4 install
man-db install
manpages install
manpages-dev install
matanza install
mawk install
mc install
mc-data install
mcabber install
mime-support install
minicom install
mlocate install
moc install
moria install
mosh install
mount install
msmtp install
mtools install
mtr-tiny install
multiarch-support install
multitail install
mutt install
nano install
ncdu install
ncurses-base install
ncurses-bin install
net-tools install
netbase install
netcat install
netcat-traditional install
nethack-common install
nethack-console install
nfacct install
ninvaders install
nrss install
ntp install
omega-rpg install
openssh-client install
openssh-server install
openssh-sftp-server install
openssl install
pacman4console install
parallel install
parted install
passwd install
patch install
pciutils install
pente install
perl install
perl-base install
perl-modules-5.24 install
pinentry-curses install
policykit-1 install
poppler-data install
poppler-utils install
procmail install
procps install
psmisc install
python install
python-minimal install
python2.7 install
python2.7-minimal install
python3 install
python3-minimal install
python3.5 install
python3.5-minimal install
radio install
readline-common install
refractainstaller-base install
refractasnapshot-base install
rename install
rpl install
rsync install
rsyslog install
sc install
screen install
sed install
sensible-utils install
setnet install
shared-mime-info install
sox install
squashfs-tools install
startpar install
sudo install
sudoku install
syslinux install
syslinux-common install
sysstat install
sysv-rc install
sysvinit install
sysvinit-core install
sysvinit-utils install
tar install
tasksel install
taskwarrior install
tcc install
telnet install
termsaver install
time install
tin install
tmux install
toilet install
toilet-fonts install
traceroute install
ttyrec install
tzdata install
ucf install
unzip install
util-linux install
util-linux-locales install
vim-common install
vim-runtime install
vim-tiny install
w3m install
wamerican install
wavemon install
wget install
whiptail install
whois install
wireless-tools install
wpasupplicant install
x11-common install
xkb-data install
xorriso install
xxd install
xz-utils install
yasr install
zile install
zlib1g:amd64 install
zsh install
zsh-common install
Now I customize it with my glorious noob-scripts:
001 replace default user
deluser devuan &
delgroup devuan &
rm -r /home/devuan &
adduser banking
002 minimalizing the system
Here i use a packagelist of my customize minimal installation of devuan ascii wich is installed on my hdd.
This system works, it runs at the moment but with linux-libre as kernel and of course without the live-* packages
the packagelist:
adduser install
apt install
apt-utils install
base-files install
base-passwd install
bash install
bsdutils install
busybox install
console-setup install
console-setup-linux install
coreutils install
cpio install
cron install
cryptsetup install
cryptsetup-bin install
dash install
debconf install
debian-archive-keyring install
debianutils install
devuan-baseconf install
devuan-keyring install
diffutils install
dmidecode install
dmsetup install
dpkg install
e2fslibs:amd64 install
e2fsprogs install
eject install
eudev install
findutils install
gcc-6-base:amd64 install
gettext-base install
gpgv install
grep install
grub-common install
grub-pc install
grub-pc-bin install
grub2-common install
gzip install
hostname install
ifupdown install
init install
init-system-helpers install
initramfs-tools install
initramfs-tools-core install
initscripts install
insserv install
iproute2 install
iptables install
iputils-ping install
isolinux install
kbd install
keyboard-configuration install
klibc-utils install
kmod install
libacl1:amd64 install
libapt-inst2.0:amd64 install
libapt-pkg5.0:amd64 install
libattr1:amd64 install
libaudit-common install
libaudit1:amd64 install
libblkid1:amd64 install
libburn4:amd64 install
libbz2-1.0:amd64 install
libc-bin install
libc-l10n install
libc6:amd64 install
libcap-ng0:amd64 install
libcap2:amd64 install
libcomerr2:amd64 install
libcryptsetup4:amd64 install
libdb5.3:amd64 install
libdebconfclient0:amd64 install
libdevmapper1.02.1:amd64 install
libelf1:amd64 install
libestr0 install
libeudev1:amd64 install
libfastjson4:amd64 install
libfdisk1:amd64 install
libfreetype6:amd64 install
libfuse2:amd64 install
libgcc1:amd64 install
libgcrypt20:amd64 install
libgpg-error0:amd64 install
libidn11:amd64 install
libip4tc0:amd64 install
libip6tc0:amd64 install
libiptc0:amd64 install
libisoburn1:amd64 install
libisofs6:amd64 install
libjte1 install
libklibc install
libkmod2:amd64 install
liblocale-gettext-perl install
liblogging-stdlog0:amd64 install
liblognorm5:amd64 install
liblz4-1:amd64 install
liblzma5:amd64 install
liblzo2-2:amd64 install
libmnl0:amd64 install
libmount1:amd64 install
libncurses5:amd64 install
libncursesw5:amd64 install
libnetfilter-conntrack3:amd64 install
libnettle6:amd64 install
libnewt0.52:amd64 install
libnfnetlink0:amd64 install
libpam-modules:amd64 install
libpam-modules-bin install
libpam-runtime install
libpam0g:amd64 install
libpci3:amd64 install
libpcre3:amd64 install
libpng16-16:amd64 install
libpopt0:amd64 install
libprocps6:amd64 install
libreadline7:amd64 install
libselinux1:amd64 install
libsemanage-common install
libsemanage1:amd64 install
libsepol1:amd64 install
libslang2:amd64 install
libsmartcols1:amd64 install
libss2:amd64 install
libstdc++6:amd64 install
libtext-charwidth-perl install
libtext-iconv-perl install
libtext-wrapi18n-perl install
libtinfo5:amd64 install
libustr-1.0-1:amd64 install
libuuid1:amd64 install
libxtables12:amd64 install
linux-base install
linux-image-4.9.0-6-amd64 install
linux-image-amd64 install
live-boot install
live-boot-initramfs-tools install
live-config install
live-config-sysvinit install
locales install
login install
logrotate install
lsb-base install
mawk install
mount install
mtools install
multiarch-support install
ncurses-base install
ncurses-bin install
net-tools install
netbase install
passwd install
pciutils install
perl-base install
procps install
readline-common install
refractasnapshot-base install
rsync install
rsyslog install
sed install
sensible-utils install
squashfs-tools install
startpar install
syslinux install
syslinux-common install
sysv-rc install
sysvinit install
sysvinit-core install
sysvinit-utils install
tar install
tasksel install
tasksel-data install
tzdata install
ucf install
util-linux install
vim-common install
vim-tiny install
xkb-data install
xorriso install
xxd install
zlib1g:amd64 install
Isn't it cute and tiny?
=-D
The following script is using this list for "$@" :
#prevent apt from installing recommend packages
echo "APT::Install-Recommends "0";" > /etc/apt/apt.conf.d/01lean &&
echo "APT::AutoRemove:RecommendsImportant "false";" >> /etc/apt/apt.conf.d/01lean &&
#add the devuan repository to /etc/apt/sources.list
echo "# devuan repository" > /etc/apt/sources.list &&
echo "deb http://pkgmaster.devuan.org/merged ascii main" >> /etc/apt/sources.list &&
echo "deb http://pkgmaster.devuan.org/merged ascii-security main" >> /etc/apt/sources.list &&
echo "deb http://pkgmaster.devuan.org/merged ascii-updates main" >> /etc/apt/sources.list &&
apt update &&
#minimalize the number of packages and remove all non-free packages (needs a packagelist builded with "dpkg --get-seletions > PACKAGELIST")
dpkg --clear-selections &&
dpkg --set-selections < "$@" &&
apt-get dselect-upgrade &&
apt-get autoclean &&
apt-get clean &&
dpkg --get-selections > remove &&
grep deinstall remove | sed s/deinstall//g | sed 's/\t//g' | sed ':a;N;$!ba;s/\n/ /g' | xargs apt-get autoremove --purge -y &&
rm remove &&
apt install deborphan &&
deborphan | xargs apt-get autoremove --purge -y &&
apt-get autoclean &&
apt-get clean
003 install linux-libre kernel
apt update &&
apt install ca-certificates >> ca-certificates_packages # wget needs it for https &&
apt install gnupg >> gnupg_packages # linux-libre needs it at first install (i don't know why it's not listed in recommends...) &&
apt install wget >> wget_packages # for downloading the key &&
echo "# linux-libre kernel" >> /etc/apt/sources.list &&
echo "deb mirror://linux-libre.fsfla.org/pub/linux-libre/freesh/mirrors.txt freesh main" >> /etc/apt/sources.list &&
wget https://jxself.org/gpg.inc &&
gpg --import gpg.inc && # doing these two steps
gpg --list-keys && # because gpg --with-fingerprint doesn't work...
echo "Key fingerprint should be = F611 A908 FFA1 65C6 9958 4ED4 9D0D B31B 545A 3198" &&
apt-key add gpg.inc &&
rm gpg.inc &&
apt update &&
apt list linux-libre* &&
read -p "choose a kernel from the list above: " kernel
apt install --no-install-recommends --no-install-suggests $kernel && # i use linux-libre-4.14
rm -r /root/.gnupg &&
head -n 15 ca-certificates_packages &&
head -n 15 gnupg_packages &&
head -n 15 wget_packages &&
echo "remove and purge the packages above by hand (don't know hw to automate this...)"
004 little clean up
dmsg --clear
echo "" > ~/.bash_history
echo "" > /home/banking/.bash_history
rm -r /var/log/*
So now i like to build a bootable iso, boot that iso with the linux-libre kernel, remove the old kernel and do some configs and then building a iso again (the final one).
That for I run :
refractasnapshot
EDIT>
It is saying that grub-efi-amd64 and dosfstools are missing, but i go on and making a snapshot cause the T61 has no UEFI.
<EDIT
I save the iso on a removable media, start another system and burning it on a CD.
Now i boot that CD, but i get errors:
[EDIT: sorry the image was removed by the imagehoster...]
Last edited by nogeek (2019-01-31 01:14:04)
Offline
Hi. =-)
Finally I am a member yay!!1! ;-)
Indeed you are! Nice to see you here. Wish I could help with your question but alas, no.
Offline
It is saying that grub-efi-amd64 and dosfstools are missing
Having never created my own "system", I can not offer technical answers for your base problem. But grub-efi-amd64 and dosfstools are packages, and it may be that these are required to create a bootable live iso. I would try an install of these 2 packages prior to the iso create step, and try again.
Offline
grub-efi and dosfstools are only needed if you want the iso to be bootable on a uefi system. You can ignore those messages or disable them by setting make_efi=no in /etc/refractasnapshot.conf.
I/O errors suggest a hardware problem. Maybe there were errors burning the CD.
This page explains how to get the checksum from a burned CD. Replace md5sum with sha256sum if you want to compare it to the checksum in the SHA256SUMS file where you downloaded the iso.
http://www.brunolinux.com/01-First_Thin … d_CDs.html
Offline
Thank you all for your answers.
Nice to see you here.
thx! =-)
grub-efi-amd64 and dosfstools are packages, and it may be that these are required to create a bootable live iso. I would try an install of these 2 packages prior to the iso create step, and try again.
the T61 has no UEFI so I do not need it, sorry I had have to say this.
I/O errors suggest a hardware problem. Maybe there were errors burning the CD.
Hmm.. wodim didn't say anything...
This page explains how to get the checksum from a burned CD. Replace md5sum with sha256sum if you want to compare it to the checksum in the SHA256SUMS file where you downloaded the iso.
Of course I've checked the devuan iso and mine too (refractasnapshot builds an iso and a sha256 for it.)
Last edited by nogeek (2018-07-16 15:14:23)
Offline