blob: 4cf1622e8754aa16fcd69025995c35be133c29d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#! /bin/sh
. ./settings00.sh
apt-get update
apt-get clean
echo SET ROOT PASSWORD
passwd root
echo Test whether grub detects ZFS ROOT
echo grub-probe /
grub-probe /
update-initramfs -u -k all
update-grub
grub-install /dev/disk/by-id/$DISK1
grub-install /dev/disk/by-id/$DISK2
grub-install /dev/disk/by-id/$DISK3
ls /boot/grub/*/zfs.mod
zfs snapshot $POOL/system/debian@install
echo "YOU MAY POPULATE FS WITH SOME ADDITIONAL DATA NOW, then exit"
|