@@ -59,15 +59,15 @@ Enter the snapshot for the root= parameter like in this example:
59
59
60
60
::
61
61
62
- linux /ROOT /debian-1 @/boot/vmlinuz-3.2 .0-4 -amd64 root=ZFS=rpool/ROOT/debian-1 @some_snapshot ro boot=zfs $bootfs quiet
62
+ linux /BOOT /debian@/boot/vmlinuz-5.10 .0-9 -amd64 root=ZFS=rpool/ROOT/debian@some_snapshot ro
63
63
64
- This will clone the snapshot rpool/ROOT/debian-1 @some_snapshot into the
65
- filesystem rpool/ROOT/debian-1_some_snapshot and use that as root
64
+ This will clone the snapshot rpool/ROOT/debian@some_snapshot into the
65
+ filesystem rpool/ROOT/debian_some_snapshot and use that as root
66
66
filesystem. The original filesystem and snapshot is left alone in this
67
67
case.
68
68
69
69
**BEWARE ** that it will first destroy, blindingly, the
70
- rpool/ROOT/debian-1_some_snapshot filesystem before trying to clone the
70
+ rpool/ROOT/debian_some_snapshot filesystem before trying to clone the
71
71
snapshot into it again. So if you've booted from the same snapshot
72
72
previously and done some changes in that root filesystem, they will be
73
73
undone by the destruction of the filesystem.
@@ -83,7 +83,7 @@ Select snapshot dynamically
83
83
---------------------------
84
84
85
85
From version 0.6.4-1-3 it is now also possible to specify a NULL
86
- snapshot name (such as root=rpool/ROOT/debian-1 @) and if so, the initrd
86
+ snapshot name (such as root=rpool/ROOT/debian@) and if so, the initrd
87
87
script will discover all snapshots below that filesystem (sans the at),
88
88
and output a list of snapshot for the user to choose from.
89
89
@@ -108,18 +108,18 @@ Example:
108
108
109
109
::
110
110
111
- rpool/ROOT/debian-1 @some_snapshot
112
- rpool/ROOT/debian-1 /usr@some_snapshot
111
+ rpool/ROOT/debian@some_snapshot
112
+ rpool/ROOT/debian/usr@some_snapshot
113
113
114
114
These will create the following filesystems respectively (if not doing a
115
115
rollback):
116
116
117
117
::
118
118
119
- rpool/ROOT/debian-1_some_snapshot
120
- rpool/ROOT/debian-1 /usr_some_snapshot
119
+ rpool/ROOT/debian_some_snapshot
120
+ rpool/ROOT/debian/usr_some_snapshot
121
121
122
122
The initrd code will use the mountpoint option (if any) in the original
123
123
(without the snapshot part) dataset to find *where * it should mount the
124
124
dataset. Or it will use the name of the dataset below the root
125
- filesystem (rpool/ROOT/debian-1 in this example) for the mount point.
125
+ filesystem (rpool/ROOT/debian in this example) for the mount point.
0 commit comments