Skip to content

Commit d0109f0

Browse files
committed
Edit the README.md
1 parent 9ea4af0 commit d0109f0

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

README.md

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ a running Raspberry Pi file system to a destination SD card 'sdN' plugged
44
into a Pi USB port (via a USB card reader).
55
I use it to maintain backups of several Pi SD cards I have and the destination
66
backup SD cards can be a different size (smaller or larger) than the booted
7-
SD card. rpi-clone works on Raspberry Pi disk which have a VFAT boot
7+
SD card. rpi-clone works on Raspberry Pi disks which have a VFAT boot
88
partition 1 and a Linux root partition 2. Tested on Raspbian but should
99
work on other distributions which have this same two partition structure.
1010

@@ -46,24 +46,17 @@ before unmounting the cloned to SD card. This is so you can go look at
4646
the clone results or make any custom final adjustments if needed. For example,
4747
I have a couple of Raspberry Pis and I use one as a master. When I clone for
4848
the benefit of the second Pi, I do a "cd /mnt/clone/etc" and fix the files
49-
needed to customize for the second Pi. This can be as simple as loading
50-
new hosts and network interfaces file. Just keep all the files on the master:
49+
needed to customize for the second Pi (well, actually I do that with a
50+
script that takes my desired Pi hostname as an argument). Either way, you
51+
typically might need to change at least these files:
5152

52-
/etc/hostname # hostname is trivial, so don't really need the
53-
/etc/hostname.rpi0 # multiple copies - but I'll just list it here.
54-
/etc/hostname.rpi1
55-
/etc/hosts
56-
/etc/hosts.rpi0
57-
/etc/hosts.rpi1
58-
/etc/network/interfaces
59-
/etc/network/interfaces.rpi0
60-
/etc/network/interfaces.rpi1
53+
/etc/hostname # I have one of rpi0, rpi0, ...
54+
/etc/hosts # The localhost line should probably be changed
55+
/etc/network/interfaces # If you need to set up a static IP or alias
6156

62-
In my case, rpi0 is my master so I really don't need the .rpi0 copies, but
63-
I keep them just in case. Then when cloning to update for rpi1, I just
64-
copy the .rpi1 files over before letting rpi-clone umount everything.
65-
But don't forget to cd out of the /mnt/clone tree before telling rpi-clone
66-
to unmount.
57+
If you cd into the /mnt/clone/tree to make some of these customizations
58+
or just to look around, don't forget to cd out of the /mnt/clone tree
59+
before telling rpi-clone to unmount.
6760

6861
rpi-clone is on github, to get it and install it to /usr/local/sbin:
6962
Go to https://github.com/billw2/rpi-clone and download the zip file:

0 commit comments

Comments
 (0)