Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Odd results #15

Open
jonshouse1 opened this issue Jul 4, 2015 · 0 comments
Open

Odd results #15

jonshouse1 opened this issue Jul 4, 2015 · 0 comments

Comments

@jonshouse1
Copy link

Source partition table looks valid, destination card and source card are both 8GB yet I cant make it work :-(

I have no idea how the card the Pi is running was created, but it is running without errors.

I tried two sd cards of different makes, both failed in the same way.

Any ideas ?
Thanks, Jon

Jul 4 00:05:37 raspberrypi kernel: [ 1688.623838] scsi3 : usb-storage 1-1.3:1.0
Jul 4 00:05:38 raspberrypi kernel: [ 1689.618674] scsi 3:0:0:0: Direct-Access FNK TECH USB CARD READER 1.00 PQ: 0 ANSI: 0 CCS
Jul 4 00:05:38 raspberrypi kernel: [ 1689.623629] sd 3:0:0:0: [sda] 15130624 512-byte logical blocks: (7.74 GB/7.21 GiB)
Jul 4 00:05:38 raspberrypi kernel: [ 1689.624116] sd 3:0:0:0: [sda] Write Protect is off
Jul 4 00:05:38 raspberrypi kernel: [ 1689.632141] sda: unknown partition table
Jul 4 00:05:38 raspberrypi kernel: [ 1689.634904] sd 3:0:0:0: [sda] Attached SCSI removable disk

root@raspberrypi:~# fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 7969 MB, 7969177600 bytes
4 heads, 16 sectors/track, 243200 cylinders, total 15564800 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
Disk identifier: 0x000e1a14

    Device Boot      Start         End      Blocks   Id  System

/dev/mmcblk0p1 8192 3009765 1500787 e W95 FAT16 (LBA)
/dev/mmcblk0p2 3014656 15349759 6167552 85 Linux extended
/dev/mmcblk0p3 15349760 15415295 32768 83 Linux
/dev/mmcblk0p5 3022848 3145727 61440 c W95 FAT32 (LBA)
/dev/mmcblk0p6 3153920 15349759 6097920 83 Linux
root@raspberrypi:~# fdisk /dev/mmcblk0

Command (m for help): v
Partition 5: sector 0 greater than maximum 16
Partition 6: sector 0 greater than maximum 16
Remaining 178967 unallocated 512-byte sectors

root@raspberrypi:~/rpi-clone-master# fdisk -l /dev/sda

Disk /dev/sda: 7746 MB, 7746879488 bytes
239 heads, 62 sectors/track, 1021 cylinders, total 15130624 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
Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table
root@raspberrypi:~/rpi-clone-master# rpi-clone sda
[Note] fsck.vfat was not found.
It is recommended to install dosfstools:
$ sudo apt-get update
$ sudo apt-get install dosfstools

The destination disk sda partition table does not
match the booted disk /dev/mmcblk0 partition table so a
destination disk initialize is required.
The existing destination disk 'sda' partitions are:
Error: /dev/sda: unrecognised disk label
*** All data on destination disk sda will be overwritten! ***

Do you want to initialize the destination disk /dev/sda? (yes/no): yes

Imaging the partition structure, copying 1552 megabytes...
1552+0 records in
1552+0 records out
1627389952 bytes (1.6 GB) copied, 375.041 s, 4.3 MB/s
Sizing partition 2 (root partition) to use all SD card space...
mke2fs 1.42.5 (29-Jul-2012)

/dev/sda is initialized and resized. Its partitions are:
Error: Can't have a partition outside the disk!
e2label: Attempt to read block from filesystem resulted in short read while trying to open /dev/mmcblk0p2
Couldn't find valid filesystem superblock.

Your booted /dev/mmcblk0p2 rootfs existing label:
You may enter a label for the destination rootfs /dev/sda2:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant