Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 1.01 KB

linux.md

File metadata and controls

48 lines (40 loc) · 1.01 KB

Custom Systemd Service


Create bootable stick

find drive with lsblk command. without the number for example sda
Now use the following:

sudo dd bs=4M if=<iso-file> of=/dev/<name in lsblk> conv=fdatasync status=progress

Mount Network drive

Install cifs-utils.
Show smb servers:

smbclient -L <host>

Setup cifs:

sudo mount -t cifs -o username=<username> //<server ip>/<path> <mount path>

create iso

link: thomas-krenn.com Install package genisoimage.
Get Logical block size and Volume size:

sudo isoinfo -d -i /dev/cdrom | grep -i -E 'block size|volume size'

Now clone the drive:

dd if=/dev/cdrom of=<iso location> bs=<block size> count=<volume size> status=progress

Update $PATH

Edit the file ~/.profile

export PATH="$PATH:/path

Languages

Update /etc/locale.gen sudo locale-gen

Backup

https://rgarth.github.io/2017/10/29/Grive-and-Duplicity/