Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computers:linux:arch-zfs-install [2025/09/02 14:08] – wikiadmin | computers:linux:arch-zfs-install [2025/09/06 11:30] (current) – wikiadmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ls ===== Install arch linux with zfs root ===== | + | ===== Install arch linux with zfs root ===== |
| + | |||
| - Obtain latest ISO from archlinux.org and burn it to an ISO | - Obtain latest ISO from archlinux.org and burn it to an ISO | ||
| - Boot up and change / size \ | - Boot up and change / size \ | ||
| Line 41: | Line 43: | ||
| - Populate the fstab< | - Populate the fstab< | ||
| echo " | echo " | ||
| - | echo " | + | echo " |
| - Move into the install | - Move into the install | ||
| - < | - < | ||
| Line 50: | Line 52: | ||
| locale-gen | locale-gen | ||
| echo " | echo " | ||
| - | - vconsole | + | - vconsole< |
| - | - < | + | - hostname/ |
| - | - hostname/ | + | |
| - | - < | + | |
| - set root password< | - set root password< | ||
| - | - Create a normal user and add to sudoers/ | + | - Create a normal user and add to sudoers/ |
| - | - < | + | |
| passwd some_user | passwd some_user | ||
| - | mkdir ~some_user && chown some_user ~some_user</ | + | mkdir -p ~some_user && chown some_user ~some_user</ |
| - edit sudoers with visudo to uncomment one of the wheel stanzas< | - edit sudoers with visudo to uncomment one of the wheel stanzas< | ||
| EDITOR=vim visudo</ | EDITOR=vim visudo</ | ||
| Line 93: | Line 92: | ||
| refind-install | refind-install | ||
| rm / | rm / | ||
| - | cat << EOF > / | + | cat << EOF >> / |
| - | "Boot default" | + | |
| - | "Boot to menu" | + | menuentry |
| + | loader / | ||
| + | options | ||
| + | } | ||
| + | menuentry | ||
| + | loader / | ||
| + | options | ||
| + | } | ||
| + | menuentry "zbm backup menu" { | ||
| + | loader / | ||
| + | options "quiet loglevel=0 zbm.show" | ||
| + | } | ||
| EOF | EOF | ||
| </ | </ | ||
| Line 114: | Line 124: | ||
| chmod 750 ~some_user | chmod 750 ~some_user | ||
| zfs snapshot zroot/ | zfs snapshot zroot/ | ||
| + | exit | ||
| </ | </ | ||
