@@ -45,7 +45,7 @@ only Debian packages with apt-get.
45
45
46
46
#### On a Raspberry Pi:
47
47
```
48
- $ git clone https://github.com/billw2 /rpi-clone.git
48
+ $ git clone https://github.com/framps /rpi-clone.git
49
49
$ cd rpi-clone
50
50
$ sudo cp rpi-clone rpi-clone-setup /usr/local/sbin
51
51
```
@@ -66,7 +66,7 @@ add them to the rpi-clone-setup script.
66
66
To install on another OS, rpi-clone may be renamed to suit. For example,
67
67
on my Debian desktop I rename:
68
68
```
69
- $ git clone https://github.com/billw2/rpi-clone.git
69
+ $ git clone https://github.com/billw2/rpi-clone.git
70
70
$ cd rpi-clone
71
71
$ sudo cp rpi-clone /usr/local/sbin/sys-clone
72
72
$ sudo cp rpi-clone-setup /usr/local/sbin/sys-clone-setup
@@ -256,7 +256,7 @@ Booted disk: mmcblk0 16.0GB Destination disk: sdb 8.0GB
256
256
---------------------------------------------------------------------------
257
257
Part Size FS Label Part Size FS Label
258
258
1 /boot 58.4MB fat16 -- 1 8.0GB fat32 --
259
- 2 root 16.0GB ext4 SD-RPI-s1
259
+ 2 root 16.0GB ext4 SD-RPI-s1
260
260
---------------------------------------------------------------------------
261
261
== Initialize: IMAGE mmcblk0 partition table to sdb - FS types mismatch ==
262
262
1 /boot (22.5MB used) : IMAGE to sdb1 FSCK
@@ -271,7 +271,7 @@ Verbose mode : no
271
271
272
272
Initialize and clone to the destination disk sdb? (yes/no): yes
273
273
Optional destination rootfs /dev/sdb2 label (16 chars max): SD-RPI-8a
274
- ...
274
+ ...
275
275
```
276
276
277
277
#### 2) Subsequent clone to the same SD card in USB card reader as example 1
@@ -299,7 +299,7 @@ Run setup script : rpi-clone-setup rpi2
299
299
Verbose mode : no
300
300
-----------------------:
301
301
302
- Ok to proceed with the clone? (yes/no):
302
+ Ok to proceed with the clone? (yes/no):
303
303
```
304
304
305
305
#### 3) Cloning a Pi3 when fstab uses PARTUUID
@@ -407,7 +407,7 @@ and using rpi-clone for a clone back to the SD card slot will not work.
407
407
408
408
409
409
#### 6) Clone to smaller 4GB SD card
410
- I happen to have an old 4GB SD card and here's a try to clone to it:
410
+ I happen to have an old 4GB SD card and here's a try to clone to it:
411
411
```
412
412
root@rpi2: ~$ rpi-clone sda
413
413
@@ -513,8 +513,8 @@ Booted disk: sda 64.2GB Destination disk: sdb 31.5GB
513
513
---------------------------------------------------------------------------
514
514
Part Size FS Label Part Size FS Label
515
515
1 /boot 104.4MB fat32 -- 1 31.5GB fat32 --
516
- 2 root 16.8GB ext4 Samsung 64GB A
517
- 3 /home/pi/media 47.3GB ext4 --
516
+ 2 root 16.8GB ext4 Samsung 64GB A
517
+ 3 /home/pi/media 47.3GB ext4 --
518
518
---------------------------------------------------------------------------
519
519
== Initialize: IMAGE sda partition table to sdb - FS types mismatch ==
520
520
1 /boot (21.5MB used) : IMAGE to sdb1 FSCK
@@ -528,7 +528,7 @@ Verbose mode : no
528
528
: The partition structure will be imaged from sda.
529
529
-----------------------:
530
530
531
- Initialize and clone to the destination disk sdb? (yes/no):
531
+ Initialize and clone to the destination disk sdb? (yes/no):
532
532
```
533
533
Note that if I had partitioned the 64GB disk with more than three
534
534
partitions it would have been more difficult to clone down to the
@@ -550,8 +550,8 @@ Booted disk: sda 64.2GB Destination disk: mmcblk0 15.8GB
550
550
---------------------------------------------------------------------------
551
551
Part Size FS Label Part Size FS Label
552
552
1 /boot 104.4MB fat32 -- 1 15.8GB fat32 --
553
- 2 root 16.8GB ext4 Samsung 64GB A
554
- 3 /home/pi/media 47.3GB ext4 --
553
+ 2 root 16.8GB ext4 Samsung 64GB A
554
+ 3 /home/pi/media 47.3GB ext4 --
555
555
---------------------------------------------------------------------------
556
556
Initialize required : partition - types mismatch.
557
557
: The minimum destination disk size is 16.9GB
@@ -572,8 +572,8 @@ Booted disk: sda 64.2GB Destination disk: mmcblk0 15.8GB
572
572
---------------------------------------------------------------------------
573
573
Part Size FS Label Part Size FS Label
574
574
1 /boot 104.4MB fat32 -- 1 15.8GB fat32 --
575
- 2 root 16.8GB ext4 Samsung 64GB A
576
- 3 /home/pi/media 47.3GB ext4 --
575
+ 2 root 16.8GB ext4 Samsung 64GB A
576
+ 3 /home/pi/media 47.3GB ext4 --
577
577
---------------------------------------------------------------------------
578
578
== Initialize: IMAGE sda partition table to mmcblk0 - forced by option ==
579
579
1 /boot (21.5MB used) : IMAGE to mmcblk0p1 FSCK
@@ -587,7 +587,7 @@ Verbose mode : no
587
587
: The partition structure will be imaged from sda.
588
588
-----------------------:
589
589
590
- Initialize and clone to the destination disk mmcblk0? (yes/no):
590
+ Initialize and clone to the destination disk mmcblk0? (yes/no):
591
591
```
592
592
I'm using PARTUUID in /etc/fstab, but if I weren't, this clone would also
593
593
automatically edit mmcblk0p names into the destination disk fstab.
@@ -600,14 +600,14 @@ I get an error requiring another initialize. This time the
600
600
error is because rpi-clone wants to clone the mounted third partition and
601
601
there is no destination third partition:
602
602
```
603
- pi@rpi2: ~$ sudo rpi-clone mmcblk0
603
+ pi@rpi2: ~$ sudo rpi-clone mmcblk0
604
604
605
605
Booted disk: sda 64.2GB Destination disk: mmcblk0 15.8GB
606
606
---------------------------------------------------------------------------
607
607
Part Size FS Label Part Size FS Label
608
608
1 /boot 104.4MB fat32 -- 1 104.4MB fat32 --
609
609
2 root 16.8GB ext4 Samsung 64GB A 2 15.7GB ext4 SD-16c
610
- 3 /home/pi/media 47.3GB ext4 --
610
+ 3 /home/pi/media 47.3GB ext4 --
611
611
---------------------------------------------------------------------------
612
612
Initialize required : partition 3 /home/pi/media - destination missing.
613
613
: Unmount source partitions or use -m
@@ -626,7 +626,7 @@ Booted disk: sda 64.2GB Destination disk: mmcblk0 15.8GB
626
626
Part Size FS Label Part Size FS Label
627
627
1 /boot 104.4MB fat32 -- 1 104.4MB fat32 --
628
628
2 root 16.8GB ext4 Samsung 64GB A 2 15.7GB ext4 SD-16c
629
- 3 /home/pi/media 47.3GB ext4 --
629
+ 3 /home/pi/media 47.3GB ext4 --
630
630
---------------------------------------------------------------------------
631
631
== SYNC sda file systems to mmcblk0 ==
632
632
/boot (21.5MB used) : SYNC to mmcblk0p1 (104.4MB size)
@@ -636,7 +636,7 @@ Run setup script : no
636
636
Verbose mode : no
637
637
-----------------------:
638
638
639
- Ok to proceed with the clone? (yes/no):
639
+ Ok to proceed with the clone? (yes/no):
640
640
```
641
641
642
642
#### 11) Clones from my Debian desktop
@@ -654,11 +654,11 @@ Booted disk: sda 275.1GB Destination disk: sdb 320.1GB
654
654
---------------------------------------------------------------------------
655
655
Part Size FS Label Part Size FS Label
656
656
1 1.0GB ext4 SSD-275-G6-p1 1 320.1GB -- --
657
- 2 root 52.4GB ext4 SSD-275-G6-p2
658
- 3 12.6GB swap --
659
- 4 209.0GB EXT --
660
- 5 /home 62.9GB ext4 SSD-275-G6-p5
661
- 6 /mnt/sda 146.1GB ext4 SSD-275-G6-p6
657
+ 2 root 52.4GB ext4 SSD-275-G6-p2
658
+ 3 12.6GB swap --
659
+ 4 209.0GB EXT --
660
+ 5 /home 62.9GB ext4 SSD-275-G6-p5
661
+ 6 /mnt/sda 146.1GB ext4 SSD-275-G6-p6
662
662
---------------------------------------------------------------------------
663
663
== Initialize: IMAGE sda partition table to sdb - FS types mismatch ==
664
664
1 : IMAGE to sdb1
@@ -675,7 +675,7 @@ Verbose mode : no
675
675
: The partition structure will be imaged from sda.
676
676
-----------------------:
677
677
678
- Initialize and clone to the destination disk sdb? (yes/no):
678
+ Initialize and clone to the destination disk sdb? (yes/no):
679
679
```
680
680
And a subsequent sync to the same disk after I have manually labeled all
681
681
the partitions:
@@ -703,7 +703,7 @@ Run grub : grub-install --root-directory=/mnt/clone /dev/sdb
703
703
Verbose mode : no
704
704
-----------------------:
705
705
706
- Ok to proceed with the clone? (yes/no):
706
+ Ok to proceed with the clone? (yes/no):
707
707
```
708
708
709
709
0 commit comments