Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Scripts for Wheezy en Squeeze fail on ar (1 reply)

$
0
0
/tmp # ./kirkwood.debian-wheezy.sh


!!!!!! DANGER DANGER DANGER DANGER DANGER DANGER !!!!!!

This script will replace the bootloader on /dev/mtd0.

If you lose power while the bootloader is being flashed,
your device could be left in an unusable state.


This script will configure your Dockstar to boot Debian
from a USB device. Before running this script, you should have
used fdisk to create the following partitions:

/dev/sda1 (Linux ext2, at least 400MB)
/dev/sda2 (Linux swap, recommended 256MB)


This script will DESTROY ALL EXISTING DATA on /dev/sda1
Please double check that the device on /dev/sda1 is the correct device.

By typing ok, you agree to assume all liabilities and risks
associated with running this installer.

If everything looks good, type 'ok' to continue: ok
Installing Bootloader
# checking for /usr/sbin/nandwrite...
# checking for /usr/sbin/nanddump...
# checking for /usr/sbin/flash_erase...
# checking for /usr/sbin/fw_printenv...
# checking for /etc/fw_env.config...

# Validating existing uBoot...
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00080000...
Connecting to jeff.doozan.com (50.116.34.13:80)
Connecting to projects.doozan.com (50.116.34.13:80)
## Valid uBoot detected: [pinkpogo davygravy-2012-02-20-current]
## The newest uBoot is already installed on mtd0.

# uBoot installation has completed successfully.
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
427392 inodes, 1709056 blocks
85452 blocks (5%) reserved for the super user
First data block=0
Maximum filesystem blocks=4194304
53 block groups
32768 blocks per group, 32768 fragments per group
8064 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
./kirkwood.debian-wheezy.sh: line 313: /sbin/mkswap: not found
Connecting to cdn.debian.net (94.75.223.121:80)
./kirkwood.debian-wheezy.sh: line 349: ar: not found
tar: can't open 'data.tar.gz': No such file or directory
mv: can't rename './usr/sbin/debootstrap': No such file or directory
mv: can't rename './usr/share/debootstrap': No such file or directory
# checking for /usr/share/debootstrap/pkgdetails...

# Installing /usr/share/debootstrap/pkgdetails...
Connecting to download.doozan.com (50.116.34.13:80)
wget: can't open '/usr/share/debootstrap/pkgdetails.md5': No such file or directory
Connecting to download.doozan.com (50.116.34.13:80)
wget: can't open '/usr/share/debootstrap/pkgdetails.md5': No such file or directory
## Could not install /usr/share/debootstrap/pkgdetails from http://download.doozan.com/debian/pkgdetails, exiting.
/tmp # ar
-sh: ar: not found

Any idea what I am doing wrong? I am trying this out on a Pogoplug series 4 with the pink logo.

Viewing all articles
Browse latest Browse all 3247

Trending Articles