Skip to content

Commit 0ba451d

Browse files
cyphargmelikov
authored andcommitted
getting started: tell users to use partprobe
In almost all cases it is not necessary to reboot the machine in order to reload the partition table for disks, you can just use partprobe(8) which is part of parted and so is probably installed on all installation media. Signed-off-by: Aleksa Sarai <[email protected]>
1 parent 2e861ea commit 0ba451d

7 files changed

+41
-7
lines changed

docs/Getting Started/Debian/Debian Bookworm Root on ZFS.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,12 @@ Step 2: Disk Formatting
200200
sgdisk --zap-all $DISK
201201

202202
If you get a message about the kernel still using the old partition table,
203-
reboot and start over (except that you can skip this step).
203+
you can request the kernel reload the partition information using::
204+
205+
partprobe $DISK
206+
207+
If the new partitions still don't show up, you can reboot and start over
208+
(except that you can skip this step).
204209

205210
#. Partition your disk(s):
206211

docs/Getting Started/Debian/Debian Bullseye Root on ZFS.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,12 @@ Step 2: Disk Formatting
207207
sgdisk --zap-all $DISK
208208

209209
If you get a message about the kernel still using the old partition table,
210-
reboot and start over (except that you can skip this step).
210+
you can request the kernel reload the partition information using::
211+
212+
partprobe $DISK
213+
214+
If the new partitions still don't show up, you can reboot and start over
215+
(except that you can skip this step).
211216

212217
#. Partition your disk(s):
213218

docs/Getting Started/Debian/Debian Buster Root on ZFS.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,12 @@ Step 2: Disk Formatting
209209
sgdisk --zap-all $DISK
210210

211211
If you get a message about the kernel still using the old partition table,
212-
reboot and start over (except that you can skip this step).
212+
you can request the kernel reload the partition information using::
213+
214+
partprobe $DISK
215+
216+
If the new partitions still don't show up, you can reboot and start over
217+
(except that you can skip this step).
213218

214219
#. Partition your disk(s):
215220

docs/Getting Started/Ubuntu/Ubuntu 20.04 Root on ZFS.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,12 @@ Step 2: Disk Formatting
324324
sgdisk --zap-all $DISK
325325

326326
If you get a message about the kernel still using the old partition table,
327-
reboot and start over (except that you can skip this step).
327+
you can request the kernel reload the partition information using::
328+
329+
partprobe $DISK
330+
331+
If the new partitions still don't show up, you can reboot and start over
332+
(except that you can skip this step).
328333

329334
#. Create bootloader partition(s)::
330335

docs/Getting Started/Ubuntu/Ubuntu 22.04 Root on ZFS.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,12 @@ Step 2: Disk Formatting
213213
sgdisk --zap-all $DISK
214214

215215
If you get a message about the kernel still using the old partition table,
216-
reboot and start over (except that you can skip this step).
216+
you can request the kernel reload the partition information using::
217+
218+
partprobe $DISK
219+
220+
If the new partitions still don't show up, you can reboot and start over
221+
(except that you can skip this step).
217222

218223
#. Create bootloader partition(s)::
219224

docs/Getting Started/openSUSE/openSUSE Leap Root on ZFS.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,12 @@ Step 2: Disk Formatting
187187
sgdisk --zap-all $DISK
188188

189189
If you get a message about the kernel still using the old partition table,
190-
reboot and start over (except that you can skip this step).
190+
you can request the kernel reload the partition information using::
191+
192+
partprobe $DISK
193+
194+
If the new partitions still don't show up, you can reboot and start over
195+
(except that you can skip this step).
191196

192197
#. Partition your disk(s):
193198

docs/Getting Started/openSUSE/openSUSE Tumbleweed Root on ZFS.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,12 @@ Step 2: Disk Formatting
180180
sgdisk --zap-all $DISK
181181

182182
If you get a message about the kernel still using the old partition table,
183-
reboot and start over (except that you can skip this step).
183+
you can request the kernel reload the partition information using::
184184

185+
partprobe $DISK
186+
187+
If the new partitions still don't show up, you can reboot and start over
188+
(except that you can skip this step).
185189

186190
#. Partition your disk(s):
187191

0 commit comments

Comments
 (0)