Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Problem with dd when SD card is ext4 formated #194

Open
ghost opened this issue Nov 4, 2015 · 1 comment
Open

Problem with dd when SD card is ext4 formated #194

ghost opened this issue Nov 4, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 4, 2015

Created debian.img had size of 1MB.
I must change script create-debian-setup.sh on line 68,
from:
dd if=/dev/zero of=$install_path seek=$imagesize bs=1M count=1
to:
dd if=/dev/zero of=$install_path bs=1M count=$imagesize.

@ghost
Copy link

ghost commented May 11, 2016

try fallocate -l $imagesize "$install_path"

If you get it working, perhaps make it conditional for ext4 instead of dd
(lil'debi is a work-in-progress community effort, so it's good to leave the old way in the file for other hackers to see incase they need to debug stuff)

Then make a pull request?

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

No branches or pull requests

0 participants