Gentoo Archives: gentoo-user

From: Meino.Cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Preserving the initial partionin/formatting of an usbstick
Date: Tue, 29 Mar 2016 16:18:46
Message-Id: 20160329161832.GB4870@solfire
In Reply to: Re: [gentoo-user] Preserving the initial partionin/formatting of an usbstick by Ian Bloss
1 Hi Ia,
2
3 thanks for your reply ! :)
4
5 The usbstick I want to make an initial backup is 64GB of size.
6 That means, I will backup mostly zeroes.
7
8 Where are the partioning/format defining on the device?
9 If there are only stored the beginning of the device: How
10 much do I need to copy?
11
12 or:
13
14 If there are tools to extract all needed informations of the
15 partioning/formatting and to recreate exactly that kind of
16 partitioning/formatting later with that or other tools:
17 Which tools do I need and how to use them?
18
19 Thank you very much in advance for any help!
20 Best regards,
21 Meino
22
23
24
25 Ian Bloss <ianlinkcd@×××××.com> [16-03-29 18:12]:
26 > If you're gonna dd a drive you either go the same space or larger. To be
27 > sure you get everything you can just
28 >
29 > dd if=/dev/oldstick of=/dev/newstick
30 >
31 > Replacing old/newstick with the correct device.
32 >
33 > You can even keep a backup image with
34 >
35 > dd if=/dev/oldstick of=/home/user/whateveryounamedit.img
36 >
37 > Which you then can replicate to any drive
38 >
39 > dd if=/home/user/whateveryounamedit.img of=/dev/newdevice
40 >
41 > On Tue, Mar 29, 2016, 11:43 <Meino.Cramer@×××.de> wrote:
42 >
43 > > Hi,
44 > >
45 > > since companies know their usbstick internals best, they
46 > > format their drives in a way, that the performance is best.
47 > >
48 > > That's why I want to make a complete image "backup" of my
49 > > new usbstick first before using it in case of needing to
50 > > reset the whole thing.
51 > >
52 > > The stick is a 64GB vfat formatted device.
53 > >
54 > > How much of the usbstick do I need to dd/pv from
55 > > the stick to preserve *all* informations to do a
56 > > "true factory reset" later if needed?
57 > >
58 > > Thank you very much in advance for any help!
59 > > Best regards,
60 > > Meino
61 > >
62 > >
63 > >
64 > >
65 > >
66 > >

Replies

Subject Author
Re: [gentoo-user] Preserving the initial partionin/formatting of an usbstick Ian Bloss <ianlinkcd@×××××.com>
Re: [gentoo-user] Preserving the initial partionin/formatting of an usbstick Daniel Quinn <gentoo@×××××××××××.org>