Commit Graph

33 Commits

Author SHA1 Message Date
Yvan-Masson
69ef236a3f Fix small formatting issue 2020-12-07 21:35:45 +03:00
Richard Laager
d86f52c207 Debian/Ubuntu: Use /dev/disk/by-uuid
This is how the Ubuntu 20.04 installer configures the ESP to mount at
/boot/efi, so it should be fine to use this convention everywhere.

/dev/md0's /dev/disk/by-uuid entry does not show up immediately, so I
removed the swapon there.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-12-05 17:32:40 -06:00
Richard Laager
a4f8837031 Debian: Use UUID instead of PARTUUID for esp
I don't know why this was different from Ubuntu.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-12-05 17:11:47 -06:00
Richard Laager
c94ee2cae4 Debian/Ubuntu: Configure keyboard & charset
On Ubuntu, console-setup, keyboard-configuration (a dependency of
console-setup), and locales are installed by default.  On Debian, we
need to install them manually.  (We were already doing so for locales.)

I merged the various dpkg-reconfigure lines into one to simplify.  The
order isn't important.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
Reported-by: Robert <technic-take3>
Fixes #59
2020-12-05 16:57:34 -06:00
Mathias Gibbens
7f3d021349 Include the debian security and -updates repos as well in sources.list
Users following the ZFS guide may not realize their system won't
receive important security updates between minor point releases
unless additional configuration is added to sources.list.

Signed-off-by: Mathias Gibbens <mathias@calenhad.com>
2020-11-25 17:17:29 -06:00
Mathias Gibbens
9ed82cda6e Fix pip3 install command for Debian-based distros
Signed-off-by: Mathias Gibbens <mathias@calenhad.com>
2020-11-25 17:17:29 -06:00
George Melikov
a12e60f437 Use mailing lists anchor everywhere 2020-09-21 19:28:09 +03:00
XnTry
49c255e480 Fix typo for mirrored rpool creation
This was a copy-and-paste from the mirror bpool commands that was not
updated.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
Fixes #53
2020-09-09 17:59:37 -05:00
Richard Laager
f54ea18312 Debian: Skip manual mount of bpool/BOOT/debian
This was missed in 784b3b7a27 which
eliminated the canmount=noauto.  With that gone, it is not necessary to
manually mount bpool/BOOT/debian.

Reported-by: Danny <suavedandy>
2020-09-08 17:04:06 -05:00
Richard Laager
e2d9dcd2ad Debian/Ubuntu: Fix locales formatting 2020-08-31 00:21:38 -05:00
Christian Nassif-Haynes
ceb02668a3 Fix typo
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-08-24 23:09:10 -05:00
Richard Laager
371d3cf08b Debian/Ubuntu: Update pip3 command
This now matches the example in the top-level README.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-08-12 17:34:27 -05:00
George Melikov
bc36143d46 Fix typo in Debian-on-root man 2020-07-24 23:51:49 -05:00
Spotlight
ba1752bad9 Specify buster-backports usage
Without buster-backports, everything ZFS is from the buster repository.
Adding this to the Live CD installation instructions allows our initial
pool to be created with newer versions.

Signed-off-by: Spotlight <spotlight@joscomputing.space>
2020-06-26 01:56:15 -05:00
Jonathan Watt
ddc56b0106 Switch open-zfs.org links to openzfs.org, and use HTTPS URLs
The open-zfs.org host, Dreamhost, returns a page for https://open-zfs.org
(note, httpS://) which causes HTTPS Everywhere with the 'Encrypt All
Eligible Sites' option enabled to redirect http://open-zfs.org to
https://open-zfs.org, and therefore fail to redirect to openzfs.org.
Ideally a redirect would be implemented at Dreamhost for
httpS://open-zfs.org too, but presumably the links in the docs should
really be updated anyway.
2020-06-17 20:19:49 +03:00
Arooo
ebdfbfbf96 Source list in live context
Line 104 : "/mnt/etc/apt/sources.list" should be  "/etc/apt/sources.list", we are preparing the live context, not the chroot, yet.
2020-06-05 16:11:53 -05:00
Richard Laager
0ccf839233 Drop the Debian package option for building docs
We are now using an extension which is not packaged.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-30 16:58:43 -05:00
Richard Laager
c9e868af21 Debian/Ubuntu: Expand disk clearing steps
This covers more scenarios, including the need to stop md arrays and
wipe MD partitions.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
Requested-by: Larry Wagner <larrywagner0@gmail.com>
2020-05-30 15:00:51 -05:00
Richard Laager
bc4eac650a Debian: Update aes-256-gcm note
buster-backports has ZoL 0.8.4.  I am still explicitly specifying
encryption=aes-256-gcm to avoid accidents.  This can probably change to
encryption=on at some point.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
4fb612b336 Debian/Ubuntu: Expand SSH instructions
This makes the PermitRootLogin changes part of the actual steps rather
than a comment.  I've also made its removal an explicit step.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
3e9c328ce5 Debian: Adjust partition types to match Ubuntu
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
c11642d7ae Debian: Drop devices=off from rpool
This makes it consistent with Ubuntu.  This really isn't worth the
trouble, especially since it breaks debootstrap.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
67561688af Debian/Ubuntu: Autonumber (current) HOWTOs
This also involved a bunch of reindenting and rewrapping.

I reworked the Live CD sources on Debian to be more consistent with
Ubuntu (and the chroot sources configuration on Debian).

I reworked the zpool create wrapping and the mirror/raidz notes.  This
should be more clear on how to create the multi-disk topologies.

I fixed a couple formatting issues too (mainly one backtick where
there should have been two).

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
277ad2a070 Debian/Ubuntu: Autonumber Contributing section
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
784b3b7a27 Debian: Simplify /boot mounting
The original idea here was that bpool/BOOT/debian should be able to be
cloned, just like rpool/ROOT/debian. The problem is that it doesn't
really work without special support in the initramfs. Given that, it is
possible to simplify this.

I also set mountpoint=/boot on bpool, for consistency with the Ubuntu
20.04 HOWTO, which is in turn done that way for consistency with the
Ubuntu installer.

Thanks: colmbuckley
Closes: openzfs/zfs#10309
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
7c4861e911 Debian/Ubuntu: Add Ubuntu 20.04
I have backported some of the cosmetic and other minimal changes to
Ubuntu 18.04 and Debian Buster.  This keeps the deltas as small as
reasonably possible.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
417c2a5379 Debian: Set REMAKE_INITRD=yes
The initrd needs to be rebuilt after the ZFS modules are built.
Otherwise, the system can (will?) fail to boot.

Closes: openzfs/zfs#10355
Reported-by: Christian Garbs <mitch@cgarbs.de>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
c5cd813885 Debian/Ubuntu: Update Support links
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
ae6aa9cb4d Debian/Ubuntu: Cleanup formatting
This cleans up a bunch of formatting from the rst conversion.  I didn't
make the manual fixes to the 16.04 or Stretch versions, since they
aren't really being maintained these days and are just for reference for
existing installations.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
3c8f6c3195 Debian/Ubuntu: Add "Overview" header
This improves the table of contents.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
0c6f1b9680 Debian/Ubuntu: Fix headers
Some of the headers were at the wrong level after the conversion to
Sphinx.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
Richard Laager
1ff69e0d4e Debian/Ubuntu: Update Contributing docs
The Contributing docs needed updating after the move to Sphinx.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2020-05-26 14:40:24 -05:00
George Melikov
15f717f3f2 Adopt Getting Started section
Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-05-17 22:27:29 +03:00