I'm trying to install an SD card with the jessie image for my Raspberry Pi 3 that will work in remote (without screen). The card is formated in FAT32 with gparted
(I use Xubuntu).
My problem is that usb-creator-gtk
returns an error "Unable to write image to disk" when I want to install the 2016-03-18-raspbian-jessie.img
.
If I try with unetbootin
it ends well and file seems to be copied properly but as you can see there are only 5 files included one ubninit
of 4Go. It seems that only one partition of the image file is writen to the disk but the other partition remains an archive. When I insert the card in my Pi 3 the led indicator is red (no blinking, no green).
vivaldi@vivaldi-SATELLITE-C670-11X:~/Téléchargements$ ll /mnt/sdb1
total 3939456
drwxr-xr-x 2 root root 4096 janv. 1 1970 ./
drwxr-xr-x 5 root root 4096 avril 18 14:53 ../
-r-xr-xr-x 1 root root 32768 avril 18 16:11 ldlinux.sys*
-rwxr-xr-x 1 root root 55012 avril 18 16:11 menu.c32*
-rwxr-xr-x 1 root root 145 avril 18 16:11 syslinux.cfg*
-rwxr-xr-x 1 root root 4033871872 avril 18 16:11 ubninit*
-rwxr-xr-x 1 root root 26140 avril 18 16:02 ubnkern*
Last, I try with :
dd if=2016-03-18-raspbian-jessie.img of=/dev/sdb1 bs=4M
dd bs=4M if=/dev/sdb1 of=from-sd-card.img
truncate --reference 2016-03-18-raspbian-jessie.img from-sd-card.img
diff -s from-sd-card.img 2016-03-18-raspbian-jessie.img
dd
returns no error and diff
report that the files are identical but my problem is that I'm unable to mount the card after this to check the data are copied properly :
vivaldi@vivaldi-SATELLITE-C670-11X:~/Téléchargements$ fdisk -l /dev/sdb1
Impossible d'ouvrir /dev/sdb1
I use fdisk -l
to find start block in order to mount with the -o offset=xxxx
option.
My second problem is that the LED indicator is red on when I insert the SD card in the Pi 3, which mean it cannot find the boot loader.
I have no idea what to do now, what could be the reason for all these failures ?
Thank you,
truncate
anddiff
, but still the LED indicator is red on andgparted
doesn't see any partition on SD card after all this. – Manicore Apr 18 '16 at 15:21