§2024-07-07
Fresh installation on odroid-hc4, hc4Bookworm.yushei.net, 192.168.48.136
- Hard Disk、 no mirror now, see 5.
# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1 ext4 1.0 2961d35e-4099-4143-8ec6-7962f290def0 392M 6% /boot
├─sda2 swap 1 68df270e-3b9b-4a0f-8c99-19b74e5c7d7d [SWAP]
└─sda3 linux_raid_member 1.2 hc4Bookworm:0 f003649f-620a-8793-8efc-4d44448f15e4
└─md0 xfs a97ad08a-a5ec-40d4-b45a-28086a58b228 216.6G 1% /
sdb
├─sdb1 ext4 1.0 eb4da593-5fca-46a2-9793-e39f7fcdd4e3
├─sdb2 swap 1 c3e2f29d-566e-4c07-b8dd-b038cde26eef [SWAP]
└─sdb3 linux_raid_member 1.2 hc4Bookworm:0 f003649f-620a-8793-8efc-4d44448f15e4
└─md0 xfs a97ad08a-a5ec-40d4-b45a-28086a58b228 216.6G 1%
- interface dhcp auto
- add this file
/etc/network/interfaces.d/20-wirednetwork
auto eth0
iface eth0 inet dhcp
- restart
# systemctl restart networking
# ip ad
- add alexlai to sudo
# usermod -a -G sudo alexlai
# usermod -u 1026 alexlai
# groupmod -g 1026 alexlai
# chown -R alexlai:alexlai /home/alexlai
# id alexlai
- hard disk 2024-09-22
alexlai@hc4Bookworm:~$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1 ext4 1.0 boot a7642e39-42b2-42bb-b028-2e955df806d3 851.9M 3% /boot
├─sda2 swap 1 c7344555-81d1-4689-a381-283af136b6dc [SWAP]
└─sda3 xfs root 49a889e1-6728-4349-909f-355ad0cbf9fd 216.3G 1% /