Ubuntu: Reorder system groups step
This is to allow me to reduce the delta with Debian. By putting this at the end, I can simply omit it on Debian, which avoids needing to renumber all the following steps in that section.
parent
462eb6f74e
commit
8d3a05a5c1
|
@ -339,16 +339,11 @@ Install GRUB to the disk(s), not the partition(s).
|
||||||
|
|
||||||
* The `-s 1` for `mkdosfs` is only necessary for drives which present 4 KiB logical sectors (“4Kn” drives) to meet the minimum cluster size (given the partition size of 512 MiB) for FAT32. It also works fine on drives which present 512 B sectors.
|
* The `-s 1` for `mkdosfs` is only necessary for drives which present 4 KiB logical sectors (“4Kn” drives) to meet the minimum cluster size (given the partition size of 512 MiB) for FAT32. It also works fine on drives which present 512 B sectors.
|
||||||
|
|
||||||
4.9 Setup system groups:
|
4.9 Set a root password
|
||||||
|
|
||||||
# addgroup --system lpadmin
|
|
||||||
# addgroup --system sambashare
|
|
||||||
|
|
||||||
4.10 Set a root password
|
|
||||||
|
|
||||||
# passwd
|
# passwd
|
||||||
|
|
||||||
4.11 Enable importing bpool
|
4.10 Enable importing bpool
|
||||||
|
|
||||||
This ensures that `bpool` is always imported, regardless of whether `/etc/zfs/zpool.cache` exists, whether it is in the cachefile or not, or whether `zfs-import-scan.service` is enabled.
|
This ensures that `bpool` is always imported, regardless of whether `/etc/zfs/zpool.cache` exists, whether it is in the cachefile or not, or whether `zfs-import-scan.service` is enabled.
|
||||||
```
|
```
|
||||||
|
@ -368,13 +363,19 @@ This ensures that `bpool` is always imported, regardless of whether `/etc/zfs/zp
|
||||||
EOF
|
EOF
|
||||||
# systemctl enable zfs-import-bpool.service
|
# systemctl enable zfs-import-bpool.service
|
||||||
```
|
```
|
||||||
4.12 Optional (but recommended): Mount a tmpfs to /tmp
|
|
||||||
|
4.11 Optional (but recommended): Mount a tmpfs to /tmp
|
||||||
|
|
||||||
If you chose to create a `/tmp` dataset above, skip this step, as they are mutually exclusive choices. Otherwise, you can put `/tmp` on a tmpfs (RAM filesystem) by enabling the `tmp.mount` unit.
|
If you chose to create a `/tmp` dataset above, skip this step, as they are mutually exclusive choices. Otherwise, you can put `/tmp` on a tmpfs (RAM filesystem) by enabling the `tmp.mount` unit.
|
||||||
|
|
||||||
# cp /usr/share/systemd/tmp.mount /etc/systemd/system/
|
# cp /usr/share/systemd/tmp.mount /etc/systemd/system/
|
||||||
# systemctl enable tmp.mount
|
# systemctl enable tmp.mount
|
||||||
|
|
||||||
|
4.12 Setup system groups:
|
||||||
|
|
||||||
|
# addgroup --system lpadmin
|
||||||
|
# addgroup --system sambashare
|
||||||
|
|
||||||
## Step 5: GRUB Installation
|
## Step 5: GRUB Installation
|
||||||
|
|
||||||
5.1 Verify that the ZFS boot filesystem is recognized:
|
5.1 Verify that the ZFS boot filesystem is recognized:
|
||||||
|
|
Loading…
Reference in New Issue