Failed to clone raspbian 16Gb SD card #67

Open
opened 2019-02-13 19:49:40 +01:00 by Geronimo2015 · 1 comment
Geronimo2015 commented 2019-02-13 19:49:40 +01:00 (Migrated from github.com)

Hello,

I tried to clone a SD card with Raspian on to to a fresh 128Gb SSD drive but it failed.
Any ideas?

pi@homeassistant:~/src/rpi-clone $ sudo rpi-clone sda -f

Booted disk: mmcblk0 15.9GB                Destination disk: sda 128.0GB
---------------------------------------------------------------------------
Part      Size    FS     Label           Part   Size    FS     Label
1         66.0MB  fat16  --              1      66.0MB  fat16  --
2         15.9GB  EXT    --              2      15.9GB  EXT    --


5         33.3MB  ext4   SETTINGS        5      33.3MB  ext4   SETTINGS
6 /boot   72.2MB  fat32  --              6      72.2MB  fat32  --
7 root    15.8GB  ext4   root            7      15.8GB  ext4   root
---------------------------------------------------------------------------
== Initialize: IMAGE mmcblk0 partition table to sda - forced by option ==
1                                    : IMAGE     to sda1
5                                    : IMAGE     to sda5
6 /boot               (23.0MB used)  : MKFS SYNC to sda6
7 root                (9.4GB used)   : RESIZE(127.9GB) MKFS SYNC to sda7
---------------------------------------------------------------------------
Run setup script       : no
Verbose mode           : no
-----------------------:
** WARNING **          : All destination disk sda data will be overwritten!
                       :   The partition structure will be imaged from mmcblk0.
-----------------------:

-------> /tmp/rpi-clone-output

Checking that no-one is using this disk right now ... OK

Disk /dev/sda: 119.2 GiB, 128035674112 bytes, 250069676 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xe1ff21ed

Old situation:

Device     Boot  Start      End  Sectors  Size Id Type
/dev/sda1         8192   137215   129024   63M  e W95 FAT16 (LBA)
/dev/sda2       137216 31116287 30979072 14.8G  5 Extended
/dev/sda5       139264   204797    65534   32M 83 Linux
/dev/sda6       204800   346111   141312   69M  c W95 FAT32 (LBA)
/dev/sda7       352256 31116287 30764032 14.7G 83 Linux

>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new DOS disklabel with disk identifier 0x194d70ba.
/dev/sda1: Created a new partition 1 of type 'W95 FAT16 (LBA)' and of size 63 MiB.
Partition #1 contains a vfat signature.
/dev/sda2: Created a new partition 2 of type 'Extended' and of size 119.2 GiB.
/dev/sda3: Created a new partition 5 of type 'Linux' and of size 32 MiB.
Partition #5 contains a ext4 signature.
/dev/sda6: Start sector 204800 out of range.
Failed to add #6 partition: Numerical result out of range
Leaving.


====rpi-clone
==orig:
label: dos
label-id: 0xe1ff21ed
device: /dev/mmcblk0
unit: sectors

/dev/mmcblk0p1 : start=        8192, size=      129024, type=e
/dev/mmcblk0p2 : start=      137216, size=    30979072, type=5
/dev/mmcblk0p5 : start=      139264, size=       65534, type=83
/dev/mmcblk0p6 : start=      204800, size=      141312, type=c
/dev/mmcblk0p7 : start=      352256, size=    30764032, type=83

==edited:
label: dos
label-id: 0xe1ff21ed
device: /dev/mmcblk0
unit: sectors

/dev/mmcblk0p1 : start=        8192, size=      129024, type=e
/dev/mmcblk0p2 : start=      137216,  type=5
/dev/mmcblk0p5 : start=      139264, size=       65534, type=83
/dev/mmcblk0p6 : start=      204800, size=      141312, type=c
/dev/mmcblk0p7 : start=      352256,  type=83
Hello, I tried to clone a SD card with Raspian on to to a fresh 128Gb SSD drive but it failed. Any ideas? ``` pi@homeassistant:~/src/rpi-clone $ sudo rpi-clone sda -f Booted disk: mmcblk0 15.9GB Destination disk: sda 128.0GB --------------------------------------------------------------------------- Part Size FS Label Part Size FS Label 1 66.0MB fat16 -- 1 66.0MB fat16 -- 2 15.9GB EXT -- 2 15.9GB EXT -- 5 33.3MB ext4 SETTINGS 5 33.3MB ext4 SETTINGS 6 /boot 72.2MB fat32 -- 6 72.2MB fat32 -- 7 root 15.8GB ext4 root 7 15.8GB ext4 root --------------------------------------------------------------------------- == Initialize: IMAGE mmcblk0 partition table to sda - forced by option == 1 : IMAGE to sda1 5 : IMAGE to sda5 6 /boot (23.0MB used) : MKFS SYNC to sda6 7 root (9.4GB used) : RESIZE(127.9GB) MKFS SYNC to sda7 --------------------------------------------------------------------------- Run setup script : no Verbose mode : no -----------------------: ** WARNING ** : All destination disk sda data will be overwritten! : The partition structure will be imaged from mmcblk0. -----------------------: -------> /tmp/rpi-clone-output Checking that no-one is using this disk right now ... OK Disk /dev/sda: 119.2 GiB, 128035674112 bytes, 250069676 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xe1ff21ed Old situation: Device Boot Start End Sectors Size Id Type /dev/sda1 8192 137215 129024 63M e W95 FAT16 (LBA) /dev/sda2 137216 31116287 30979072 14.8G 5 Extended /dev/sda5 139264 204797 65534 32M 83 Linux /dev/sda6 204800 346111 141312 69M c W95 FAT32 (LBA) /dev/sda7 352256 31116287 30764032 14.7G 83 Linux >>> Script header accepted. >>> Script header accepted. >>> Script header accepted. >>> Script header accepted. >>> Created a new DOS disklabel with disk identifier 0x194d70ba. /dev/sda1: Created a new partition 1 of type 'W95 FAT16 (LBA)' and of size 63 MiB. Partition #1 contains a vfat signature. /dev/sda2: Created a new partition 2 of type 'Extended' and of size 119.2 GiB. /dev/sda3: Created a new partition 5 of type 'Linux' and of size 32 MiB. Partition #5 contains a ext4 signature. /dev/sda6: Start sector 204800 out of range. Failed to add #6 partition: Numerical result out of range Leaving. ====rpi-clone ==orig: label: dos label-id: 0xe1ff21ed device: /dev/mmcblk0 unit: sectors /dev/mmcblk0p1 : start= 8192, size= 129024, type=e /dev/mmcblk0p2 : start= 137216, size= 30979072, type=5 /dev/mmcblk0p5 : start= 139264, size= 65534, type=83 /dev/mmcblk0p6 : start= 204800, size= 141312, type=c /dev/mmcblk0p7 : start= 352256, size= 30764032, type=83 ==edited: label: dos label-id: 0xe1ff21ed device: /dev/mmcblk0 unit: sectors /dev/mmcblk0p1 : start= 8192, size= 129024, type=e /dev/mmcblk0p2 : start= 137216, type=5 /dev/mmcblk0p5 : start= 139264, size= 65534, type=83 /dev/mmcblk0p6 : start= 204800, size= 141312, type=c /dev/mmcblk0p7 : start= 352256, type=83 ```
ArmandBENETEAU commented 2020-04-29 11:02:26 +02:00 (Migrated from github.com)

I have the same problem on my 64 GB SSD, is there any update about a solution?

I have the same problem on my 64 GB SSD, is there any update about a solution?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Lerking/rpi-clone#67
No description provided.