-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtech-notes.txt
110 lines (77 loc) · 3.4 KB
/
tech-notes.txt
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
=============
cryptmount
- mount from script
cryptmount --passwd-fd 5 jsun_test 5< <(echo eroas)
- empty password is allowed
cryptmount --passwd-fd 5 jsun_test 5< <(echo )
- another way
exec 10<<<"eroas"
cryptmount --passwd-fd 10 jsun_test
==========
Tails OS
- partition : GPT with protective MBR
no real MBR
- single EFI partition that has
EFI/{BOOT,debian}
isolinux
==========
compare to tails OS
- smaller size
EROAS only needs 2GB USB
tails OS needs > 12GB?
- extra partition for data exchange
workaround in tails OS
boot up tails OS without configuring persistence partition
allow main partition to expand to 8GB
use gparted to add fat32 data exchange partition with desired size
boot up tails OS again and configure persistence partition
it will take up the remaining space on the disk
- annoying pop-up about formatting partitions
WIP
- tail os has more programs and is multi-purposed
- tail os has configurable persistency for user data
- tail os has tor browser
TODO
- tail os has tor network only
TODO?
- tail os allow root user and mutation of system image
anyone who access USB can install software
- eroas has much restrictive networking control
==========
grub2 install
https://www.runscripts.com/support/guides/tools/multiboot-usb/grub2-install
options:
--removable : install fallback bootloader, needed for USB
--target=x86_64-efi
explain 3 modes grub2 support: i386-pc x86_64-efi i386-efi
https://colinxu.wordpress.com/2018/12/29/create-a-universal-bootable-usb-drive-using-grub2/
==========
references
- setup electrum/EPS
https://curiosityoverflow.xyz/posts/bitcoin-electrum-wallet/
https://medium.com/@armantheparman/bitcoin-core-full-node-on-mac-os-with-electrum-personal-server-and-electrum-desktop-wallet-c4ad0c1543ec
- electrum intro (good)
https://bitzuma.com/posts/a-beginners-guide-to-the-electrum-bitcoin-wallet/
- create liveCD ubuntu
https://help.ubuntu.com/community/LiveCDCustomizationFromScratch
https://help.ubuntu.com/community/LiveCDCustomization
https://github.com/mvallim/live-custom-ubuntu-from-scratch (GOOD)
https://medium.com/pranav-kulshrestha/building-your-own-customized-liveiso-from-scratch-e32b82522bf7
- create usb persistent partition
https://askubuntu.com/questions/1181854/how-is-it-easier-to-make-a-persistent-live-drive-with-ubuntu-19-10
- ARM vs x86 performance study
see http://junsun.net/wordpress/2020/10/aws-arm64-vs-x86_64-bitcoin-performance-comparison/
t4g.medium is sufficient for running full node.
- create bootable USB stick for MacOS
https://ubuntu.com/tutorials/create-a-usb-stick-on-macos#1-overview
https://discourse.ubuntu.com/t/create-a-bootable-usb-stick-on-macos/14016
https://itsfoss.com/create-bootable-ubuntu-usb-drive-mac-os/ (best)
- good one on debian live cd
https://willhaley.com/blog/custom-debian-live-environment/
- create GPT on USB
https://wiki.ubuntu.com/USBStickUEFIHowto
- use xorriso to create bios/uefi bootable img with both mbr/gpt
https://www.0xf8.org/2020/03/recreating-isos-that-boot-from-both-dvd-and-mass-storage-such-as-usb-sticks-and-in-both-legacy-bios-and-uefi-environments/
- good explanation on bios vs EFI and GPT vs MBR
https://askubuntu.com/questions/860489/gpt-partition-scheme-for-uefi-from-bios-based-system
http://www.rodsbooks.com/efi-bootloaders/index.html