• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Backup UEFI HDD

mjc

New Member
Joined
Aug 15, 2023
Messages
2 (0.01/day)
Hi,
Anyone know of a 'free' backup method for a UEFI HDD?

I am using Debian 12.11.0 distro to create a UEFI partitioned HDD.

I tried using Clonezilla 3.1.0 -- apparently no support for >= 4TB HDD, nor does there seem to be any support for UEFI HDDs in general...TBD.

I tried using simeple 'dd' command to backup a UEFI/HDD that I created with the Debian Distro. But the newly created HDD will not boot
(a security thing I think...TBD?).

Anyone, got a simple, easy backup method that works with large disks partitioned/created as a UEFI HDD?

This is on a HP Z620 workstation
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,940 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard MSI MPG Z790I Edge WiFi Gaming
Cooling be quiet! Pure Loop 240mm
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Philips Evnia 49M2C8900
Case LANCOOL 205M MESH Snow
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply ASUS ROG Loki SFX-L 1000W
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
this shouldnt be that difficult, have you tried specifying bit for bit?
 

mjc

New Member
Joined
Aug 15, 2023
Messages
2 (0.01/day)
dd is bit for bit; and yes, that is what I thought...re: it should be easy; but it is not.
As far as I am able to tell, there is no, normal, Linux/Unix type backup for the Z620 ws series using large disks and UEFI.

The UEFI security looks like they are using info unique to a specific workstation, together with info unique to a particular hdd (the install hdd)
to create a unique key that will only work with this pair. That would make it very secure, and also, very unusable IMHO.
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,940 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard MSI MPG Z790I Edge WiFi Gaming
Cooling be quiet! Pure Loop 240mm
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Philips Evnia 49M2C8900
Case LANCOOL 205M MESH Snow
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply ASUS ROG Loki SFX-L 1000W
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
dd is bit for bit; and yes, that is what I thought...re: it should be easy; but it is not.
As far as I am able to tell, there is no, normal, Linux/Unix type backup for the Z620 ws series using large disks and UEFI.

The UEFI security looks like they are using info unique to a specific workstation, together with info unique to a particular hdd (the install hdd)
to create a unique key that will only work with this pair. That would make it very secure, and also, very unusable IMHO.

Hm, im not sure, I have been able to clone UEFI disks without issue with both clonezilla and DD.
 
Joined
Jan 22, 2007
Messages
883 (0.14/day)
Location
Round Rock, TX
System Name Teh Beast
Processor Intel i9 14900K
Motherboard Asus STRIX Z790E-E
Cooling NZXT Kraken Elite 280
Memory 64GB G.Skill T5 6400Mhz
Video Card(s) Sapphire 7900XTX Pulse
Storage 1X 1TB SN850X - 1 X 4TB SN850X - 2 X 2TB 980 Pro
Display(s) LG 38" 38GL950G + LG 27" 27GP83B-B
Case Lian Li o11 Air Mini
Power Supply Corsair RM1000x
Software WIndows 11 Pro
to create a unique key that will only work with this pair. That would make it very secure, and also, very unusable IMHO.

When you say "UEFI Drive" are you referring to a SED drive encrypted in UEFI? If so, then yes, i believe it will only work in that pair, that is the point of a SED drive.

I believe you could "repurpose" a sed drive without the original key/pair but you'd wipe the data in the process.

Actually, now that i think about it, not sure.. if you used DD While the drive was unlocked, it should have copied, i would think.
 
Joined
Aug 14, 2013
Messages
2,373 (0.60/day)
System Name boomer--->zoomer not your typical millenial build
Processor i5-760 @ 3.8ghz + turbo ~goes wayyyyyyyyy fast cuz turboooooz~
Motherboard P55-GD80 ~best motherboard ever designed~
Cooling NH-D15 ~double stack thot twerk all day~
Memory 16GB Crucial Ballistix LP ~memory gone AWOL~
Video Card(s) MSI GTX 970 ~*~GOLDEN EDITION~*~ RAWRRRRRR
Storage 500GB Samsung 850 Evo (OS X, *nix), 128GB Samsung 840 Pro (W10 Pro), 1TB SpinPoint F3 ~best in class
Display(s) ASUS VW246H ~best 24" you've seen *FULL HD* *1O80PP* *SLAPS*~
Case FT02-W ~the W stands for white but it's brushed aluminum except for the disgusting ODD bays; *cries*
Audio Device(s) A LOT
Power Supply 850W EVGA SuperNova G2 ~hot fire like champagne~
Mouse CM Spawn ~cmcz R c00l seth mcfarlane darawss~
Keyboard CM QF Rapid - Browns ~fastrrr kees for fstr teens~
Software integrated into the chassis
Benchmark Scores 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
Clonezilla supports UEFI and >4TB afaik, based on my own use. UEFI does not prevent you from booting the disk in another system, and both did and clonezilla will clone the UEFI tables anyway, so they should be the same (and it sounds like you’re using the same system anyway?).

Are you cloning the whole disk, or just the system partition? Maybe you forgot the boot partition/grub?
 

aerosimit

New Member
Joined
Aug 14, 2023
Messages
18 (0.07/day)
There's nothing dd can't handle :) Do you also run sync after dd?
Is any of folders on / on a seperated drive?
 

silentbogo

