User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:linux:arch-zfs-install [2025/09/02 17:51] – external edit 127.0.0.1computers:linux:arch-zfs-install [2025/09/06 11:30] (current) wikiadmin
Line 1: Line 1:
- 
  ===== Install arch linux with zfs root =====  ===== Install arch linux with zfs root =====
  
Line 53: Line 52:
 locale-gen locale-gen
 echo "LANG=en_US.UTF-8" > /etc/locale.conf</code> echo "LANG=en_US.UTF-8" > /etc/locale.conf</code>
-    - vconsole +    - vconsole<code>echo -e "KEYMAP=us\n#FONT=latarcyrheb-sun32" > /etc/vconsole.conf</code> 
-      - <code>echo -e "KEYMAP=us\n#FONT=latarcyrheb-sun32" > /etc/vconsole.conf</code> +    - hostname/hosts<code>echo tas > /etc/hostname</code>
-    - hostname/hosts +
-      - <code>echo tas > /etc/hostname</code>+
     - set root password<code>passwd root</code>     - set root password<code>passwd root</code>
-  - Create a normal user and add to sudoers/wheel group +  - Create a normal user and add to sudoers/wheel group<code>useradd -G wheel some_user
-    - <code>useradd -G wheel some_user+
 passwd some_user passwd some_user
-mkdir ~some_user && chown some_user ~some_user</code>+mkdir -p ~some_user && chown some_user ~some_user</code>
     - edit sudoers with visudo to uncomment one of the wheel stanzas<code>     - edit sudoers with visudo to uncomment one of the wheel stanzas<code>
 EDITOR=vim visudo</code> EDITOR=vim visudo</code>
Line 96: Line 92:
 refind-install refind-install
 rm /boot/refind_linux.conf rm /boot/refind_linux.conf
-cat << EOF > /boot/efi/EFI/ZBM/refind_linux.conf +cat << EOF >> /boot/efi/EFI/refind/refind_linux.conf 
-"Boot default "quiet loglevel=0 zbm.skip" + 
-"Boot to menu"  "quiet loglevel=0 zbm.show"+menuentry "zbm boot
 +    loader /EFI/ZBM/VMLINUZ.EFI 
 +    options "quiet loglevel=0 zbm.skip" 
 +
 +menuentry "zbm menu" 
 +    loader /EFI/ZBM/VMLINUZ.EFI 
 +    options "quiet loglevel=0 zbm.show" 
 +
 +menuentry "zbm backup menu" { 
 +    loader /EFI/ZBM/VMLINUZ-BACKUP.EFI 
 +    options "quiet loglevel=0 zbm.show" 
 +}
 EOF EOF
 </code> </code>

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information