Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #77747
| Date | 2025-11-19 18:23 -0500 |
|---|---|
| Subject | Re: Taming The Data Destroyer |
| Newsgroups | comp.os.linux.misc |
| References | (7 earlier) <pqktulxh6u.ln2@Telcontar.valinor> <10fh9it$1dmda$1@dont-email.me> <61luulxffm.ln2@Telcontar.valinor> <10fihq5$1p41c$6@dont-email.me> <691cdb96@news.ausics.net> |
| From | c186282 <c186282@nnada.net> |
| Organization | wokiesux |
| Message-ID | <8OWdnVtgGpwazIP0nZ2dnZfqnPWdnZ2d@giganews.com> (permalink) |
On 11/18/25 15:48, Computer Nerd Kev wrote: > Lawrence D'Oliveiro <ldo@nz.invalid> wrote: >> On Tue, 18 Nov 2025 17:55:34 +0100, Carlos E.R. wrote: >>> fdisk -l /dev/disk/by-id/$DISKID > $DISKNAME-partition_table_fdisk.out >> >> This does display actual sector numbers (along with rounded total >> sizes), but I don't think this is a useful format for restoration. > > In the real world the replacement drive after one has died often > isn't exactly the same size as the last one so I want to read the > former partition layout manually then manually create something > like it on the new drive, but with sizes adjusted to suit. > >>> dd if=/dev/disk/by-id/$DISKID of=$DISKNAME-mbr count=1 >> >> This I wouldn't bother with. Why? Because restoring it will wipe out >> your bootloader. > > It should restore your bootloader, although if you've fiddled with > the partitions on the new drive then that bootloader might not > work anymore. Trick I learned the hard way ... when initially setting up disk partitions do NOT use the ENTIRE drive ... but leave maybe 100mb or so free space at the end. You won't miss that on a 4/8+ tb drive in the least but it will sometimes get you around the slight size differences between even supposedly identical drive models. Then you can use 'dd' to easily restore a full-sized partition backup. Some utilities (more of them for Win) make 'sparse' partition backups and CAN do your abovementioned math to re-size to fit.
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Taming The Data Destroyer Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-17 02:31 +0000
Re: Taming The Data Destroyer rbowman <bowman@montana.com> - 2025-11-17 04:18 +0000
Re: Taming The Data Destroyer Marc Haber <mh+usenetspam1118@zugschl.us> - 2025-11-17 10:42 +0100
Re: Taming The Data Destroyer Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-18 01:10 +0000
Re: Taming The Data Destroyer c186282 <c186282@nnada.net> - 2025-11-17 21:08 -0500
Re: Taming The Data Destroyer "Carlos E.R." <robin_listas@es.invalid> - 2025-11-17 12:51 +0100
Re: Taming The Data Destroyer jayjwa <jayjwa@atr2.ath.cx.invalid> - 2025-11-17 12:55 -0500
Re: Taming The Data Destroyer not@telling.you.invalid (Computer Nerd Kev) - 2025-11-18 07:06 +1000
Re: Taming The Data Destroyer c186282 <c186282@nnada.net> - 2025-11-17 19:00 -0500
Re: Taming The Data Destroyer Computer Nerd Kev <not@telling.you.invalid> - 2025-11-18 16:31 +1000
Re: Taming The Data Destroyer "Carlos E.R." <robin_listas@es.invalid> - 2025-11-18 07:46 +0100
Re: Taming The Data Destroyer c186282 <c186282@nnada.net> - 2025-11-18 02:12 -0500
Re: Taming The Data Destroyer rbowman <bowman@montana.com> - 2025-11-18 23:02 +0000
Re: Taming The Data Destroyer c186282 <c186282@nnada.net> - 2025-11-18 02:01 -0500
Re: Taming The Data Destroyer Ralf Fassel <ralfixx@gmx.de> - 2025-11-18 16:24 +0100
Re: Taming The Data Destroyer The Natural Philosopher <tnp@invalid.invalid> - 2025-11-18 15:30 +0000
Re: Taming The Data Destroyer Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-18 22:31 +0000
Re: Taming The Data Destroyer "Carlos E.R." <robin_listas@es.invalid> - 2025-11-18 17:49 +0100
Re: Taming The Data Destroyer c186282 <c186282@nnada.net> - 2025-11-19 18:32 -0500
Re: Taming The Data Destroyer "Carlos E.R." <robin_listas@es.invalid> - 2025-11-20 12:57 +0100
Re: Taming The Data Destroyer Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-20 22:53 +0000
Re: Taming The Data Destroyer c186282 <c186282@nnada.net> - 2025-11-20 22:04 -0500
Re: Taming The Data Destroyer c186282 <c186282@nnada.net> - 2025-11-20 22:17 -0500
Re: Taming The Data Destroyer Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-18 07:18 +0000
Re: Taming The Data Destroyer c186282 <c186282@nnada.net> - 2025-11-18 02:34 -0500
Re: Taming The Data Destroyer "Carlos E.R." <robin_listas@es.invalid> - 2025-11-18 08:46 +0100
Re: Taming The Data Destroyer Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-18 08:09 +0000
Re: Taming The Data Destroyer "Carlos E.R." <robin_listas@es.invalid> - 2025-11-18 17:55 +0100
Re: Taming The Data Destroyer Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-18 19:35 +0000
Re: Taming The Data Destroyer not@telling.you.invalid (Computer Nerd Kev) - 2025-11-19 06:48 +1000
Re: Taming The Data Destroyer The Natural Philosopher <tnp@invalid.invalid> - 2025-11-18 21:40 +0000
Re: Taming The Data Destroyer Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-18 22:27 +0000
Re: Taming The Data Destroyer Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-18 22:26 +0000
Re: Taming The Data Destroyer c186282 <c186282@nnada.net> - 2025-11-19 18:23 -0500
Re: Taming The Data Destroyer "Carlos E.R." <robin_listas@es.invalid> - 2025-11-19 02:41 +0100
Re: Taming The Data Destroyer c186282 <c186282@nnada.net> - 2025-11-18 03:17 -0500
Re: Taming The Data Destroyer The Natural Philosopher <tnp@invalid.invalid> - 2025-11-18 12:12 +0000
Re: Taming The Data Destroyer "Carlos E.R." <robin_listas@es.invalid> - 2025-11-18 17:53 +0100
Re: Taming The Data Destroyer Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-18 19:32 +0000
Re: Taming The Data Destroyer Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2025-11-18 14:46 +0200
Re: Taming The Data Destroyer candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-11-20 18:40 +0000
Re: Taming The Data Destroyer Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-11-18 00:58 +0000
Re: Taming The Data Destroyer c186282 <c186282@nnada.net> - 2025-11-17 21:04 -0500
Re: Taming The Data Destroyer rbowman <bowman@montana.com> - 2025-11-18 06:32 +0000
Re: Taming The Data Destroyer c186282 <c186282@nnada.net> - 2025-11-18 02:07 -0500
csiph-web