Moderator
Staff member
Joined
Nov 20, 2013
Messages
5,477 (1.43/day)
Location
Kyiv, Ukraine
System Name WS#1337
Processor Ryzen 7 3800X
Motherboard ASUS X570-PLUS TUF Gaming
Cooling Xigmatek Scylla 240mm AIO
Memory 4x8GB Samsung DDR4 ECC UDIMM
Video Card(s) Inno3D RTX 3070 Ti iChill
Storage ADATA Legend 2TB + ADATA SX8200 Pro 1TB
Display(s) Samsung U24E590D (4K/UHD)
Case ghetto CM Cosmos RC-1000
Audio Device(s) ALC1220
Power Supply SeaSonic SSR-550FX (80+ GOLD)
Mouse Logitech G603
Keyboard Modecom Volcano Blade (Kailh choc LP)
VR HMD Google dreamview headset(aka fancy cardboard)
Software Windows 11, Ubuntu 20.04 LTS
Clonezilla should be fine (for 2+TB you have to manually create a GPT table on the target disk), but straightforward DD may have issues.
For example, if you have a Windows drive - it'll work just fine. But if you have a Linux drive(or multiboot) - you'll have issues with GUIDs (you'll have to fix it manually in GRUB and fstab).
Found that out the "hard way" a few years back, when a simple drive clone/swap for a customer ended up being a tedious lengthy session in Grub Recovery.
Clonezilla does GUIDs automagically.
 
D

Deleted member 232534

Guest
Hi,
Anyone know of a 'free' backup method for a UEFI HDD?

I am using Debian 12.11.0 distro to create a UEFI partitioned HDD.

I tried using Clonezilla 3.1.0 -- apparently no support for >= 4TB HDD, nor does there seem to be any support for UEFI HDDs in general...TBD.

I tried using simeple 'dd' command to backup a UEFI/HDD that I created with the Debian Distro. But the newly created HDD will not boot
(a security thing I think...TBD?).

Anyone, got a simple, easy backup method that works with large disks partitioned/created as a UEFI HDD?

This is on a HP Z620 workstation

what does it mean it does not boot?

have you added it to the bootloader?

if you are cloning a whole drive you also need to edit boot entries to be visible in UEFI BIOS using efibootmgr or corresponding windows utility bcdedit

Code:
mm@desktop:~$ lsblk

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0   2.7T  0 disk
├─sda1        8:1    0 929.3G  0 part
├─sda2        8:2    0 930.4G  0 part
└─sda3        8:3    0 934.8G  0 part
sdb           8:16   1     0B  0 disk
sdc           8:32   1  29.7G  0 disk
nvme0n1     259:0    0   1.8T  0 disk
├─nvme0n1p1 259:1    0   476M  0 part /boot/efi
├─nvme0n1p2 259:2    0  35.4G  0 part [SWAP]
├─nvme0n1p3 259:3    0 153.7G  0 part
├─nvme0n1p4 259:4    0   1.3T  0 part /mnt/g
├─nvme0n1p5 259:5    0 263.4G  0 part
└─nvme0n1p6 259:6    0 112.2G  0 part /

mm@desktop:~$ efibootmgr
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0003
Boot0000* arch  HD(1,GPT,9f8e729c-edcf-43cf-87b5-a9da21fb7e68,0x800,0xee000)/File(\EFI\arch\grubx64.efi)
Boot0001* slack HD(1,GPT,9f8e729c-edcf-43cf-87b5-a9da21fb7e68,0x800,0xee000)/File(\EFI\slackware-15.0+\grubx64.efi)
Boot0003* Windows Boot Manager  HD(1,GPT,9f8e729c-edcf-43cf-87b5-a9da21fb7e68,0x800,0xee000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d0000006f000100000010000000040000007fff0400
mm@desktop:~$
 
Joined
May 13, 2010
Messages
5,737 (1.12/day)
System Name RemixedBeast-NX
Processor Intel Xeon E5-2690 @ 2.9Ghz (8C/16T)
Motherboard Dell Inc. 08HPGT (CPU 1)
Cooling Dell Standard
Memory 24GB ECC
Video Card(s) Gigabyte Nvidia RTX2060 6GB
Storage 2TB Samsung 860 EVO SSD//2TB WD Black HDD
Display(s) Samsung SyncMaster P2350 23in @ 1920x1080 + Dell E2013H 20 in @1600x900
Case Dell Precision T3600 Chassis
Audio Device(s) Beyerdynamic DT770 Pro 80 // Fiio E7 Amp/DAC
Power Supply 630w Dell T3600 PSU
Mouse Logitech G700s/G502
Keyboard Logitech K740
Software Linux Mint 20
Benchmark Scores Network: APs: Cisco Meraki MR32, Ubiquiti Unifi AP-AC-LR and Lite Router/Sw:Meraki MX64 MS220-8P
Any way you can remove n stick in a dual drive dock n clone that way it's a bit perfect method that I've used for 4 laptops!
 
Joined
Aug 20, 2007
Messages
20,819 (3.41/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage 2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches + PBT DS keycaps
Software Gentoo Linux x64 / Windows 11
Joined
May 13, 2010
Messages
5,737 (1.12/day)
System Name RemixedBeast-NX
Processor Intel Xeon E5-2690 @ 2.9Ghz (8C/16T)
Motherboard Dell Inc. 08HPGT (CPU 1)
Cooling Dell Standard
Memory 24GB ECC
Video Card(s) Gigabyte Nvidia RTX2060 6GB
Storage 2TB Samsung 860 EVO SSD//2TB WD Black HDD
Display(s) Samsung SyncMaster P2350 23in @ 1920x1080 + Dell E2013H 20 in @1600x900
Case Dell Precision T3600 Chassis
Audio Device(s) Beyerdynamic DT770 Pro 80 // Fiio E7 Amp/DAC
Power Supply 630w Dell T3600 PSU
Mouse Logitech G700s/G502
Keyboard Logitech K740
Software Linux Mint 20
Benchmark Scores Network: APs: Cisco Meraki MR32, Ubiquiti Unifi AP-AC-LR and Lite Router/Sw:Meraki MX64 MS220-8P
I just use a dual caddy to clone mine...
 
Top