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

Replies

Subject Author
Re: [gentoo-user] Preserving the initial partionin/formatting of an usbstick Mick <michaelkintzios@×××××.com>