[Gta04-owner] Errors in makesd script
Jens Seidel
jensseidel at users.sf.net
Mon Dec 5 01:38:16 CET 2011
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"
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"
Jens
More information about the Gta04-owner
mailing list