Debian: Use a newer Buster Live CD

For the encrypted HOWTO, this eliminates the binutils issue, which
simplifies the instructions by removing the related hacks.  It also
eliminates the tar issue.
Richard Laager 2019-04-12 03:50:17 -05:00
parent ed75c4843e
commit 5e43b4884f
2 changed files with 6 additions and 10 deletions

@ -4,7 +4,7 @@
* Backup your data. Any existing data will be lost. * Backup your data. Any existing data will be lost.
### System Requirements ### System Requirements
* [64-bit Debian GNU/Linux Buster Alpha1 Live CD](https://cdimage.debian.org/mirror/cdimage/buster_di_alpha1-live/amd64/iso-hybrid/) * [64-bit Debian GNU/Linux Buster Weekly Live CD](https://cdimage.debian.org/cdimage/weekly-live-builds/amd64/iso-hybrid/)
* [A 64-bit kernel is *strongly* encouraged.](https://github.com/zfsonlinux/zfs/wiki/FAQ#32-bit-vs-64-bit-systems) * [A 64-bit kernel is *strongly* encouraged.](https://github.com/zfsonlinux/zfs/wiki/FAQ#32-bit-vs-64-bit-systems)
* Installing on a drive which presents 4KiB logical sectors (a “4Kn” drive) only works with UEFI booting. This not unique to ZFS. [GRUB does not and will not work on 4Kn with legacy (BIOS) booting.](http://savannah.gnu.org/bugs/?46700) * Installing on a drive which presents 4KiB logical sectors (a “4Kn” drive) only works with UEFI booting. This not unique to ZFS. [GRUB does not and will not work on 4Kn with legacy (BIOS) booting.](http://savannah.gnu.org/bugs/?46700)
@ -48,14 +48,12 @@ If you have a second system, using SSH to access the target system can be conven
1.5 Install ZFS in the Live CD environment: 1.5 Install ZFS in the Live CD environment:
**Warning:** If you do not have at least 6 GiB of RAM, this will not work, as the Live CD overlay will run out of space, mainly due to all the package updates. **Warning:** If you do not have at least 3 GiB of RAM, this may not work, as the Live CD overlay can run out of space.
# apt install --yes gcc=4:7.1.0-2 debootstrap gdisk dpkg-dev linux-headers-$(uname -r) # apt install --yes debootstrap gdisk dpkg-dev linux-headers-$(uname -r)
# apt install --yes git-buildpackage tar libattr1-dev libblkid-dev \ # apt install --yes git-buildpackage build-essential libattr1-dev \
libselinux1-dev libssl-dev python3-cffi python3-setuptools \ libblkid-dev libselinux1-dev libssl-dev python3-cffi python3-setuptools \
python3-sphinx python3-all-dev uuid-dev zlib1g-dev python3-sphinx python3-all-dev uuid-dev zlib1g-dev
# apt install --yes --download-only build-essential
# dpkg --force-all --install /var/cache/apt/archives/build-essential_12.6_amd64.deb
# git clone https://salsa.debian.org/zfsonlinux-team/zfs.git # git clone https://salsa.debian.org/zfsonlinux-team/zfs.git
# cd zfs # cd zfs
# git checkout pristine-tar # git checkout pristine-tar
@ -74,8 +72,6 @@ If you have a second system, using SSH to access the target system can be conven
zfs-zed_0.8.0~rc3-1_amd64.deb zfs-zed_0.8.0~rc3-1_amd64.deb
# modprobe zfs # modprobe zfs
* Until the kernel is updated in the live CD, we need to stay on the old version of gcc and force the install of build-essential so we stay on the old version of binutils. Otherwise, the resulting kernel modules will fail to load.
## Step 2: Disk Formatting ## Step 2: Disk Formatting
2.1 If you are re-using a disk, clear it as necessary: 2.1 If you are re-using a disk, clear it as necessary:

@ -4,7 +4,7 @@
* Backup your data. Any existing data will be lost. * Backup your data. Any existing data will be lost.
### System Requirements ### System Requirements
* [64-bit Debian GNU/Linux Buster Alpha1 Live CD](https://cdimage.debian.org/mirror/cdimage/buster_di_alpha1-live/amd64/iso-hybrid/) * [64-bit Debian GNU/Linux Buster Weekly Live CD](https://cdimage.debian.org/cdimage/weekly-live-builds/amd64/iso-hybrid/)
* [A 64-bit kernel is *strongly* encouraged.](https://github.com/zfsonlinux/zfs/wiki/FAQ#32-bit-vs-64-bit-systems) * [A 64-bit kernel is *strongly* encouraged.](https://github.com/zfsonlinux/zfs/wiki/FAQ#32-bit-vs-64-bit-systems)
* Installing on a drive which presents 4KiB logical sectors (a “4Kn” drive) only works with UEFI booting. This not unique to ZFS. [GRUB does not and will not work on 4Kn with legacy (BIOS) booting.](http://savannah.gnu.org/bugs/?46700) * Installing on a drive which presents 4KiB logical sectors (a “4Kn” drive) only works with UEFI booting. This not unique to ZFS. [GRUB does not and will not work on 4Kn with legacy (BIOS) booting.](http://savannah.gnu.org/bugs/?46700)