Debian Stretch Root on ZFS
George Melikov edited this page 2020-05-21 21:11:38 +03:00

Wiki Page Revisions

102 Commits

Author SHA1 Message Date
George Melikov 075ad350f8 Redirect all pages to new documentation resource
Signed-off-by: George Melikov <mail@gmelikov.ru>
2020-05-21 21:11:38 +03:00
Richard Laager fa97fbf59e Debian/Ubuntu: Update zfs-discuss links
The old link was dead.
2020-02-03 03:46:04 -06:00
Richard Laager be7eda21e3 Debian/Ubuntu: Fix efibootmgr
The -p argument to efibootmgr specifies the partition number.  I failed
to update this from 3 to 2 when I changed the partition layout.

Reported-by: Chen Yufei <cyfdecyf@gmail.com>

Fixes #9490
2019-12-14 18:51:55 -06:00
Richard Laager a0b47d0b57 Debian/Ubuntu: Change formatting on osprober note 2019-10-14 21:36:25 -05:00
Richard Laager e92b6f8199 Debian/Ubuntu: Improve popcon instructions
The user needs to pick Yes when installing popcon.
2019-09-27 01:07:05 -05:00
Richard Laager bc72d6402b Debian/Ubuntu: Increase the boot pool to 1G
This helps if the user has snapshots.  Additionally, 1G is the expected
size that the Ubuntu installer will use.
2019-09-18 08:22:18 -05:00
Richard Laager dcbe870e03 Debian/Ubuntu: Fix git clone command
Reported-by: HankB in issue #9149
2019-08-13 17:29:03 -05:00
Richard Laager fa6b4291cc Debian/Ubuntu: Note that Internet is required
The Root-on-ZFS HOWTOs require Internet access to download packages.
2019-07-29 11:54:15 -05:00
Richard Laager debc295c60 Debian: Update for Buster release
This commit should address issue #9063.  It also includes general
updates for the fact that Buster has been released.
2019-07-22 01:01:55 -05:00
Richard Laager 8d1c03291d Root-on-ZFS: Add a note about GRUB & mirroring
Reported-by: Erik Wramner
https://github.com/zfsonlinux/zfs/issues/8223#issuecomment-505339755
2019-06-25 18:24:11 -05:00
Richard Laager d013bdd2f8 Debian: Remove unnecessary step 2019-04-19 01:05:46 -05:00
Richard Laager f8295f9368 Debian/Ubuntu: Fix a bpool/rpool typo 2019-04-17 22:11:05 -05:00
Richard Laager 7ba89030c8 Debian/Ubuntu: Use AES-256
cryptsetup 2.1.0-1 now uses AES-256.  This will be released with Debian
Buster and Ubuntu Disco (19.04).

Reported-by: Jason Cohen <jwittlincohen@gmail.com>
2019-04-17 18:57:24 -05:00
Richard Laager b59ba9e595 Debian/Ubuntu: Capitalize LUKS in the last change 2019-04-14 15:36:32 -05:00
Richard Laager db9006eeb5 Debian/Ubuntu: Suggest backing up the LUKS header 2019-04-14 15:35:43 -05:00
Richard Laager 7256853d6e Debian/Ubuntu: Add some header text
This way, all of the steps should have actual text describing the
operation.
2019-04-14 15:34:30 -05:00
Richard Laager 819ee61a3b Debian/Ubuntu: Tweak the Contributing wording 2019-04-14 08:04:53 -05:00
Richard Laager c72d975581 Debian/Ubuntu: Fix formatting in Contributing 2019-04-14 08:03:33 -05:00
Richard Laager 7874b4ce46 Debian/Ubuntu: Add a Contributing section 2019-04-14 08:02:12 -05:00
Richard Laager e4eba020b8 Debian/Ubuntu: Update encryption notes 2019-04-12 04:00:56 -05:00
Richard Laager c6742e0ef1 Debian: Add missing /mnt prefix in 4.3
Reported-by: Matthew Bowman <mgb@otr.mx>
2019-04-12 00:59:00 -05:00
Richard Laager e4c2f91df0 Debian/Ubuntu: Request users install popcon
Showing that ZFS is popular may be helpful in terms of long-term
attention from the distro.
2019-04-10 14:11:43 -05:00
Richard Laager 28ed40d37e Debian: Drop @gmelikov from Support
I've made massive changes to this HOWTO, and it's not really fair to
have people asking someone else for support on it, or blaming them.
2019-04-10 13:33:42 -05:00
Richard Laager 0a05b3fbc8 Debian: Install linux-headers-amd64 in the chroot
This seems more appropriate, and is necessary if the headers that match
the Live CD are not available in the archive.
2019-04-10 11:58:48 -05:00
Richard Laager a24b5bb0c6 Ubuntu/Debian: Do not mention "Ubuntu" encryption
This fixes a mention of "Ubuntu" that slipped into Debian, and also
avoids the need to diverge them needlessly.
2019-04-10 10:00:26 -05:00
Richard Laager d7e4941614 Debian: Use pinning for stretch-backports
This ensures that updates in stretch-backports will be installed.

