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

dd'ing raspberrypi image to sdcard #98

Open
suedi opened this issue Jul 16, 2016 · 0 comments
Open

dd'ing raspberrypi image to sdcard #98

suedi opened this issue Jul 16, 2016 · 0 comments

Comments

@suedi
Copy link
Contributor

suedi commented Jul 16, 2016

I put a new empty sd card in my comp's reader.

vdev found it and it showed up in spacefm automatically.

I did
dd bs=4M if=devuan_jessie_1.0.0-beta_armhf_raspi2.img of=/dev/sde
to sd card then it seems vdev did not pick up the change in partition structure of sde

Spacefm still showed only one vfat partition that I could mount but no data there and no obvious errors either?

I did the boring test of dd'ing an image back from sdcard to hdd, trunctate it and diff'ed it with
the original image

dd bs=4M if=/dev/sde of=from-sd-card.img
truncate --reference devuan_jessie_1.0.0-beta_armhf_raspi2.img from-sd-card.img
diff -s from-sd-card.img devuan_jessie_1.0.0-beta_armhf_raspi2.img

They came out equal.

At this stage I just rebooted.

Now vdev seems to pick up the new structure and I get

sde1 type vfat 61M
sde2 type ext4 1G

Something goes wrong here. Not sure if it is vdev core or the vdev-udev-compat notifying of
spacefm that falters.

definitely a bug here though

Hope you are fine Jude

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