Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Trouble with backup harddisks
Date: Sat, 02 May 2020 09:24:03
Message-Id: 2154190.ElGaqSPkdT@lenovo.localdomain
In Reply to: Re: [gentoo-user] Trouble with backup harddisks by tuxic@posteo.de
1 On Saturday, 2 May 2020 09:39:12 BST tuxic@××××××.de wrote:
2 > On 05/02 09:49, Andrea Conti wrote:
3 > > > I think, I feel better if I repartitioning/reformat both drives,
4 > > > though.
5 > >
6 > > It's not necessary, but if it makes you feel better by all means do so.
7 > >
8 > > > *GPT/MBR
9 > > > From a discussion based on a "GPT or MBR for my system drive" in
10 > > > conjunction with UEFI it was said, that GPT is more modern and
11 > > > save.
12 > >
13 > > More modern I concur. For the rest it's mainly about features: >2TB
14 > > partitions and way more metadata, plus not having to bother with CHS
15 > > values which make no sense in today's drives. And being able to define >4
16 > > partitions without littering the disk with extended boot records, which
17 > > is probably the only thing I'd call "safer".
18 > >
19 > > My point was that none of this is relevant in an external drive which is
20 > > under 1TB and will only hold a single partition starting at sector 1 and
21 > > spanning the rest of the disk. A system drive, especially if booting from
22 > > UEFI is a different case for which GPT absolutely makes sense.
23 > Ok, the other way around: Does GPT hurt more than MBT on a external HD
24 > used for backup puporses (no boot), has 1T and 1 partion of that size?
25
26 Unless you're planning to boot from Windows XP or some antiquated old LiveCD,
27 a GPT partitioning scheme is better in *all* respects and it is more robust
28 than MBR because:
29
30 - The partitioning tables created by GPT are backed up at the end of the disk.
31 - GPT uses CRC make sure its data is intact, or will warn of corruption and
32 attempt to restore from the back up.
33
34
35 > > > My question was meant not so much as "MBR or GPT?"
36 > > > but more whether there are some variants of GPT (with
37 > > > protected MBR for example -- which was completly new to me),
38 > > > which I should use or avoid.
39 > >
40 > > There are really no "variants" of GPT. The protective MBR is only there to
41 > > make all space in the disk look allocated to MBR partitioning tools that
42 > > are not GPT-aware, and is automatically written for you by all GPT
43 > > partitioning tools.
44 > >
45 > > In addition to the opaque entry of type 0xee, this MBR can also contain
46 > > entries pointing to at least some of the actual partitions; this is
47 > > called a 'hybrid' MBR and allows MBR-only access to partitions that are
48 > > within the limits of MBR addressing (start and end sector <2TB). These
49 > > are only useful in very specific cases an I would consider them a hack
50 > > more than a solution; while gpt-fdisk has some support for creating
51 > > hybrid MBRs (don't know about fdisk), you won't get one unless you
52 > > specifically ask for it.
53 > Thanks of the information! :)
54 >
55 > > > But: Are rescue systems for USB-stick more UEFI/GPT aware nowadays
56 > > > or "traditionally" based on MBR/BIOS-boot?
57 > >
58 > > I think that anything that's not ancient will have tools and kernel
59 > > support for both MBR and GPT, and will boot fine in both BIOS and UEFI
60 > > modes.>
61 > > > One thing I found is really handy: An USB-stick with an rEfind
62 > > > installation. As long as your PC supports UEFI (or can switched to it)
63 > > > rEfind is able to boot "everything" without prior configuration.
64 > >
65 > > You can probably do the same with GRUB2, albeit in a way less
66 > > user-friendly fashion :) But why do you consider the ability to boot
67 > > anything but the rescue system itself important in a rescue system?
68 > Recently a BIOS update deleted all UEFI entries and the system no
69 > longer boots. With rEfind from a USBstick I was able to boot
70 > the sustem nonetheless and the reinstallation of grub solves
71 > the problem.
72 > Task accomplished! :)
73 >
74 > > > Some rescue-system which really shines and with which you have made good
75 > > > experiences?
76 > >
77 > > My usual go-to is SystemRescueCD (the old 5.x gentoo-based one).
78 > >
79 > > andrea
80 >
81 > Thanks for the info, Andrea!
82 >
83 > Cheers!
84 > Meino
85
86 Any up to date Linux LiveCD/USB should be able to boot your PC and
87 automatically recognise its GPT partitioning.

Attachments

File name MIME type
signature.asc application/pgp-signature