I also made Debian.md and Debian-Stretch-Root-on-ZFS.md consistent with
their setup of sources.

I'm keeping the simpler setup in the Live CD environment, as that is
only temporary.
2019-04-10 09:55:37 -05:00
Richard Laager e0fa6a8aa1 Debian: Update to match Ubuntu
The Debian Stretch HOWTO now uses a separate bpool and supports LUKS.
I'm also using the newer ZFS packages from stretch-backports.

I removed mentions of rootdelay.  That used to exist, but I'm not sure
if it did in stretch.  Now with zfs-initramfs from stretch-backports,
it is definitely gone.

The remaining delta with Ubuntu is expected.

I personally tested both unencrypted and LUKS installs.
2019-04-10 09:03:56 -05:00
Richard Laager 2eb134e942 Debian: Use deb.debian.org
This is the way things are done these days.
2019-04-10 09:02:50 -05:00
Richard Laager 323c56a5ba Debian: Simplify the SSH command
By shortening PasswordAuthentication to Password, we get the same effect
for less typing.

Also, switch to systemctl, since that's what the Live CD uses.  This is
consistent with the installed system.
2019-04-10 09:01:12 -05:00
Richard Laager 6fd5b199ea Debian: Adjust the login text
The login prompt is suppressed, at least on the GNOME Live CD.
2019-04-10 09:00:41 -05:00
Richard Laager f432b99c67 Ubuntu/Debian: Make swap optional
On Ubuntu, merge in the swap deadlock warning.
2019-04-10 08:59:20 -05:00
Richard Laager 82ee65e5ae Ubuntu/Debian: Enable discard on swap
There is no need to be keeping old swap data around.  When Linux is done
with some data (or all data at swapon time), it can issue a discard,
which will cause ZFS to free those blocks.
2019-03-30 08:04:18 -05:00
Richard Laager ca3179c83e Ubuntu/Debian: Mark optional datasets as such 2019-03-18 22:48:52 -05:00
Richard Laager af15ec13bf Debian: Remove feature@userobj_accounting
This was added in 0.7, and Stretch ships 0.6.
2019-03-18 22:03:21 -05:00
Richard Laager e9c588ea02 Debian/Ubuntu: Cleanup mirror instructions more 2019-03-18 21:43:21 -05:00
Richard Laager b4d16265ed Debian/Ubuntu: Standardize on "BIOS" booting 2019-03-18 21:41:21 -05:00
Richard Laager 40c649258d Debian: Reduce delta from Ubuntu 2019-03-18 21:31:42 -05:00
Richard Laager aaa093a3a2 Debian: Remove stray text
The Debian HOWTO has nothing about encrypted home directories.
2019-03-18 21:31:42 -05:00
Richard Laager cffdb36aa1 Ubuntu/Debian: Update for 4Kn
I tested this on Ubuntu.
2019-03-18 21:31:42 -05:00
Richard Laager 7833828315 Debian/Ubuntu: Align BBP to 4 KiB boundary
This probably doesn't matter, but there's not really any harm either.

Reported-by: rsully on FreeNode
2019-03-18 21:31:42 -05:00
Richard Laager 08c95e57fe Debian/Ubuntu: Limit the pool features
Limit the pool features to only those supported by GRUB.
2019-03-18 21:31:37 -05:00
Richard Laager 6768bf710b Debian/Ubuntu: Make /var/spool a legacy mount
I ran into trouble on boot where /var/spool/rsyslog was being created
before this mounted.
2019-03-18 21:29:43 -05:00
Richard Laager 50b904f0fa Debian/Ubuntu: Expand and cleanup mirror hints 2019-03-18 21:29:43 -05:00
Richard Laager 0086559bb0 Debian/Ubuntu: Renumber partitions
The partitions are now numbered in order.  Debian uses -part4 for the
main partition, to match Ubuntu, even though it doesn't have LUKS
instructions right now (and probably never will).
2019-03-18 21:29:43 -05:00
Richard Laager 3f977bc073 Debian/Ubuntu: Split some mirror instructions 2019-03-18 21:29:43 -05:00
Richard Laager c325040e59 Debian/Ubuntu: Make /var/cache & /var/tmp optional 2019-03-18 21:29:43 -05:00
Richard Laager 20fadefaa8 Ubuntu/Debian: Add exit to the rescue steps 2019-03-18 21:29:43 -05:00
Richard Laager ab8405ba84 Ubuntu/Debian: Recommend tmpfs for /tmp 2019-03-18 21:29:43 -05:00
Richard Laager b3fccb69e5 Ubuntu/Debian: Add a dataset for /var/lib/AccountsService
Suggested-by: Didier Roche <didrocks@ubuntu.com>
2019-03-18 21:29:43 -05:00
Richard Laager 1fc890ed19 Ubuntu/Debian: Add a /var/lib dataset
This makes it cleaner to add datasets under /var/lib.
2019-03-18 21:29:41 -05:00