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.
parent
ed75c4843e
commit
5e43b4884f
|
@ -4,7 +4,7 @@
|
|||
* Backup your data. Any existing data will be lost.
|
||||
|
||||
### 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)
|
||||
* 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:
|
||||
|
||||
**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 git-buildpackage tar libattr1-dev libblkid-dev \
|
||||
libselinux1-dev libssl-dev python3-cffi python3-setuptools \
|
||||
# apt install --yes debootstrap gdisk dpkg-dev linux-headers-$(uname -r)
|
||||
# apt install --yes git-buildpackage build-essential libattr1-dev \
|
||||
libblkid-dev libselinux1-dev libssl-dev python3-cffi python3-setuptools \
|
||||
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
|
||||
# cd zfs
|
||||
# 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
|
||||
# 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
|
||||
|
||||
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.
|
||||
|
||||
### 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)
|
||||
* 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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue