Hi Sven,

Reason is probably:

sudo does not pass the variables on (security reasons,
you could do funny things).
So makesd did not know about your DEV=/dev/sdg

makesd should simply have no default for DEV
and not do anything if not set.

Regards,
Andreas

On Thu, 1 Mar 2018 17:45:25 +0100
Sven Dyroff <s.dyr...@phytec.de> wrote:

> Hello Nikolaus,
> 
> correction:
> 
>    I had an external hard disc "/dev/sdc" and the rootfs had been written 
> to there instead to "/dev/sdg"!!!
> 
>    SD card is still empty and the data of the external hard disc is 
> lost!!!
> 
> Best regards
>    Sven
>  
>  
> 
> 
> Von:    Sven Dyroff <s.dyr...@phytec.de>
> An:     List for communicating with real GTA04 owners 
> <gta04-owner@goldelico.com>
> Datum:  01.03.2018 17:32
> Betreff:        [Gta04-owner] Antwort: Re:  QtMoko reloaded
> Gesendet von:   "Gta04-owner" <gta04-owner-boun...@goldelico.com>
> 
> 
> 
> Hello Nikolaus, 
> 
> > Hm. Do you have a non-whitespace white space? Happens sometimes when   
> copying UTF charactersto a terminal. 
> 
> Ok, after typing the command by hand I got the error that I have no rights 
> to do that. So modified the command once again: 
> 
>     DEV=/dev/sdg sudo ./makesd qtmoko -r 
> http://download.goldelico.com/letux-debian-rootfs/20180224-wheezy-7.11-armhf-qtmoko.tbz
>  
> 
> 
> Now it worked and created the SD card. 
> 
> But please note that in the end I got: 
> 
> -----------------------------------------%<---------------------------------- 
> 
> 
> rmdir: konnte '/media/P2' nicht entfernen: Datei oder Verzeichnis nicht 
> gefunden 
> rmdir: konnte '/media/P3' nicht entfernen: Datei oder Verzeichnis nicht 
> gefunden 
> rmdir: konnte '/media/P4' nicht entfernen: Datei oder Verzeichnis nicht 
> gefunden 
> fsck von util-linux 2.27.1 
> rootfs: 26693/7331840 Dateien (7.1% nicht zusammenhängend), 
> 650288/29305190 Blöcke 
> fsck von util-linux 2.27.1 
> fsck.ext2: Datei oder Verzeichnis nicht gefunden beim Versuch, /dev/sdc2 
> zu öffnen 
> Ist das Gerät möglicherweise nicht vorhanden? 
> fsck von util-linux 2.27.1 
> fsck.ext2: Datei oder Verzeichnis nicht gefunden beim Versuch, /dev/sdc3 
> zu öffnen 
> Ist das Gerät möglicherweise nicht vorhanden? 
> fsck von util-linux 2.27.1 
> fsck.ext2: Datei oder Verzeichnis nicht gefunden beim Versuch, /dev/sdc4 
> zu öffnen 
> Ist das Gerät möglicherweise nicht vorhanden? 
> 
> ----------------------------------------->%---------------------------------- 
>   
> 
> 
> Accessing "/dev/sdc<x>" is completely wrong and luckily I had no 
> "/dev/sdc" that could be erased! The same is true for "/media/P<x>"! 
> 
> Furthermore: Why "fsck.ext2"? My QtMoko v55 and v57 SD cards had already 
> been formatted with "fsck.ext4". So even "fsck.ext3" would have been 
> outdated. 
> 
> Best regards 
>    Sven 
>     
>     _______________________________________________
> Gta04-owner mailing list
> Gta04-owner@goldelico.com
> http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner
> 

Attachment: pgpOtAkB9h4id.pgp
Description: OpenPGP digital signature

_______________________________________________
Gta04-owner mailing list
Gta04-owner@goldelico.com
http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner

Reply via email to