This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips:ubuntu:zfs-on-root [2017/07/28 08:22] – [Complete system] scipio | tips:ubuntu:zfs-on-root [2018/03/09 10:57] (current) – nicola | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| < | < | ||
| DISK=/ | DISK=/ | ||
| - | sgdisk --clear $DISK | + | sgdisk --clear |
| </ | </ | ||
| Line 55: | Line 55: | ||
| zpool export rpool | zpool export rpool | ||
| zpool import -R /mnt rpool | zpool import -R /mnt rpool | ||
| - | ... umount everything inside /mnt | + | ... umount everything inside /mnt and remove subfolders |
| zfs mount rpool/ | zfs mount rpool/ | ||
| </ | </ | ||
| Line 114: | Line 114: | ||
| locale-gen en_US.UTF-8 | locale-gen en_US.UTF-8 | ||
| update-locale LANG=it_IT.UTF-8 LC_MESSAGES=POSIX | update-locale LANG=it_IT.UTF-8 LC_MESSAGES=POSIX | ||
| - | apt-get -y install `check-language-support -l it` | ||
| DISTRO=xenial | DISTRO=xenial | ||
| Line 188: | Line 187: | ||
| </ | </ | ||
| + | |||
| + | === manual grub menu === | ||
| + | |||
| + | <file txt / | ||
| + | #!/bin/sh | ||
| + | exec tail -n +3 $0 | ||
| + | # This file provides an easy way to add custom menu entries. | ||
| + | # menu entries you want to add after this comment. | ||
| + | # the 'exec tail' line above. | ||
| + | |||
| + | menuentry ' | ||
| + | recordfail | ||
| + | load_video | ||
| + | gfxmode $linux_gfx_mode | ||
| + | insmod gzio | ||
| + | insmod part_gpt | ||
| + | insmod zfs | ||
| + | set root=' | ||
| + | search --no-floppy --fs-uuid --set=root 3f1e7de17907507c | ||
| + | linux / | ||
| + | initrd / | ||
| + | } | ||
| + | </ | ||
| Line 240: | Line 262: | ||
| < | < | ||
| useradd -m scipio | useradd -m scipio | ||
| - | usermod -a -G adm, | + | usermod -a -G adm, |
| passwd scipio | passwd scipio | ||
| </ | </ | ||
| Line 247: | Line 269: | ||
| <code bash> | <code bash> | ||
| apt install --yes ubuntu-standard | apt install --yes ubuntu-standard | ||
| - | apt-get -y install `check-language-support -l it | ||
| </ | </ | ||
| ubuntu desktop | ubuntu desktop | ||
| <code bash> | <code bash> | ||
| - | apt install --yes ubuntu-desktop | + | apt-get install -y software-properties-common |
| + | add-apt-repository ppa: | ||
| + | sudo apt install -y ubuntu-gnome-desktop | ||
| + | #apt install --yes ubuntu-desktop | ||
| + | apt-get -y install $(check-language-support -l it) | ||
| + | |||
| + | # HWE support for XENIAL | ||
| + | sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04 | ||
| + | </ | ||
| + | |||
| + | enable network manager on all interfaces (see [[https:// | ||
| + | < | ||
| + | touch / | ||
| </ | </ | ||
| - | disable | + | disable |
| < | < | ||
| for file in / | for file in / | ||