[Gta04-owner] Errors in makesd script

Dr. H. Nikolaus Schaller hns at goldelico.com
Mon Dec 5 14:37:40 CET 2011


Hi,

Am 05.12.2011 um 01:38 schrieb Jens Seidel:

> Hi,
> 
> I tried the makesd script from
> download.goldelico.com/gta04/20111116-GTA04A3-HW-Tester/
> and need the following changes:
> 
> - SIZE=`fdisk -l $DRIVE | grep Disk | awk '{print $5}'`
> + LANGUAGE=C LANG=C SIZE=`fdisk -l $DRIVE | grep Disk | awk '{print $5}'`
> 
> Let's change the language to English before searching for Disk in the
> fdisk output, OK? Otherwise:
> I get "#expr: Syntaxfehler"

Ok, would be nice :)

Maybe, we should export it right at the beginning of the script
for all commands.

> 
> Before creating the filesystem with mkfs.vfat (after partitioning with
> sfdisk) I miss a call of
> /sbin/partprobe $DRIVE
> 
> Otherwise the old partition layout is still used:
> "Successfully wrote the new partition table
> 
> Re-reading the partition table ...
> BLKRRPART: Device or resource busy
> The command to re-read the partition table failed.
> Run partprobe(8), kpartx(8) or reboot your system now,
> before using mkfs"

Hm. Which distro are you using? The one on
which this script was developed (eeePC with Xandros)
doesn't know (and need?) such a command.

Nikolaus



More information about the Gta04-owner mailing list