[Gta04-owner] Antwort: Antwort: Re: QtMoko reloaded
Andreas Kemnade
andreas at kemnade.info
Thu Mar 1 18:01:20 CET 2018
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.Dyroff at 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.Dyroff at phytec.de>
> An: List for communicating with real GTA04 owners
> <gta04-owner at goldelico.com>
> Datum: 01.03.2018 17:32
> Betreff: [Gta04-owner] Antwort: Re: QtMoko reloaded
> Gesendet von: "Gta04-owner" <gta04-owner-bounces at 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 at goldelico.com
> http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20180301/2c509463/attachment.asc>
More information about the Gta04-owner
mailing list